Skip to content

Conversation

@greschd
Copy link
Member

@greschd greschd commented Aug 26, 2024

Merge changes to main since the 0.1b1 release into the
release branch, and update the version.

RobPasMue and others added 30 commits April 8, 2024 12:02
* fix: use PYANSYS_CI_BOT_TOKEN

* Update ci_cd.yml
* feat: allow local-product-launcher and filetransfer new versions

* Update pyproject.toml

* feat: update lock file

---------

Co-authored-by: Dominik Gresch <greschd@users.noreply.github.com>
Extend the allowable range for `black` to `^24` to allow minor release bumps.

Run pre-commit autoupdate, and adapt the indirect dependency on black 
specified in the blacken-docs hook.
Bumps the dependencies group with 4 updates: [ansys-dpf-core](https://github.com/ansys/pydpf-core), [black](https://github.com/psf/black), [types-protobuf](https://github.com/python/typeshed) and [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints).


Updates `ansys-dpf-core` from 0.11.0 to 0.12.0
- [Release notes](https://github.com/ansys/pydpf-core/releases)
- [Commits](ansys/pydpf-core@v0.11.0...v0.12.0)

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

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

Updates `sphinx-autodoc-typehints` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/tox-dev/sphinx-autodoc-typehints/releases)
- [Changelog](https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md)
- [Commits](tox-dev/sphinx-autodoc-typehints@2.0.0...2.0.1)

---
updated-dependencies:
- dependency-name: ansys-dpf-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: black
  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-minor
  dependency-group: dependencies
- dependency-name: sphinx-autodoc-typehints
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ansys/actions from 5 to 6

Bumps [ansys/actions](https://github.com/ansys/actions) from 5 to 6.
- [Release notes](https://github.com/ansys/actions/releases)
- [Commits](ansys/actions@v5...v6)

---
updated-dependencies:
- dependency-name: ansys/actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove pinned vale version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dominik Gresch <dominik.gresch@ansys.com>
Remove upper limits on dependencies. For context, see e.g. the discussion in
https://iscinumpy.dev/post/bound-version-constraints/

In short: downstream projects have no way to remove an artificial (wrong)
upper bound, but adding a missing one is easy. Since it's unknowable
which future versions will be compatible, it's better to err on the side of
allowing them, for the context of libraries.

In addition, we continuously check the newest dependency versions via
dependabot, and our CI is using pinned dependencies. As such, I believe we
can afford to leave out the upper limit.

Other changes:
- Ignore a new warning generated by sphinx, indicating that its caching does
  not work as intended. This can be removed once sphinx-gallery/sphinx-gallery#1286
  is resolved.

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [pyvista](https://github.com/pyvista/pyvista) | `0.43.5` | `0.43.6` |
| [ansys-mechanical-core](https://github.com/ansys/pymechanical) | `0.10.9` | `0.10.10` |
| [black](https://github.com/psf/black) | `24.4.0` | `24.4.2` |
| [mypy](https://github.com/python/mypy) | `1.9.0` | `1.10.0` |
| [sphinx-gallery](https://github.com/sphinx-gallery/sphinx-gallery) | `0.15.0` | `0.16.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.1.1` | `8.2.0` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.100.1` | `6.100.2` |


Updates `pyvista` from 0.43.5 to 0.43.6
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.5...v0.43.6)

Updates `ansys-mechanical-core` from 0.10.9 to 0.10.10
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.10.9...v0.10.10)

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

Updates `mypy` from 1.9.0 to 1.10.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@1.9.0...v1.10.0)

Updates `sphinx-gallery` from 0.15.0 to 0.16.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.15.0...v0.16.0)

Updates `pytest` from 8.1.1 to 8.2.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.1.1...8.2.0)

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

---
updated-dependencies:
- dependency-name: pyvista
  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: black
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sphinx-gallery
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pytest
  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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the dependencies group with 2 updates: [pyvista](https://github.com/pyvista/pyvista) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `pyvista` from 0.43.6 to 0.43.7
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.6...v0.43.7)

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

---
updated-dependencies:
- dependency-name: pyvista
  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-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Remove the suppression of the sphinx 'config.cache' warning, by
using the string representation of the sphinx-gallery
'FileNameSortKey' instead of directly passing the class.

See https://sphinx-gallery.github.io/dev/configuration.html#importing-callables
* Skip inherited members for enums
Bumps the dependencies group with 13 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [typing-extensions](https://github.com/python/typing_extensions) | `4.11.0` | `4.12.1` |
| [ansys-tools-path](https://github.com/ansys/ansys-tools-path) | `0.5.2` | `0.6.0` |
| [pyvista](https://github.com/pyvista/pyvista) | `0.43.7` | `0.43.8` |
| [ansys-dpf-core](https://github.com/ansys/pydpf-core) | `0.12.0` | `0.12.1` |
| [ansys-mechanical-core](https://github.com/ansys/pymechanical) | `0.10.10` | `0.10.11` |
| [matplotlib](https://github.com/matplotlib/matplotlib) | `3.8.4` | `3.9.0` |
| [scipy](https://github.com/scipy/scipy) | `1.13.0` | `1.13.1` |
| [pre-commit](https://github.com/pre-commit/pre-commit) | `3.7.0` | `3.7.1` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `0.15.2` | `0.16.5` |
| [sphinx-design](https://github.com/executablebooks/sphinx-design) | `0.5.0` | `0.6.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.0` | `8.2.1` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.100.4` | `6.103.0` |
| [docker](https://github.com/docker/docker-py) | `7.0.0` | `7.1.0` |



Updates `typing-extensions` from 4.11.0 to 4.12.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.11.0...4.12.1)

Updates `ansys-tools-path` from 0.5.2 to 0.6.0
- [Release notes](https://github.com/ansys/ansys-tools-path/releases)
- [Changelog](https://github.com/ansys/ansys-tools-path/blob/main/CHANGELOG.md)
- [Commits](ansys/ansys-tools-path@v0.5.2...v0.6.0)

Updates `pyvista` from 0.43.7 to 0.43.8
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.7...v0.43.8)

Updates `ansys-dpf-core` from 0.12.0 to 0.12.1
- [Release notes](https://github.com/ansys/pydpf-core/releases)
- [Commits](ansys/pydpf-core@v0.12.0...v0.12.1)

Updates `ansys-mechanical-core` from 0.10.10 to 0.10.11
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.10.10...v0.10.11)

Updates `matplotlib` from 3.8.4 to 3.9.0
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.8.4...v3.9.0)

Updates `scipy` from 1.13.0 to 1.13.1
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](scipy/scipy@v1.13.0...v1.13.1)

Updates `pre-commit` from 3.7.0 to 3.7.1
- [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@v3.7.0...v3.7.1)

Updates `ansys-sphinx-theme` from 0.15.2 to 0.16.5
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.15.2...v0.16.5)

Updates `sphinx-design` from 0.5.0 to 0.6.0
- [Release notes](https://github.com/executablebooks/sphinx-design/releases)
- [Changelog](https://github.com/executablebooks/sphinx-design/blob/main/CHANGELOG.md)
- [Commits](executablebooks/sphinx-design@v0.5.0...v0.6.0)

Updates `pytest` from 8.2.0 to 8.2.1
- [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.2.0...8.2.1)

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

Updates `docker` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/docker/docker-py/releases)
- [Commits](docker/docker-py@7.0.0...7.1.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ansys-tools-path
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: 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: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: scipy
  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-patch
  dependency-group: dependencies
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sphinx-design
  dependency-type: direct:development
  update-type: version-update:semver-minor
  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-minor
  dependency-group: dependencies
- dependency-name: docker
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the dependencies group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [packaging](https://github.com/pypa/packaging) | `24.0` | `24.1` |
| [typing-extensions](https://github.com/python/typing_extensions) | `4.12.1` | `4.12.2` |
| [pyvista](https://github.com/pyvista/pyvista) | `0.43.8` | `0.43.9` |
| [ansys-dpf-core](https://github.com/ansys/pydpf-core) | `0.12.1` | `0.12.2` |
| [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) | `2.1.0` | `2.1.1` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.1` | `8.2.2` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.103.0` | `6.103.1` |


Updates `packaging` from 24.0 to 24.1
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@24.0...24.1)

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

Updates `pyvista` from 0.43.8 to 0.43.9
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.8...v0.43.9)

Updates `ansys-dpf-core` from 0.12.1 to 0.12.2
- [Release notes](https://github.com/ansys/pydpf-core/releases)
- [Commits](ansys/pydpf-core@v0.12.1...v0.12.2)

Updates `sphinx-autodoc-typehints` from 2.1.0 to 2.1.1
- [Release notes](https://github.com/tox-dev/sphinx-autodoc-typehints/releases)
- [Changelog](https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md)
- [Commits](tox-dev/sphinx-autodoc-typehints@2.1.0...2.1.1)

Updates `pytest` from 8.2.1 to 8.2.2
- [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.2.1...8.2.2)

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

---
updated-dependencies:
- dependency-name: packaging
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: typing-extensions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-dpf-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: sphinx-autodoc-typehints
  dependency-type: direct:development
  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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the dependencies group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [pyvista](https://github.com/pyvista/pyvista) | `0.43.9` | `0.43.10` |
| [ansys-mapdl-core](https://github.com/ansys/pymapdl) | `0.68.1` | `0.68.3` |
| [ansys-dpf-composites](https://github.com/ansys/pydpf-composites) | `0.4.1` | `0.5.0` |
| [ansys-mechanical-core](https://github.com/ansys/pymechanical) | `0.10.11` | `0.11.1` |
| [mypy](https://github.com/python/mypy) | `1.10.0` | `1.10.1` |
| [types-protobuf](https://github.com/python/typeshed) | `5.26.0.20240422` | `5.27.0.20240626` |
| [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) | `2.1.1` | `2.2.2` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `0.16.5` | `0.16.6` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.103.1` | `6.104.2` |



Updates `pyvista` from 0.43.9 to 0.43.10
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.9...v0.43.10)

Updates `ansys-mapdl-core` from 0.68.1 to 0.68.3
- [Release notes](https://github.com/ansys/pymapdl/releases)
- [Changelog](https://github.com/ansys/pymapdl/blob/main/CHANGELOG.md)
- [Commits](ansys/pymapdl@v0.68.1...v0.68.3)

Updates `ansys-dpf-composites` from 0.4.1 to 0.5.0
- [Release notes](https://github.com/ansys/pydpf-composites/releases)
- [Changelog](https://github.com/ansys/pydpf-composites/blob/main/release_checklist.rst)
- [Commits](ansys/pydpf-composites@v0.4.1...v0.5.0)

Updates `ansys-mechanical-core` from 0.10.11 to 0.11.1
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.10.11...v0.11.1)

Updates `mypy` from 1.10.0 to 1.10.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.10.0...v1.10.1)

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

Updates `sphinx-autodoc-typehints` from 2.1.1 to 2.2.2
- [Release notes](https://github.com/tox-dev/sphinx-autodoc-typehints/releases)
- [Changelog](https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md)
- [Commits](tox-dev/sphinx-autodoc-typehints@2.1.1...2.2.2)

Updates `ansys-sphinx-theme` from 0.16.5 to 0.16.6
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v0.16.5...v0.16.6)

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

---
updated-dependencies:
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-mapdl-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-dpf-composites
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ansys-mechanical-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: types-protobuf
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sphinx-autodoc-typehints
  dependency-type: direct:development
  update-type: version-update:semver-minor
  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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix installing a custom API branch in the CI pipeline:
- build the API repository in a separate step, using Python3.10, since
  newer Python versions are not supported by the necessary `protobuf` version
- install the API package without dependencies, to avoid accidentally installing
  a transitive dependency which is incompatible with some other dependency

Other changes:
- Simplify the pipeline logic by using `env` to process the `workflow_dispatch` inputs.
  This also allows setting a default value in the CI `.yml`, for example for a feature branch.
- Update the poetry lockfile. This is done to update transitive dependencies, as dependabot
  only manages direct ones.
Bumps the dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [ansys-api-acp](https://github.com/ansys/ansys-api-acp) | `0.1.0.dev8` | `0.1.0.dev9` |
| [pyvista](https://github.com/pyvista/pyvista) | `0.43.10` | `0.44.0` |
| [matplotlib](https://github.com/matplotlib/matplotlib) | `3.9.0` | `3.9.1` |
| [ipykernel](https://github.com/ipython/ipykernel) | `6.29.4` | `6.29.5` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.104.2` | `6.105.1` |


Updates `ansys-api-acp` from 0.1.0.dev8 to 0.1.0.dev9
- [Release notes](https://github.com/ansys/ansys-api-acp/releases)
- [Commits](ansys/ansys-api-acp@v0.1.0.dev8...v0.1.0.dev9)

Updates `pyvista` from 0.43.10 to 0.44.0
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.43.10...v0.44.0)

Updates `matplotlib` from 3.9.0 to 3.9.1
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.9.0...v3.9.1)

Updates `ipykernel` from 6.29.4 to 6.29.5
- [Release notes](https://github.com/ipython/ipykernel/releases)
- [Changelog](https://github.com/ipython/ipykernel/blob/v6.29.5/CHANGELOG.md)
- [Commits](ipython/ipykernel@v6.29.4...v6.29.5)

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

---
updated-dependencies:
- dependency-name: ansys-api-acp
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ipykernel
  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] <support@github.com>
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.105.1 to 6.108.1
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.105.1...hypothesis-python-6.108.1)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the dependencies group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [pyvista](https://github.com/pyvista/pyvista) | `0.44.0` | `0.44.1` |
| [ansys-mapdl-core](https://github.com/ansys/pymapdl) | `0.68.3` | `0.68.4` |
| [ansys-mechanical-core](https://github.com/ansys/pymechanical) | `0.11.1` | `0.11.3` |
| [mypy](https://github.com/python/mypy) | `1.10.1` | `1.11.0` |
| [sphinx](https://github.com/sphinx-doc/sphinx) | `7.3.7` | `7.4.7` |
| [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) | `2.2.2` | `2.2.3` |
| [sphinx-gallery](https://github.com/sphinx-gallery/sphinx-gallery) | `0.16.0` | `0.17.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.2` | `8.3.1` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.108.1` | `6.108.2` |


Updates `pyvista` from 0.44.0 to 0.44.1
- [Release notes](https://github.com/pyvista/pyvista/releases)
- [Commits](pyvista/pyvista@v0.44.0...v0.44.1)

Updates `ansys-mapdl-core` from 0.68.3 to 0.68.4
- [Release notes](https://github.com/ansys/pymapdl/releases)
- [Changelog](https://github.com/ansys/pymapdl/blob/main/CHANGELOG.md)
- [Commits](ansys/pymapdl@v0.68.3...v0.68.4)

Updates `ansys-mechanical-core` from 0.11.1 to 0.11.3
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.11.1...v0.11.3)

Updates `mypy` from 1.10.1 to 1.11.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.10.1...v1.11)

Updates `sphinx` from 7.3.7 to 7.4.7
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](sphinx-doc/sphinx@v7.3.7...v7.4.7)

Updates `sphinx-autodoc-typehints` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/tox-dev/sphinx-autodoc-typehints/releases)
- [Changelog](https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md)
- [Commits](tox-dev/sphinx-autodoc-typehints@2.2.2...2.2.3)

Updates `sphinx-gallery` from 0.16.0 to 0.17.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.16.0...v0.17.0)

Updates `pytest` from 8.2.2 to 8.3.1
- [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.2.2...8.3.1)

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

---
updated-dependencies:
- dependency-name: pyvista
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-mapdl-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: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sphinx
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: sphinx-autodoc-typehints
  dependency-type: direct:development
  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: pytest
  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] <support@github.com>
Bumps the dependencies group with 4 updates: [grpcio-health-checking](https://grpc.io), [pre-commit](https://github.com/pre-commit/pre-commit), [pytest](https://github.com/pytest-dev/pytest) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `grpcio-health-checking` from 1.48.2 to 1.62.2

Updates `pre-commit` from 3.7.1 to 3.8.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@v3.7.1...v3.8.0)

Updates `pytest` from 8.3.1 to 8.3.2
- [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.1...8.3.2)

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

---
updated-dependencies:
- dependency-name: grpcio-health-checking
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-minor
  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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [ansys-dpf-core](https://github.com/ansys/pydpf-core) | `0.12.2` | `0.13.0` |
| [black](https://github.com/psf/black) | `24.4.2` | `24.8.0` |
| [mypy](https://github.com/python/mypy) | `1.11.0` | `1.11.1` |
| [sphinx-design](https://github.com/executablebooks/sphinx-design) | `0.6.0` | `0.6.1` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.108.5` | `6.108.8` |


Updates `ansys-dpf-core` from 0.12.2 to 0.13.0
- [Release notes](https://github.com/ansys/pydpf-core/releases)
- [Commits](ansys/pydpf-core@v0.12.2...v0.13.0)

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

Updates `mypy` from 1.11.0 to 1.11.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11...v1.11.1)

Updates `sphinx-design` from 0.6.0 to 0.6.1
- [Release notes](https://github.com/executablebooks/sphinx-design/releases)
- [Changelog](https://github.com/executablebooks/sphinx-design/blob/main/CHANGELOG.md)
- [Commits](executablebooks/sphinx-design@v0.6.0...v0.6.1)

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

---
updated-dependencies:
- dependency-name: ansys-dpf-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: sphinx-design
  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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ansys/actions](https://github.com/ansys/actions) from 6 to 7.
- [Release notes](https://github.com/ansys/actions/releases)
- [Commits](ansys/actions@v6...v7)

---
updated-dependencies:
- dependency-name: ansys/actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: René Roos <105842014+roosre@users.noreply.github.com>
Merging the changes from #545 onto `main`.

Add an `export_modeling_ply_geometries` method to the `Model`, which the geometry of all modeling plies

Other changes:
- Add a helper function for managing the version of the server which supports a particular feature.
- Since that required knowing the server version at the `TreeObject` level, convert the `channel` member into a `ServerWrapper` which contains both the channel and version.
- Force newer version of `ansys-mapdl-core`, to avoid poetry resolving numpy to version 2.0 and downgrading `ansys-mapdl-core`, since older versions do not declare their incompatibility with numpy 2.0.
Fixes #561

The `EdgePropertyList` retains the _same_ list instance during its lifetime 
for containing the edge property wrappers. This is done so that references
user code might hold to its items to correctly update its contents.

In contrast to other types, it means that the state is not re-fetched from
the `_pb_object` if it were to change outside of the `EdgePropertyList`'s
control.
This led to a bug when constructing objects via `_from_object_info`, which
first default-constructs the object (in the process creating the `EdgePropertyList`)
and then modifies the `_pb_object`.

To fix this, the `EdgePropertyList` now stores whether its parent object was
stored when this list was last accessed. If it changes from unstored to stored,
the following logic is applied:
- If the current list is already populated (the "regular" case), only a sanity check
  for matching length is performed
- If the current list is empty, it is re-fetched from the parent object. This is the
  case which occurs during construction with `_from_object_info`

Since the edge property list can be in an inconsistent state (empty when it shouldn't 
be) while the parent is unstored, we disallow accessing it in this state. It is still
allowed however to fully replace the contents.

This PR also fixes a bug in `tree_object_from_resource_path`, where the `channel`
argument was still used instead of `server_wrapper`.
Bumps the dependencies group with 3 updates in the / directory: [mypy](https://github.com/python/mypy), [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `mypy` from 1.11.1 to 1.11.2
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11.1...v1.11.2)

Updates `ansys-sphinx-theme` from 1.0.4 to 1.0.7
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.0.4...v1.0.7)

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

---
updated-dependencies:
- dependency-name: mypy
  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-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The `.store()` method contains a check that all linked objects are
within the same model. However, this check falsely raised when
given an empty resource path. This is now fixed by filtering out
the empty resource paths in the check.
@codecov
Copy link

codecov bot commented Aug 26, 2024

Codecov Report

Attention: Patch coverage is 97.58065% with 3 lines in your changes missing coverage. Please review.

Please upload report for BASE (release/0.1@9df617e). Learn more about missing BASE report.

Files Patch % Lines
...ys/acp/core/_tree_objects/_grpc_helpers/mapping.py 80.00% 1 Missing ⚠️
...ore/_tree_objects/_grpc_helpers/property_helper.py 88.88% 1 Missing ⚠️
src/ansys/acp/core/_tree_objects/base.py 97.50% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##             release/0.1     #570   +/-   ##
==============================================
  Coverage               ?   92.91%           
==============================================
  Files                  ?       82           
  Lines                  ?     4292           
  Branches               ?        0           
==============================================
  Hits                   ?     3988           
  Misses                 ?      304           
  Partials               ?        0           

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

@greschd greschd merged commit 6de3d0d into release/0.1 Aug 26, 2024
@greschd greschd deleted the maint/prepare_beta2_release branch August 26, 2024 06:46
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.

5 participants