Skip to content

Conversation

@greschd
Copy link
Member

@greschd greschd commented Dec 2, 2024

Merge changes from main into the release branch, and update the version to 0.1rc1.

greschd and others added 30 commits September 3, 2024 11:27
Add a step to the tests on Python 3.12 for testing with the 2024R2 server version.

Expected test failures (new features) are marked with the new `xfail_before` fixture. The
only current expected failure is the modeling ply geometry export test (added in 25.1).

Also fixes an issue with the `clone` method when `unlink=True` is specified: Any 
fields unknown to the current client were retained. This caused an error on storing,
since those may be unknown linked objects. In the current case, the newly added 
links to the `Fabric` caused this.
Calling `DiscardUnknownFields()` on the protobuf message fixes this.
Bumps the dependencies group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [ansys-mechanical-core](https://github.com/ansys/pymechanical) | `0.11.5` | `0.11.7` |
| [types-protobuf](https://github.com/python/typeshed) | `5.27.0.20240626` | `5.27.0.20240907` |
| [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) | `2.2.3` | `2.3.0` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `1.0.7` | `1.0.8` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.111.2` | `6.112.0` |



Updates `ansys-mechanical-core` from 0.11.5 to 0.11.7
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.11.5...v0.11.7)

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

Updates `sphinx-autodoc-typehints` from 2.2.3 to 2.3.0
- [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.3...2.3.0)

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

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

---
updated-dependencies:
- dependency-name: ansys-mechanical-core
  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: 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>
…73a0

Bump the dependencies group across 1 directory with 5 updates
* Standardize "Contribute" heading and make minor edits for overall doc consistency
* minor edits
Adapt to the change moving the file format definition to `enum_types.proto`:

Adds an optional argument `explicit_value_list` to the enum wrapper, which
specifies which of the wrapped values are exposed.

This is used to wrap the `enum_types_pb2.FileFormat` in different ways, exposing
only the file formats acceptable for a given use.
Following the PyAnsys Python version support policy, drop support for 3.9.

Update pre-commit hooks using `pre-commit autoupdate`.

Add a `.git-blame-ignore-revs` file to ignore the `pyupgrade` changes.
Implement a `recursive_copy` helper function, which:
- takes a list of source objects
- walks its children and (optionally) linked objects
- copies the sub-tree to a new location, specified by
  a dict mapping old parent to new parent [1]

Adds a dependency on `networkx`, for computing the
order in which objects should be stored s.t. all their 
dependencies (parent, linked objects) are already stored.
We may reuse the dependency graph produced for this
task in other contexts.

Note that the copy operation may fail if a linked object is present
in the API layer, but not supported by PyACP yet. In this case,
the linked object is still detected (since this is done by iterating through
the protobuf object), but the object cannot be instantiated.
I think this is acceptable, as it's a temporary problem and may be more
desirable than silently losing the link.

Other changes: 
- added a `.clone()` method to the edge property lists. This was
  used in the initial implementation of this features. Since it's 
  consistent with the API of other objects, the method is kept.
  Each edge property list type separately implements `.clone()`. [2]
- add a `.parent` property to tree objects, which instantiates / gets
  the parent via its resource path
- make tree objects hashable
- upload the XML coverage report separately for all unittest runs,
  and distinguish them (by Python version and server version) using
  flags.

[1] more than one new parent may be needed, for example
when copying a Modeling Ply (parent: Modeling Group) which
links to a Fabric (parent: Model).
[2] in general, the `GenericEdgePropertyType` classes have a
lot of code duplication; this can be dealt with in a later PR (not 
urgent).
Bumps the dependencies group with 3 updates: [types-protobuf](https://github.com/python/typeshed), [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) and [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme).


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

Updates `sphinx-autodoc-typehints` from 2.4.1 to 2.4.4
- [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.4.1...2.4.4)

Updates `ansys-sphinx-theme` from 1.0.9 to 1.0.11
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.0.9...v1.0.11)

---
updated-dependencies:
- dependency-name: types-protobuf
  dependency-type: direct:development
  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: ansys-sphinx-theme
  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 7 to 8.
- [Release notes](https://github.com/ansys/actions/releases)
- [Commits](ansys/actions@v7...v8)

---
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>
Bumps the dependencies group with 13 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [networkx](https://github.com/networkx/networkx) | `3.3` | `3.4.1` |
| [ansys-mapdl-core](https://github.com/ansys/pymapdl) | `0.68.4` | `0.68.6` |
| [pre-commit](https://github.com/pre-commit/pre-commit) | `3.8.0` | `4.0.1` |
| [black](https://github.com/psf/black) | `24.8.0` | `24.10.0` |
| [mypy](https://github.com/python/mypy) | `1.11.2` | `1.12.0` |
| [types-protobuf](https://github.com/python/typeshed) | `5.27.0.20240920` | `5.28.0.20240924` |
| [sphinx](https://github.com/sphinx-doc/sphinx) | `8.0.2` | `8.1.3` |
| [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) | `2.4.4` | `2.5.0` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `1.0.11` | `1.1.5` |
| [pypandoc](https://github.com/JessicaTegner/pypandoc) | `1.13` | `1.14` |
| [sphinx-gallery](https://github.com/sphinx-gallery/sphinx-gallery) | `0.17.1` | `0.18.0` |
| [pytest-cases](https://github.com/smarie/python-pytest-cases) | `3.8.5` | `3.8.6` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.112.1` | `6.115.2` |



Updates `networkx` from 3.3 to 3.4.1
- [Release notes](https://github.com/networkx/networkx/releases)
- [Commits](networkx/networkx@networkx-3.3...networkx-3.4.1)

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

Updates `pre-commit` from 3.8.0 to 4.0.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.8.0...v4.0.1)

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

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

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

Updates `sphinx` from 8.0.2 to 8.1.3
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](sphinx-doc/sphinx@v8.0.2...v8.1.3)

Updates `sphinx-autodoc-typehints` from 2.4.4 to 2.5.0
- [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.4.4...2.5.0)

Updates `ansys-sphinx-theme` from 1.0.11 to 1.1.5
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.0.11...v1.1.5)

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

Updates `sphinx-gallery` from 0.17.1 to 0.18.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.17.1...v0.18.0)

Updates `pytest-cases` from 3.8.5 to 3.8.6
- [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.5...3.8.6)

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

---
updated-dependencies:
- dependency-name: networkx
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ansys-mapdl-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-major
  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-minor
  dependency-group: dependencies
- dependency-name: types-protobuf
  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-minor
  dependency-group: dependencies
- dependency-name: ansys-sphinx-theme
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pypandoc
  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-cases
  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>
Add the newly-required inputs for the v8 version of the doc deploy
action.
See https://actions.docs.ansys.com/version/dev/migrations/index.html#migration-guide

Replace GITHUB_TOKEN with PYANSYS_CI_BOT_TOKEN where applicable, so that the
commiter's credentials match the used email / username.
Allow marking gRPC properties as supported since a specific
server version. The `grpc_data_property_read_only` is given
a `supported_since` keyword, and `grpc_data_property` is given
two separate keywords `readable_since` and `writable_since`.

Other changes:
- Change the `xfail_before` test fixture to `raises_before_version`,
  which explicitly checks that a `RuntimeError` is raised when run
  on an older server version.
- Move the `supported_since` implementation to a separate file.
- In the CI definition, reuse the `DOCKER_IMAGE_NAME` variable
  in more places.
Add a `_SUPPORTED_SINCE` class attribute to the `GrpcObjectBase` class, which has two effects:
- upon storing an object, check the server version and raise an appropriate exception if the server version is too low
- in the `mark_grpc_properties` class decorator, add a line at the end of the class docstring indicating the server version at which the class was introduced

On all existing classes, the `_SUPPORTED_SINCE` attribute is set to `"24.2"`.
Bumps the dependencies group with 3 updates: [ansys-mechanical-core](https://github.com/ansys/pymechanical), [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `ansys-mechanical-core` from 0.11.7 to 0.11.8
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.11.7...v0.11.8)

Updates `ansys-sphinx-theme` from 1.1.5 to 1.1.6
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.1.5...v1.1.6)

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

---
updated-dependencies:
- dependency-name: ansys-mechanical-core
  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: 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 1 update: [mypy](https://github.com/python/mypy).


Updates `mypy` from 1.12.0 to 1.12.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.12.0...v1.12.1)

---
updated-dependencies:
- dependency-name: mypy
  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>
Add a regression test to check that #565 is fixed in the backend.

Closes #565.
Add exposure for the `InterfaceLayer` object type.
Add testing for the 2025R1 server, using a test matrix.

Since the `env.DOCKER_IMAGE_NAME` cannot be directly used in the matrix,
the `docker_image_suffix` variable now only affects the doc + other jobs. 

Closes #625.
Allow setting the `unit_system` attribute on the model.

The `UnitSystemType` enum is extended by a value `FROM_FILE = "from_file"`,
which is an alias to `UNDEFINED`. This allows for using the more descriptive
`"from_file"` when loading an FE model.
When getting the `unit_system` attribute from the model, the `FROM_FILE`
is never returned; the "primary" value `UNDEFINED` is used instead, as before.
Add the `ButtJointSequence` class, and a `PrimaryPly` class for the edge properties
of the `primary_plies` attribute.

Other changes:
- Add an `allowed_types_getter` parameter to `define_polymorphic_linked_object_list`
  with the same purpose as the existing `allowed_types`, except the types are evaluated
  only inside the getter. 
  This was needed to avoid a circular import with the `ModelingGroup`, since 
  `define_polymorphic_linked_object_list` is called at the module top-level.
The benchmarks with specific network latency or bandwidth had failed
to run since the `grpc_server` fixture was renamed to `acp_instance`, 
but the fixture which overrides it in the benchmarks was not.
Update the `ansys-api-acp` version to `0.2.0`.

Also update the minimum version of DPF Core, DPF Composites, and PyMechanical. These
are used only in the examples, so the lower bound can be updated without breaking compatibility.

The `ansys-dpf-core` dependency in particular was updated because otherwise it would downgrade
to a version that doesn't limit the numpy upper version, see ansys/pydpf-core#1831
Bumps the dependencies group with 2 updates: [ansys-mechanical-core](https://github.com/ansys/pymechanical) and [hypothesis](https://github.com/HypothesisWorks/hypothesis).


Updates `ansys-mechanical-core` from 0.11.7 to 0.11.8
- [Release notes](https://github.com/ansys/pymechanical/releases)
- [Changelog](https://github.com/ansys/pymechanical/blob/main/CHANGELOG.md)
- [Commits](ansys/pymechanical@v0.11.7...v0.11.8)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add exposure for the `SectionCut` object.
greschd and others added 21 commits November 26, 2024 14:10
Add a link to the main Composites page in the Ansys Help as
a grid item card on the main page of the documentation.

The reason for linking this page instead of a more specific page
is that it is the only one where I could easily figure out how
to link to a page that does not change URL with every release.

Closes #707
Add an example which loads the CDB file and ACPCompositeDefinitions.h5 into PyMechanical (after running PyACP), and then runs the analysis inside PyMechanical. PyDPF Composites is used for post-processing.

Rename the mesh import helper for PyMechanical, since it can also be used for shells.

Closes #702.
The `plotting` extra needs to be installed to run the full unit test suite.

This fixes the failure of the nightly CI build jobs.
* add example for the definition of an imported solid model

* refine refresh method of imported solid model and update doc string

* add solid_mesh to SolidElementSet to support visualization
- Add note about why the PyMechanical shell workflow and PyMechanical to CDB workflow results are not exactly equal
- Remove TODO about material import; I think the current example code is ok
- Add some comments to Mechanical code
- Make values in CDB to PyMechanical example more reasonable

Checked manually that the results match with an equivalent workflow set up in WB.

Closes #703.
Change the implementation of 'get_model_tree' to use the '_GRPC_PROPERTIES' class attribute, and thus include all newly-added object types in the representation.

The style of the tree has changed in some ways:
- The root node now shows the model name, instead of always 'Model'
- Objects (name or id) are distinguished from collections by wrapping the string in single quotes
- The additional nesting level for 'Materials', 'Selection Rules', and other 'logical' groupings which are not part of the PyACP hierarchy has been removed

The new tree structure can be seen in the updated test cases, or in `print_model.rst`.

Partially addresses #348, interactive tree support in Jupyter notebooks is still missing.
…714)

* Add examples for Imported Plies HDF5 composite CAE

* Add solid_mesh property to ImportedAnalysisPly and ImportedSolidModel
---------

Co-authored-by: Dominik Gresch <greschd@users.noreply.github.com>
Add a read-only 'analysis_plies' collection to the solid model.
This collection contains only the AnalysisPly objects, the
InterfaceLayer objects are not included.

Partially addresses #711.

Co-authored-by: René Roos <105842014+roosre@users.noreply.github.com>
Rename the "cut off" and "drop off" related features to make them consistent:
- `Cutoff` -> `CutOff`
- `cutoff` -> `cut_off`
- `Dropoff` -> `DropOff`
- `dropoff` -> `drop_off`

Partly addresses #637.

Co-authored-by: René Roos <105842014+roosre@users.noreply.github.com>
* Sort examples
Comment out the `price` attribute on the `ModelElementalData`, as a workaround to #717.

Add a mass plot to the imported solid model example.

Closes #717.
Follow-up tasks tracked by #720.
* add sensor example
Remove the note that PyACP is in beta from the main documentation page.

Switch the trove classifier to indicate that PyACP is stable.

Closes #687.
* Bump the dependencies group with 5 updates

Bumps the dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [pyvista](https://github.com/pyvista/pyvista) | `0.44.1` | `0.44.2` |
| [ansys-dpf-core](https://github.com/ansys/pydpf-core) | `0.13.2` | `0.13.3` |
| [matplotlib](https://github.com/matplotlib/matplotlib) | `3.9.2` | `3.9.3` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.3.3` | `8.3.4` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.119.4` | `6.122.1` |


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

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

Updates `matplotlib` from 3.9.2 to 3.9.3
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](matplotlib/matplotlib@v3.9.2...v3.9.3)

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

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

---
updated-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: 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-minor
  dependency-group: dependencies
...

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

* Fix vale warnings

---------

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>
Fix the flaky object deletion test, by using weak references to
track if an object is still alive instead of comparing the IDs.

Closes #481.
Add a section to the docs specifying which features were added in 2025R1.

Add a section detailing how the API was changed from the beta version to the stable release.

Closes #724.
@wiz-inc-572fc38784
Copy link

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities 1 High
Data Finding Sensitive Data
Secret Finding Secrets
IaC Misconfiguration IaC Misconfigurations 6 Medium 1 Low 1 Info
Total 1 High 6 Medium 1 Low 1 Info

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@codecov
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

Attention: Patch coverage is 95.04717% with 105 lines in your changes missing coverage. Please review.

Project coverage is 94.99%. Comparing base (6de3d0d) to head (8b9723d).
Report is 100 commits behind head on release/0.1.

Files with missing lines Patch % Lines
src/ansys/acp/core/extras/example_helpers.py 53.33% 35 Missing ⚠️
...c/ansys/acp/core/mechanical_integration_helpers.py 29.41% 24 Missing ⚠️
src/ansys/acp/core/dpf_integration_helpers.py 28.57% 10 Missing ⚠️
...nsys/acp/core/_tree_objects/butt_joint_sequence.py 91.86% 7 Missing ⚠️
src/ansys/acp/core/_server/acp_instance.py 91.30% 5 Missing and 1 partial ⚠️
...acp/core/_tree_objects/_elemental_or_nodal_data.py 97.48% 4 Missing ⚠️
src/ansys/acp/core/_model_printer.py 89.65% 3 Missing ⚠️
...ore/_tree_objects/_grpc_helpers/property_helper.py 93.02% 3 Missing ⚠️
src/ansys/acp/core/_tree_objects/model.py 96.51% 3 Missing ⚠️
src/ansys/acp/core/_tree_objects/base.py 97.14% 2 Missing ⚠️
... and 6 more
Additional details and impacted files
@@               Coverage Diff               @@
##           release/0.1     #729      +/-   ##
===============================================
+ Coverage        92.91%   94.99%   +2.07%     
===============================================
  Files               82      109      +27     
  Lines             4292     5695    +1403     
  Branches             0      322     +322     
===============================================
+ Hits              3988     5410    +1422     
+ Misses             304      284      -20     
- Partials             0        1       +1     
Flag Coverage Δ
direct-launch 91.58% <93.05%> (?)
minimum-deps 93.19% <91.36%> (?)
python-3.10 94.25% <93.77%> (?)
python-3.11 94.18% <93.58%> (?)
python-3.12 94.38% <94.10%> (?)
server-2024R2 90.81% <84.90%> (?)
server-2025R1 94.18% <93.58%> (?)
server-2025R2 94.18% <93.58%> (?)
server-latest 94.80% <94.52%> (?)

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.

@greschd
Copy link
Member Author

greschd commented Dec 2, 2024

Documentation style action is failing due to a bug in the action itself; this runs fine on main. Reported as ansys/actions#655

@greschd greschd enabled auto-merge December 2, 2024 10:52
@greschd greschd merged commit 71c8f19 into release/0.1 Dec 2, 2024
30 of 31 checks passed
@greschd greschd deleted the maint/release_candidate branch December 2, 2024 10:53
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