Skip to content

Commit 1a63ce1

Browse files
Release 0.2.1 (#882)
* Bump hypothesis from 6.131.21 to 6.131.28 in the dependencies group (#857) Bumps the dependencies group with 1 update: [hypothesis](https://github.com/HypothesisWorks/hypothesis). Updates `hypothesis` from 6.131.21 to 6.131.28 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.131.21...hypothesis-python-6.131.28) --- updated-dependencies: - dependency-name: hypothesis dependency-version: 6.131.28 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 4 updates (#859) * Bump the dependencies group with 4 updates Bumps the dependencies group with 4 updates: [ansys-mechanical-core](https://github.com/ansys/pymechanical), [mypy](https://github.com/python/mypy), [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [hypothesis](https://github.com/HypothesisWorks/hypothesis). Updates `ansys-mechanical-core` from 0.11.16 to 0.11.18 - [Release notes](https://github.com/ansys/pymechanical/releases) - [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md) - [Commits](ansys/pymechanical@v0.11.16...v0.11.18) Updates `mypy` from 1.15.0 to 1.16.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.15.0...v1.16.0) Updates `ansys-sphinx-theme` from 1.4.4 to 1.5.0 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v1.4.4...v1.5.0) Updates `hypothesis` from 6.131.28 to 6.132.0 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.131.28...hypothesis-python-6.132.0) --- updated-dependencies: - dependency-name: ansys-mechanical-core dependency-version: 0.11.18 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: mypy dependency-version: 1.16.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: ansys-sphinx-theme dependency-version: 1.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: hypothesis dependency-version: 6.132.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * Ignore override error in analysis ply test method --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dominik Gresch <[email protected]> * Add a `connect_local` launch mode (#860) - Adds a new launch mode `connect_local`, which connects to an existing ACP server, but without using the file transfer service. - Fixes `ACPInstance.models`: The `Model._from_object_info` was incorrectly called with a bare gRPC channel, instead of a `ServerWrapper` instance. This bug wasn't caught because it only affects the case when connecting to an existing server which already has models loaded. Otherwise, the instance caching mechanism means that all models are instantiated when initially loaded via `import_model`, which works correctly. * Bump the version to 0.3.0.dev0 (#856) Bump the development version to `0.3.0.dev0`, since the `main` branch now works towards the next minor release. * Bump ansys/actions from 9 to 10 (#861) Bumps [ansys/actions](https://github.com/ansys/actions) from 9 to 10. - [Release notes](https://github.com/ansys/actions/releases) - [Changelog](https://github.com/ansys/actions/blob/main/CHANGELOG.md) - [Commits](ansys/actions@v9...v10) --- updated-dependencies: - dependency-name: ansys/actions dependency-version: '10' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pyvista/setup-headless-display-action from 4.1 to 4.2 (#862) Bumps [pyvista/setup-headless-display-action](https://github.com/pyvista/setup-headless-display-action) from 4.1 to 4.2. - [Release notes](https://github.com/pyvista/setup-headless-display-action/releases) - [Commits](pyvista/setup-headless-display-action@f744438...7d84ae8) --- updated-dependencies: - dependency-name: pyvista/setup-headless-display-action dependency-version: '4.2' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 3 updates (#863) Bumps the dependencies group with 3 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme), [pytest](https://github.com/pytest-dev/pytest) and [hypothesis](https://github.com/HypothesisWorks/hypothesis). Updates `ansys-sphinx-theme` from 1.5.0 to 1.5.2 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v1.5.0...v1.5.2) Updates `pytest` from 8.3.5 to 8.4.0 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.3.5...8.4.0) Updates `hypothesis` from 6.132.0 to 6.135.3 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.132.0...hypothesis-python-6.135.3) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-version: 1.5.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: pytest dependency-version: 8.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: hypothesis dependency-version: 6.135.3 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 5 updates (#864) Bumps the dependencies group with 5 updates: | Package | From | To | | --- | --- | --- | | [typing-extensions](https://github.com/python/typing_extensions) | `4.13.2` | `4.14.0` | | [ansys-tools-path](https://github.com/ansys/ansys-tools-path) | `0.7.1` | `0.7.2` | | [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `6.1.1` | `6.2.1` | | [pytest-cases](https://github.com/smarie/python-pytest-cases) | `3.8.6` | `3.9.1` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.135.3` | `6.135.10` | Updates `typing-extensions` from 4.13.2 to 4.14.0 - [Release notes](https://github.com/python/typing_extensions/releases) - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md) - [Commits](python/typing_extensions@4.13.2...4.14.0) Updates `ansys-tools-path` from 0.7.1 to 0.7.2 - [Release notes](https://github.com/ansys/ansys-tools-path/releases) - [Changelog](https://github.com/ansys/ansys-tools-path/blob/v0.7.2/CHANGELOG.md) - [Commits](ansys/ansys-tools-path@v0.7.1...v0.7.2) Updates `pytest-cov` from 6.1.1 to 6.2.1 - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest-cov@v6.1.1...v6.2.1) Updates `pytest-cases` from 3.8.6 to 3.9.1 - [Release notes](https://github.com/smarie/python-pytest-cases/releases) - [Changelog](https://github.com/smarie/python-pytest-cases/blob/main/docs/changelog.md) - [Commits](smarie/python-pytest-cases@3.8.6...3.9.1) Updates `hypothesis` from 6.135.3 to 6.135.10 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.135.3...hypothesis-python-6.135.10) --- updated-dependencies: - dependency-name: typing-extensions dependency-version: 4.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: ansys-tools-path dependency-version: 0.7.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: pytest-cov dependency-version: 6.2.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: pytest-cases dependency-version: 3.9.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: hypothesis dependency-version: 6.135.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 5 updates (#866) --- updated-dependencies: - dependency-name: ansys-tools-path dependency-version: 0.7.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: ansys-mechanical-core dependency-version: 0.11.19 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: mypy dependency-version: 1.16.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: pytest dependency-version: 8.4.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: hypothesis dependency-version: 6.135.14 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update poetry lockfile (#868) * Update poetry lockfile * Exclude numpydoc 1.9.0 * Explicitly listen only on localhost / 127.0.0.1 when launching the server (#880) - In `direct` launch mode, listen only on `localhost` - In `docker_compose` launch mode, limit connections to coming from `127.0.0.1` by limiting the source IP in the `ports` mapping * Allow stackup thickness and area weight to be None (#873) When the fabrics in a stackup do have a material, or the stackup has no fabrics, the 'thickness' and 'area_weight' properties cannot be computed. This change allows these properties to be 'None' in these cases. This case is only supported in the 26.1 server version or later. Earlier versions would raise an error when getting the properties under these conditions. * Bump version to 0.2.1 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents 1f613f3 + be71068 commit 1a63ce1

File tree

19 files changed

+1646
-1425
lines changed

19 files changed

+1646
-1425
lines changed

.github/workflows/ci_cd.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
name: "Documentation style"
8383
runs-on: ubuntu-latest
8484
steps:
85-
- uses: ansys/actions/doc-style@v9
85+
- uses: ansys/actions/doc-style@v10
8686
with:
8787
token: ${{ secrets.GITHUB_TOKEN }}
8888

@@ -100,7 +100,7 @@ jobs:
100100
os: macos-latest
101101
steps:
102102
- name: "Build wheelhouse and perform smoke test"
103-
uses: ansys/actions/build-wheelhouse@v9
103+
uses: ansys/actions/build-wheelhouse@v10
104104
with:
105105
library-name: ${{ env.PACKAGE_NAME }}
106106
operating-system: ${{ matrix.os }}
@@ -110,7 +110,7 @@ jobs:
110110
name: "Check library vulnerabilities"
111111
runs-on: ubuntu-latest
112112
steps:
113-
- uses: ansys/actions/check-vulnerabilities@v9
113+
- uses: ansys/actions/check-vulnerabilities@v10
114114
with:
115115
python-version: ${{ env.MAIN_PYTHON_VERSION }}
116116
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -391,7 +391,7 @@ jobs:
391391
sudo apt-get install pandoc
392392
393393
- name: Set up headless display
394-
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
394+
uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
395395

396396
- name: Configure Local Product Launcher for ACP
397397
working-directory: tests/unittests
@@ -455,7 +455,7 @@ jobs:
455455
sudo apt-get install pandoc
456456
457457
- name: Set up headless display
458-
uses: pyvista/setup-headless-display-action@f744438e29e50189f40f1749859bac7d0f69b5fa # v4.1
458+
uses: pyvista/setup-headless-display-action@7d84ae825e6d9297a8e99bdbbae20d1b919a0b19 # v4.2
459459

460460
- name: Install library, with dev group
461461
run: |
@@ -558,7 +558,7 @@ jobs:
558558
timeout-minutes: 30
559559
steps:
560560
- name: Build library source and wheel artifacts
561-
uses: ansys/actions/build-library@v9
561+
uses: ansys/actions/build-library@v10
562562
with:
563563
library-name: ${{ env.PACKAGE_NAME }}
564564
python-version: ${{ env.MAIN_PYTHON_VERSION }}
@@ -570,14 +570,14 @@ jobs:
570570
runs-on: ubuntu-latest
571571
steps:
572572
- name: Release to the public PyPI repository
573-
uses: ansys/actions/release-pypi-public@v9
573+
uses: ansys/actions/release-pypi-public@v10
574574
with:
575575
library-name: ${{ env.PACKAGE_NAME }}
576576
twine-username: "__token__"
577577
twine-token: ${{ secrets.PYPI_TOKEN }}
578578

579579
- name: Release to GitHub
580-
uses: ansys/actions/release-github@v9
580+
uses: ansys/actions/release-github@v10
581581
with:
582582
library-name: ${{ env.PACKAGE_NAME }}
583583
token: ${{ secrets.GITHUB_TOKEN }}
@@ -589,7 +589,7 @@ jobs:
589589
needs: [build]
590590
steps:
591591
- name: Deploy the latest documentation
592-
uses: ansys/actions/doc-deploy-dev@v9
592+
uses: ansys/actions/doc-deploy-dev@v10
593593
with:
594594
cname: ${{ env.DOCUMENTATION_CNAME }}
595595
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
@@ -603,7 +603,7 @@ jobs:
603603
needs: [release]
604604
steps:
605605
- name: Deploy the stable documentation
606-
uses: ansys/actions/doc-deploy-stable@v9
606+
uses: ansys/actions/doc-deploy-stable@v10
607607
with:
608608
cname: ${{ env.DOCUMENTATION_CNAME }}
609609
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}

.github/workflows/package_cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: "Delete untagged package versions"
17-
uses: ansys/actions/hk-package-clean-untagged@v9
17+
uses: ansys/actions/hk-package-clean-untagged@v10
1818
with:
1919
package-org: 'ansys'
2020
package-name: 'acp'

doc/source/api/server.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Server management
88

99
ACPInstance
1010
ConnectLaunchConfig
11+
ConnectLocalLaunchConfig
1112
DirectLaunchConfig
1213
DockerComposeLaunchConfig
1314
launch_acp

doc/source/user_guide/howto/launch_configuration.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ This parameter expects a configuration object matching the selected ``launch_mod
8888
- :class:`.DirectLaunchConfig` for the ``direct`` launch mode.
8989
- :class:`.DockerComposeLaunchConfig` for the ``docker_compose`` launch mode.
9090
- :class:`.ConnectLaunchConfig` for the ``connect`` launch mode.
91+
- :class:`.ConnectLocalLaunchConfig` for the ``connect_local`` launch mode.
9192

9293
.. testcode::
9394

docker-compose/docker-compose-benchmark.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
environment:
1515
- ANSYSLMD_LICENSE_FILE=${ANSYSLMD_LICENSE_FILE}
1616
ports:
17-
- "${PORT_ACP:-50555}:50051"
17+
- "127.0.0.1:${PORT_ACP:-50555}:50051"
1818
working_dir: /home/container/workdir
1919
volumes:
2020
- "acp_data:/home/container/workdir/"
@@ -25,7 +25,7 @@ services:
2525
restart: unless-stopped
2626
image: ${IMAGE_NAME_FILETRANSFER:-ghcr.io/ansys/tools-filetransfer:latest}
2727
ports:
28-
- "${PORT_FILETRANSFER:-50556}:50000"
28+
- "127.0.0.1:${PORT_FILETRANSFER:-50556}:50000"
2929
working_dir: /home/container/workdir
3030
volumes:
3131
- "acp_data:/home/container/workdir/"

docker-compose/docker-compose-extras.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ services:
88
command: ${MAPDL_CMD:--smp -np 1}
99
shm_size: '4gb'
1010
ports:
11-
- "${PYMAPDL_PORT:-50557}:50052"
11+
- "127.0.0.1:${PYMAPDL_PORT:-50557}:50052"
1212
environment:
1313
- ANSYSLMD_LICENSE_FILE=${ANSYSLMD_LICENSE_FILE}
1414
- ANSYS_LOCK="OFF"
1515
pydpf-composites-server:
1616
restart: unless-stopped
1717
image: ${IMAGE_NAME_DPF_COMPOSITES:-ghcr.io/ansys/pydpf-composites:latest}
1818
ports:
19-
- "${PYDPF_COMPOSITES_DOCKER_CONTAINER_PORT:-50558}:50052"
19+
- "127.0.0.1:${PYDPF_COMPOSITES_DOCKER_CONTAINER_PORT:-50558}:50052"
2020
environment:
2121
- ANSYSLMD_LICENSE_FILE=${ANSYSLMD_LICENSE_FILE}
2222
- ANSYS_DPF_ACCEPT_LA=${ANSYS_DPF_ACCEPT_LA}

0 commit comments

Comments
 (0)