Skip to content

Add python 3.13 support #740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 45 commits into
base: main
Choose a base branch
from
Draft

Add python 3.13 support #740

wants to merge 45 commits into from

Conversation

greschd
Copy link
Member

@greschd greschd commented Dec 10, 2024

No description provided.

pyproject.toml Outdated
Comment on lines 49 to 55
# TODO: Once ansys-mapdl-core and ansys-mechanical-core support Python 3.13,
# remove the 'python' limit below and update the main Python version in CI.
pyvista = { version = ">=0.42.0", optional = true, extras = ["jupyter", "trame"] }
ansys-mapdl-core = { version = ">=0.68.3", optional = true }
ansys-mapdl-core = { version = ">=0.68.3", optional = true, python=">=3.10,<3.13" }
ansys-dpf-composites = { version = ">=0.6", optional = true }
ansys-dpf-core = { version = ">=0.13", optional = true}
ansys-mechanical-core = { version = ">=0.10.0", optional = true }
ansys-mechanical-core = { version = ">=0.10.0", optional = true, python=">=3.10,<3.13" }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To revert before merging, to avoid accidentally leaving them out (these are user-facing dependencies via the examples and all extras).

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 9 lines in your changes missing coverage. Please review.

Project coverage is 94.91%. Comparing base (6701901) to head (77b08d1).
Report is 41 commits behind head on main.

Files with missing lines Patch % Lines
src/ansys/acp/core/extras/example_helpers.py 37.50% 5 Missing ⚠️
src/ansys/acp/core/_server/acp_instance.py 88.88% 2 Missing ⚠️
...ys/acp/core/_tree_objects/_grpc_helpers/mapping.py 90.90% 1 Missing ⚠️
src/ansys/acp/core/_tree_objects/cad_geometry.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #740      +/-   ##
==========================================
- Coverage   94.97%   94.91%   -0.07%     
==========================================
  Files         109      109              
  Lines        5696     5737      +41     
  Branches      322      328       +6     
==========================================
+ Hits         5410     5445      +35     
- Misses        285      291       +6     
  Partials        1        1              
Flag Coverage Δ
direct-launch 91.42% <72.22%> (-0.15%) ⬇️
minimum-deps 93.07% <74.07%> (-0.11%) ⬇️
python-3.10 94.12% <77.77%> (-0.12%) ⬇️
python-3.11 94.05% <77.77%> (-0.12%) ⬇️
python-3.12 94.05% <77.77%> (-0.31%) ⬇️
python-3.13 94.26% <79.62%> (?)
server-2024R2 90.62% <68.51%> (-0.18%) ⬇️
server-2025R1 94.00% <72.22%> (-0.17%) ⬇️
server-2025R2 94.05% <77.77%> (-0.12%) ⬇️
server-latest 94.70% <81.48%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@greschd greschd force-pushed the maint/add_python_313_support branch from e25ca9a to b0f4659 Compare January 7, 2025 14:31
greschd and others added 27 commits January 8, 2025 16:41
Add a check that the file exists when calling the (no-op)
`upload_file` method on the local file transfer strategy.

This ensures a nice error is produced when trying to import an
inexistent ACPH5 file, instead of failing on H5Open.

Resolves #748.
Add the PyACP logo, using it in the main README and the documentation main page.
Gets rid of the MESA errors [1] which appeared since `ubuntu-latest` switched to 24.04.

[1] errors like the following. They seemed to ultimately not cause any build failure, but pollute the output.
```
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen
```
* Bump the dependencies group across 1 directory with 6 updates

Bumps the dependencies group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [numpy](https://github.com/numpy/numpy) | `2.2.1` | `2.2.2` |
| [ansys-mechanical-core](https://github.com/ansys/pymechanical) | `0.11.10` | `0.11.12` |
| [scipy](https://github.com/scipy/scipy) | `1.15.0` | `1.15.1` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `1.2.4` | `1.2.6` |
| [pypandoc](https://github.com/JessicaTegner/pypandoc) | `1.14` | `1.15` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.123.7` | `6.124.1` |



Updates `numpy` from 2.2.1 to 2.2.2
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.2.1...v2.2.2)

Updates `ansys-mechanical-core` from 0.11.10 to 0.11.12
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.11.10...v0.11.12)

Updates `scipy` from 1.15.0 to 1.15.1
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.15.0...v1.15.1)

Updates `ansys-sphinx-theme` from 1.2.4 to 1.2.6
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.2.4...v1.2.6)

Updates `pypandoc` from 1.14 to 1.15
- [Release notes](https://github.com/JessicaTegner/pypandoc/releases)
- [Changelog](https://github.com/JessicaTegner/pypandoc/blob/master/release.md)
- [Commits](JessicaTegner/pypandoc@v1.14...v1.15)

Updates `hypothesis` from 6.123.7 to 6.124.1
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.123.7...hypothesis-python-6.124.1)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-mechanical-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pypandoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Remove now-unused type ignore statements

---------

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]>
Bumps the dependencies group with 4 updates in the / directory: [ansys-mapdl-core](https://github.com/ansys/pymapdl), [ansys-dpf-core](https://github.com/ansys/pydpf-core), [pre-commit](https://github.com/pre-commit/pre-commit) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `ansys-mapdl-core` from 0.68.6 to 0.69.2
- [Release notes](https://github.com/ansys/pymapdl/releases)
- [Changelog](https://github.com/ansys/pymapdl/blob/main/CHANGELOG.md)
- [Commits](ansys/pymapdl@v0.68.6...v0.69.2)

Updates `ansys-dpf-core` from 0.13.3 to 0.13.4
- [Release notes](https://github.com/ansys/pydpf-core/releases)
- [Commits](ansys/pydpf-core@v0.13.3...v0.13.4)

Updates `pre-commit` from 4.0.1 to 4.1.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v4.0.1...v4.1.0)

Updates `hypothesis` from 6.124.1 to 6.124.2
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.124.1...hypothesis-python-6.124.2)

---
updated-dependencies:
- dependency-name: ansys-mapdl-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ansys-dpf-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: hypothesis
  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>
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the dependencies group with 1 update: [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `hypothesis` from 6.124.2 to 6.124.7
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.124.2...hypothesis-python-6.124.7)

---
updated-dependencies:
- dependency-name: hypothesis
  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>
* Added example models for the getting started section, changed intro.rst to account for the changes and have the files needed

* WIP on Getting Started, moving files to the ansys/example-data repo

* Added getting started files to helper to download files

* WIP on doc, changed names in helper function to download examples

* Modified Getting Started guide to be more verbose and more similar to the examples code. Can be run from start to end from a user + works with doctest

* Pre-commit hooks

* Update doc/source/intro.rst

Co-authored-by: René Roos <[email protected]>

* Updated example files key name + doc

* Update doc/source/intro.rst

Co-authored-by: Dominik Gresch <[email protected]>

* Moved material name assignment to proper section

---------

Co-authored-by: René Roos <[email protected]>
Co-authored-by: Dominik Gresch <[email protected]>
* Bump the dependencies group across 1 directory with 6 updates

Bumps the dependencies group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [ansys-mechanical-core](https://github.com/ansys/pymechanical) | `0.11.12` | `0.11.13` |
| [black](https://github.com/psf/black) | `24.10.0` | `25.1.0` |
| [mypy](https://github.com/python/mypy) | `1.14.1` | `1.15.0` |
| [types-protobuf](https://github.com/python/typeshed) | `5.29.1.20241207` | `5.29.1.20250208` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `1.2.6` | `1.3.1` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.124.7` | `6.125.2` |



Updates `ansys-mechanical-core` from 0.11.12 to 0.11.13
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.11.12...v0.11.13)

Updates `black` from 24.10.0 to 25.1.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.10.0...25.1.0)

Updates `mypy` from 1.14.1 to 1.15.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.14.1...v1.15.0)

Updates `types-protobuf` from 5.29.1.20241207 to 5.29.1.20250208
- [Commits](https://github.com/python/typeshed/commits)

Updates `ansys-sphinx-theme` from 1.2.6 to 1.3.1
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.2.6...v1.3.1)

Updates `hypothesis` from 6.124.7 to 6.125.2
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.124.7...hypothesis-python-6.125.2)

---
updated-dependencies:
- dependency-name: ansys-mechanical-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: types-protobuf
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix Vale style warnings

---------

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]>
Bumps the dependencies group with 4 updates in the / directory: [numpy](https://github.com/numpy/numpy), [scipy](https://github.com/scipy/scipy), [sphinx-gallery](https://github.com/sphinx-gallery/sphinx-gallery) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `numpy` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.2.2...v2.2.3)

Updates `scipy` from 1.15.1 to 1.15.2
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.15.1...v1.15.2)

Updates `sphinx-gallery` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/sphinx-gallery/sphinx-gallery/releases)
- [Changelog](https://github.com/sphinx-gallery/sphinx-gallery/blob/master/.github_changelog_generator)
- [Commits](sphinx-gallery/sphinx-gallery@v0.18.0...v0.19.0)

Updates `hypothesis` from 6.125.2 to 6.125.3
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.125.2...hypothesis-python-6.125.3)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: sphinx-gallery
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: hypothesis
  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>
- Use `main` branch for the PyACP logo link
- Use the 'raw' content (raw.githubusercontent.com link) instead of the github.com link, since the latter relies on Github's logic to show only the SVG itself. This doesn't work in all contexts (e.g. on PyPI).

Closes #763.
Remove the `force-orphan: false` option in the "Upload dev
documentation" job in the CI/CD workflow.
The option caused previous commits to `gh-pages` to be preserved,
whereas now only the latest commit is preserved.
Update the pre-commit hooks with `pre-commit autoupdate`.

Update the poetry version to 2.x, and adapt the CI commands and
README instructions.
Bumps the dependencies group with 2 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `ansys-sphinx-theme` from 1.3.1 to 1.3.2
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.3.1...v1.3.2)

Updates `hypothesis` from 6.125.3 to 6.127.1
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.125.3...hypothesis-python-6.127.1)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: hypothesis
  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>
Bumps the dependencies group with 4 updates: [ansys-mapdl-core](https://github.com/ansys/pymapdl), [matplotlib](https://github.com/matplotlib/matplotlib), [pytest](https://github.com/pytest-dev/pytest) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `ansys-mapdl-core` from 0.69.2 to 0.69.3
- [Release notes](https://github.com/ansys/pymapdl/releases)
- [Changelog](https://github.com/ansys/pymapdl/blob/main/CHANGELOG.md)
- [Commits](ansys/pymapdl@v0.69.2...v0.69.3)

Updates `matplotlib` from 3.10.0 to 3.10.1
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.10.0...v3.10.1)

Updates `pytest` from 8.3.4 to 8.3.5
- [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.4...8.3.5)

Updates `hypothesis` from 6.127.1 to 6.127.4
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.127.1...hypothesis-python-6.127.4)

---
updated-dependencies:
- dependency-name: ansys-mapdl-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: hypothesis
  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>
Bumps the dependencies group with 3 updates: [ansys-dpf-core](https://github.com/ansys/pydpf-core), [ansys-mechanical-core](https://github.com/ansys/pymechanical) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `ansys-dpf-core` from 0.13.4 to 0.13.6
- [Release notes](https://github.com/ansys/pydpf-core/releases)
- [Commits](ansys/pydpf-core@v0.13.4...v0.13.6)

Updates `ansys-mechanical-core` from 0.11.13 to 0.11.14
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.11.13...v0.11.14)

Updates `hypothesis` from 6.127.4 to 6.128.1
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.127.4...hypothesis-python-6.128.1)

---
updated-dependencies:
- dependency-name: ansys-dpf-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-mechanical-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: hypothesis
  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>
Bumps the dependencies group with 4 updates: [numpy](https://github.com/numpy/numpy), [types-protobuf](https://github.com/python/typeshed), [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `numpy` from 2.2.3 to 2.2.4
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.2.3...v2.2.4)

Updates `types-protobuf` from 5.29.1.20250208 to 5.29.1.20250315
- [Commits](https://github.com/python/typeshed/commits)

Updates `ansys-sphinx-theme` from 1.3.2 to 1.3.3
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.3.2...v1.3.3)

Updates `hypothesis` from 6.128.1 to 6.129.3
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.128.1...hypothesis-python-6.129.3)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: types-protobuf
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: hypothesis
  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>
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add retry logic to launching the different ACP instances in the benchmark tests. This hopefully improves the reliability of this test.

Closes #747
* Distinguish more clearly between doc builds using "default" launch configuration, and `docker compose` based builds.
* Expand the instructions for environment variables needed when using Docker Compose.
* Don't set the `ANSYS_DPF_ACCEPT_LA` environment variable in `create_doc_windows.ps1`, since the user is meant to set this manually.
* Switch to using the `latest` tag for the DPF Composites container in the documentation build.
* Remove the outdated link to the "launching ACP" section. 
 
Closes #743
Remove reference to the removed `ACPWorkflow` class.

Closes #760
Make solid model and imported solid model objects linkable to the sensor, which
enables the 'sensor by solid model' feature.

Add a sensor liked to both a regular and imported solid model to the tests.

In the sensor example, add a sensor by solid model, and skip any `None` entries in
the `print_measures` helper function.

Resolves #722
Bumps the dependencies group with 2 updates: [pre-commit](https://github.com/pre-commit/pre-commit) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `pre-commit` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v4.1.0...v4.2.0)

Updates `hypothesis` from 6.129.3 to 6.130.2
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.129.3...hypothesis-python-6.130.2)

---
updated-dependencies:
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: hypothesis
  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>
Bumps the dependencies group with 2 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `ansys-sphinx-theme` from 1.3.3 to 1.4.2
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.3.3...v1.4.2)

Updates `hypothesis` from 6.130.2 to 6.130.5
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.130.2...hypothesis-python-6.130.5)

---
updated-dependencies:
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: hypothesis
  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>
Deprecate the 'plotting' extra target in favor of 'graphics', to align with
other PyAnsys projects. The 'plotting' extra is currently retained for 
backwards compatibility purposes.
Add the following read-only collections:
- `analysis_plies`, on `ImportedSolidModel` and `LayupMappingObject`
- `imported_analysis_plies`, on `ImportedSolidModel` and `LayupMappingObject`
- `interface_layers`, on `SolidModel`

Add tests for these collections. The `minimal_complete_model.acph5` is updated to 
contain both a `SolidModel` and an `ImportedSolidModel`.
dependabot bot and others added 18 commits April 7, 2025 07:48
Bumps the dependencies group with 4 updates: [typing-extensions](https://github.com/python/typing_extensions), [types-protobuf](https://github.com/typeshed-internal/stub_uploader), [pytest-cov](https://github.com/pytest-dev/pytest-cov) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `typing-extensions` from 4.12.2 to 4.13.1
- [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.12.2...4.13.1)

Updates `types-protobuf` from 5.29.1.20250315 to 5.29.1.20250403
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

Updates `pytest-cov` from 6.0.0 to 6.1.1
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v6.0.0...v6.1.1)

Updates `hypothesis` from 6.130.5 to 6.130.9
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.130.5...hypothesis-python-6.130.9)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-version: 4.13.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: types-protobuf
  dependency-version: 5.29.1.20250403
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pytest-cov
  dependency-version: 6.1.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: hypothesis
  dependency-version: 6.130.9
  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>
Re-fetch the `ObjectInfo` when the `Delete` request fails in the `clear()` method. This can be necessary when deletion of another object in the same collection causes the version of an object to increase - such as when modeling plies become out-of-date.
Bumps [ansys/actions](https://github.com/ansys/actions) from 8 to 9.
- [Release notes](https://github.com/ansys/actions/releases)
- [Changelog](https://github.com/ansys/actions/blob/main/CHANGELOG.md)
- [Commits](ansys/actions@v8...v9)

---
updated-dependencies:
- dependency-name: ansys/actions
  dependency-version: '9'
  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>
- Add information about the supported Python versions to Getting Started
- Clarify what happens when `launch_acp` is called
- Fix a typo in the input file creation section
- Remove an empty box in the ply direction example

Fixes #801, fixes #802.

25R2 hardening items 7, 8, 40.
- Add a 'timeout' / 'start_timeout' parameter to the 'start' and 'restart' methods of the ACPInstance, which causes the method to wait until the server is accessible.
- Fix the 'ACPInstance._channel' and filetransfer channel to be set to the new channel after restart.
- Add a regression test to check that the server is accessible after restart (with 'start_timeout' flag).

25R2 hardening item 5.
Use `show_edges=True` in the getting started 'plot the mesh' example, so that is
clear the plotted plate represents the mesh.

Accept `ValueError` in `os.lstat` to find invalid path strings.

25R2 hardening item 34.
- Add empty lines at the end of indented blocks 
- Split blocks generating text output and plots into two separate blocks
- Optimization example: add note about using Jupyter or IPython when copy/pasting the code block by block.
Resolves `SyntaxWarning` caused by `trame-vuetify` in Rosette example.
Add a function `set_plot_theme` which sets the plot theme + default colormap used in the examples.

Call the function at the start of each example, to ensure the user gets the same plots.
Add a note to the examples which are not run when generating the
documentation in CI, indicating that the online version of the
documentation is missing the outputs and plots.
Use the `.extract_surface(nonlinear_subdivision=0)` filter on the
ISM mesh to avoid showing internal edges in the plot.
Add a hint to the example to explain this, or how to get the edges
as a separate PolyData object instead.
…816)

Plot the `fiber_direction` instead of `reference_direction` in the getting started, to match the text description.
Update CONTRIBUTORS.md with the latest contributors

Co-authored-by: Dominik Gresch <[email protected]>
- Update poetry lockfile
- Allow `ValueError` (in addition to `KeyError`) in the 'invalid cases' plotter test
- Ignore type errors due to mypy not understanding the new PyVista version / type hint errors in PyVista
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants