Skip to content

Commit 2f45223

Browse files
janvonrickenbachdependabot[bot]greschdroosrePipKat
authored
Bring release branch 0.4 up to date (#429)
* Add compatibility info for server version 7.1 (#315) * Add compatibility info for new release * Remove obsolete comment * Bump pylint from 2.17.4 to 2.17.5 (#318) Bumps [pylint](https://github.com/pylint-dev/pylint) from 2.17.4 to 2.17.5. - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v2.17.4...v2.17.5) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansys-sphinx-theme from 0.9.9 to 0.10.0 (#319) Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.9.9 to 0.10.0. - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.9.9...v0.10.0) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Show interactive PyVista plots in docs (#320) * Add PyVista dynamic image scraper * Remove theme option, split plots into separate cells where needed * Re-lock dependencies * Remove 'library-namespace' argument from 'build-wheelhouse' action (#321) The 'library-namespace' argument is no longer needed since version 4.1 of the 'build-wheelhouse' action. * Bump ansys-sphinx-theme from 0.10.0 to 0.10.2 (#325) Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.0 to 0.10.2. - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.10.0...v0.10.2) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Downgrade debugpy because 1.6.8 was yanked. (#326) * Bump mypy from 1.4.1 to 1.5.0 (#327) Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.0. - [Commits](python/mypy@v1.4.1...v1.5.0) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansys-sphinx-theme from 0.10.2 to 0.10.3 (#328) Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.2 to 0.10.3. - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.10.2...v0.10.3) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump mypy from 1.5.0 to 1.5.1 (#330) Bumps [mypy](https://github.com/python/mypy) from 1.5.0 to 1.5.1. - [Commits](python/mypy@v1.5.0...v1.5.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansys-sphinx-theme from 0.10.3 to 0.10.4 (#331) Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.3 to 0.10.4. - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.10.3...v0.10.4) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansys-sphinx-theme from 0.10.4 to 0.10.5 (#332) Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.4 to 0.10.5. - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.10.4...v0.10.5) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pyvista from 0.36.1 to 0.42.0 (#336) Bumps [pyvista](https://github.com/pyvista/pyvista) from 0.36.1 to 0.42.0. - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.36.1...v0.42.0) --- updated-dependencies: - dependency-name: pyvista dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pytest from 7.4.0 to 7.4.1 (#333) Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.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@7.4.0...7.4.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pre-commit from 3.3.3 to 3.4.0 (#335) Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.3 to 3.4.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.3.3...v3.4.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/checkout from 3 to 4 (#338) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansys-sphinx-theme from 0.10.5 to 0.10.6 (#337) Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.5 to 0.10.6. - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.10.5...v0.10.6) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pyvista from 0.36.1 to 0.42.1 (#339) Bumps [pyvista](https://github.com/pyvista/pyvista) from 0.36.1 to 0.42.1. - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.36.1...v0.42.1) --- updated-dependencies: - dependency-name: pyvista dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansys-sphinx-theme from 0.10.6 to 0.11.0 (#341) Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.10.6 to 0.11.0. - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.10.6...v0.11.0) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansys-sphinx-theme from 0.11.0 to 0.11.1 (#343) Bumps [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) from 0.11.0 to 0.11.1. - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.11.0...v0.11.1) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pytest from 7.4.1 to 7.4.2 (#340) Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.1 to 7.4.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@7.4.1...7.4.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump docker/login-action from 2 to 3 (#345) Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@v2...v3) --- updated-dependencies: - dependency-name: docker/login-action 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> * CompositeFiles: convert rst always into a list. (#347) * convert rst always into a list. Users were manually setting the rst as a pure path. * improve descriptions * implement suggestions from the code review and add unit test * Fix broken link, and port changes from 0.3.1 back to develop (#350) * Move minimum_requirements.txt to separate directory (#352) Dependabot struggles to get the correct lockfile to update when both 'poetry.lock' and 'minimum_requirements.txt' are located in the same directory and creates weird PR descriptions. See e.g. #351, where the actual base version is '0.42.1', but the PR mentions '0.36.1' which is the version from 'minimum_requirements.txt'. As a simple workaround, we move the 'minimum_requirements.txt' to a separate directory. * Use grouped updates for python dependencies (#334) * Bump the dependencies group with 4 updates (#354) Bumps the dependencies group with 4 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme), [matplotlib](https://github.com/matplotlib/matplotlib), [pyvista](https://github.com/pyvista/pyvista) and [pylint](https://github.com/pylint-dev/pylint). Updates `ansys-sphinx-theme` from 0.11.1 to 0.11.2 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.11.1...v0.11.2) Updates `matplotlib` from 3.7.2 to 3.7.3 - [Release notes](https://github.com/matplotlib/matplotlib/releases) - [Commits](matplotlib/matplotlib@v3.7.2...v3.7.3) Updates `pyvista` from 0.42.1 to 0.42.2 - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.42.1...v0.42.2) Updates `pylint` from 2.17.5 to 2.17.6 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v2.17.5...v2.17.6) --- updated-dependencies: - dependency-name: ansys-sphinx-theme 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: pyvista dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: pylint dependency-type: direct:production 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> * Feat/exposure of material names (#353) * add `material_names` as property to the CompositeModel which returns a dict[dpf mat id, material name]. * add unit test * apply pre-commit patch * Update documentation --------- Co-authored-by: Kathy Pippert <[email protected]> * Sort composite definition labels before comparing in test. (#361) Sort composite definition labels before comparing in test. Their order is irrelevant since all lookups happen with the label. * Bump the dependencies group with 5 updates (#364) Bumps the dependencies group with 5 updates: | Package | From | To | | --- | --- | --- | | [packaging](https://github.com/pypa/packaging) | `23.1` | `23.2` | | [numpydoc](https://github.com/numpy/numpydoc) | `1.5.0` | `1.6.0` | | [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `0.11.2` | `0.12.2` | | [pyvista](https://github.com/pyvista/pyvista) | `0.42.2` | `0.42.3` | | [pylint](https://github.com/pylint-dev/pylint) | `2.17.6` | `2.17.7` | Updates `packaging` from 23.1 to 23.2 - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](pypa/packaging@23.1...23.2) Updates `numpydoc` from 1.5.0 to 1.6.0 - [Release notes](https://github.com/numpy/numpydoc/releases) - [Changelog](https://github.com/numpy/numpydoc/blob/main/doc/release_notes.rst) - [Commits](numpy/numpydoc@v1.5.0...v1.6.0) Updates `ansys-sphinx-theme` from 0.11.2 to 0.12.2 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.11.2...v0.12.2) Updates `pyvista` from 0.42.2 to 0.42.3 - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.42.2...v0.42.3) Updates `pylint` from 2.17.6 to 2.17.7 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v2.17.6...v2.17.7) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: numpydoc dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: ansys-sphinx-theme 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: pylint dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update supported python versions (#360) - Add support for Python 3.12 - Drop support for Python 3.8 - Run `pyupgrade` with `--py39-plus` - Restrict upper Python version to `<3.13`, to allow solving for numpy `1.26` * Bump the dependencies group with 2 updates (#365) Bumps the dependencies group with 2 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [mypy](https://github.com/python/mypy). Updates `ansys-sphinx-theme` from 0.12.2 to 0.12.3 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.12.2...v0.12.3) Updates `mypy` from 1.5.1 to 1.6.0 - [Commits](python/mypy@v1.5.1...v1.6.0) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: mypy dependency-type: direct:production 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> * Document composite:minmax_per_element_operator (#366) * Add note that the critical layer indices are 1-based. * Add note when using get_selected_indices * Bump the dependencies group with 2 updates (#367) Bumps the dependencies group with 2 updates: [numpy](https://github.com/numpy/numpy) and [pre-commit](https://github.com/pre-commit/pre-commit). Updates `numpy` from 1.26.0 to 1.26.1 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v1.26.0...v1.26.1) Updates `pre-commit` from 3.4.0 to 3.5.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.4.0...v3.5.0) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: pre-commit dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 2 updates (#370) Bumps the dependencies group with 2 updates: [pypandoc](https://github.com/JessicaTegner/pypandoc) and [mypy](https://github.com/python/mypy). Updates `pypandoc` from 1.11 to 1.12 - [Release notes](https://github.com/JessicaTegner/pypandoc/releases) - [Changelog](https://github.com/JessicaTegner/pypandoc/blob/master/release.md) - [Commits](JessicaTegner/pypandoc@v1.11...v1.12) Updates `mypy` from 1.6.0 to 1.6.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.6.0...v1.6.1) --- updated-dependencies: - dependency-name: pypandoc dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump pytest from 7.4.2 to 7.4.3 (#373) Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.2 to 7.4.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@7.4.2...7.4.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update minimum DPF core requirement to 0.8.0 (#374) Update the minimum requirement for `ansys-dpf-core` to `0.8.0` in `minimum_requirements.txt`, to match the `pyproject.toml` definition `>=0.8,<1`. * Add support for plots on reference surfaces (#384) * Add support for plots on reference surfaces * Fix layer index that starts at zero for older versions * Add more backward compatibility tests * Only test material name for versions >=7.1 * Support section data from RST (#388) * Import section data directly from the RST (MAPDL solution) * Postprocessing of layered shell and solid elements of MAPDL models which are not preprocessed with ACP. * Additional examples and documentation for the new workflow --------- Co-authored-by: Kathy Pippert <[email protected]> Co-authored-by: janvonrickenbach <[email protected]> * Bump the dependencies group with 6 updates (#390) * Bump the dependencies group with 6 updates Bumps the dependencies group with 6 updates: | Package | From | To | | --- | --- | --- | | [numpy](https://github.com/numpy/numpy) | `1.26.1` | `1.26.2` | | [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `0.12.3` | `0.12.5` | | [mypy](https://github.com/python/mypy) | `1.6.1` | `1.7.1` | | [ansys-dpf-core](https://github.com/ansys/pydpf-core) | `0.9.0` | `0.10.0` | | [matplotlib](https://github.com/matplotlib/matplotlib) | `3.8.0` | `3.8.2` | | [scipy](https://github.com/scipy/scipy) | `1.11.3` | `1.11.4` | Updates `numpy` from 1.26.1 to 1.26.2 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v1.26.1...v1.26.2) Updates `ansys-sphinx-theme` from 0.12.3 to 0.12.5 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.12.3...v0.12.5) Updates `mypy` from 1.6.1 to 1.7.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.6.1...v1.7.1) Updates `ansys-dpf-core` from 0.9.0 to 0.10.0 - [Release notes](https://github.com/ansys/pydpf-core/releases) - [Commits](ansys/pydpf-core@v0.9.0...v0.10.0) Updates `matplotlib` from 3.8.0 to 3.8.2 - [Release notes](https://github.com/matplotlib/matplotlib/releases) - [Commits](matplotlib/matplotlib@v3.8.0...v3.8.2) Updates `scipy` from 1.11.3 to 1.11.4 - [Release notes](https://github.com/scipy/scipy/releases) - [Commits](scipy/scipy@v1.11.3...v1.11.4) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: mypy 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-minor dependency-group: dependencies - dependency-name: matplotlib 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 ... Signed-off-by: dependabot[bot] <[email protected]> * Fix type hints for paths * Explicitly uninstall ansys-dpf-core in test-minimal --------- 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]> * Bump actions/labeler from 4 to 5 (#393) * Bump actions/labeler from 4 to 5 Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](actions/labeler@v4...v5) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update .github/workflows/label.yml * Update labeler config --------- 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]> Co-authored-by: Dominik Gresch <[email protected]> * Bump actions/setup-python from 4 to 5 (#394) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 1 update (#395) Bumps the dependencies group with 1 update: [pyvista](https://github.com/pyvista/pyvista). - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.42.3...v0.43.0) --- updated-dependencies: - dependency-name: pyvista dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 1 update (#397) Bumps the dependencies group with 1 update: [pre-commit](https://github.com/pre-commit/pre-commit). - [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.5.0...v3.6.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 1 update (#398) Bumps the dependencies group with 1 update: [pyvista](https://github.com/pyvista/pyvista). - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.43.0...v0.43.1) --- updated-dependencies: - dependency-name: pyvista dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ansys/actions from 4 to 5 (#401) Bumps [ansys/actions](https://github.com/ansys/actions) from 4 to 5. - [Release notes](https://github.com/ansys/actions/releases) - [Commits](ansys/actions@v4...v5) --- updated-dependencies: - dependency-name: ansys/actions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/upload-artifact from 3 to 4 (#399) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 2 updates (#402) Bumps the dependencies group with 2 updates: [mypy](https://github.com/python/mypy) and [ansys-dpf-core](https://github.com/ansys/pydpf-core). Updates `mypy` from 1.7.1 to 1.8.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.7.1...v1.8.0) Updates `ansys-dpf-core` from 0.10.0 to 0.10.1 - [Release notes](https://github.com/ansys/pydpf-core/releases) - [Commits](ansys/pydpf-core@v0.10.0...v0.10.1) --- updated-dependencies: - dependency-name: mypy 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 ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 1 update (#403) Bumps the dependencies group with 1 update: [pytest](https://github.com/pytest-dev/pytest). Updates `pytest` from 7.4.3 to 7.4.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@7.4.3...7.4.4) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 1 update (#404) Bumps the dependencies group with 1 update: [numpy](https://github.com/numpy/numpy). Updates `numpy` from 1.26.2 to 1.26.3 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v1.26.2...v1.26.3) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 1 update (#407) Bumps the dependencies group with 1 update: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme). Updates `ansys-sphinx-theme` from 0.12.5 to 0.13.0 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.12.5...v0.13.0) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production 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> * Remove obsolet premium context (#408) Remove obsolete premium context, since premium is anyway the default. * Add convenience function to get ply-wise data (#396) * Add function to extract ply wise data * Add test for extract ply wise data * Update filtering example * Upload files to unique folder on server to avoid conflicts (#409) * Upload files to unique folder on server to avoid conflicts * Use correct path when uploading example files * New fatigue example (#405) * Add fatigue example * Bump the dependencies group with 2 updates (#411) Bumps the dependencies group with 2 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [pyvista](https://github.com/pyvista/pyvista). Updates `ansys-sphinx-theme` from 0.13.0 to 0.13.1 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.13.0...v0.13.1) Updates `pyvista` from 0.43.1 to 0.43.2 - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.43.1...v0.43.2) --- updated-dependencies: - dependency-name: ansys-sphinx-theme 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 ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add license headers via pre-commit hook (#410) * Add and run pre-commit hook to add license headers * Manually change top-level LICENSE year * cicd: update add-license-header hook (#414) * Bump the dependencies group with 2 updates (#415) Bumps the dependencies group with 2 updates: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) and [scipy](https://github.com/scipy/scipy). Updates `ansys-sphinx-theme` from 0.13.1 to 0.13.2 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.13.1...v0.13.2) Updates `scipy` from 1.11.4 to 1.12.0 - [Release notes](https://github.com/scipy/scipy/releases) - [Commits](scipy/scipy@v1.11.4...v1.12.0) --- updated-dependencies: - dependency-name: ansys-sphinx-theme 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-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump codecov/codecov-action from 3 to 4 (#416) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump peter-evans/create-or-update-comment from 3 to 4 (#413) Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3 to 4. - [Release notes](https://github.com/peter-evans/create-or-update-comment/releases) - [Commits](peter-evans/create-or-update-comment@v3...v4) --- updated-dependencies: - dependency-name: peter-evans/create-or-update-comment dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 2 updates (#417) Bumps the dependencies group with 2 updates: [numpy](https://github.com/numpy/numpy) and [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme). Updates `numpy` from 1.26.3 to 1.26.4 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v1.26.3...v1.26.4) Updates `ansys-sphinx-theme` from 0.13.2 to 0.13.3 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v0.13.2...v0.13.3) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump the dependencies group with 1 update (#418) Bumps the dependencies group with 1 update: [pyvista](https://github.com/pyvista/pyvista). Updates `pyvista` from 0.43.2 to 0.43.3 - [Release notes](https://github.com/pyvista/pyvista/releases) - [Commits](pyvista/pyvista@v0.43.2...v0.43.3) --- updated-dependencies: - dependency-name: pyvista dependency-type: direct:production 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> * Convert numpy slice to list to fix test (#425) Convert numpy slice to list * Fix vale warnings (#423) Vale had a breaking change / bug where warnings now cause a non-zero exit code. To get PR (e.g. dependabot) working again, we need to fix the warnings. * Feat/add release checklist (#427) * Add release checklist and add missing version to compatibility * Add tests for the newly tagged version. * Bump version to 0.4.0 --------- 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]> Co-authored-by: René Roos <[email protected]> Co-authored-by: Kathy Pippert <[email protected]> Co-authored-by: Dominik Gresch <[email protected]> Co-authored-by: Roberto Pastor Muela <[email protected]>
1 parent 0b663bc commit 2f45223

File tree

130 files changed

+11155
-2784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+11155
-2784
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Contains minimum requirements that we support
22
numpy == 1.22.0
33
matplotlib == 3.5.0
4-
ansys-dpf-core == 0.7.3
4+
ansys-dpf-core == 0.8.0
55
pyvista == 0.36.1

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ updates:
55
schedule:
66
interval: "daily"
77
versioning-strategy: "lockfile-only"
8+
groups:
9+
dependencies:
10+
patterns:
11+
- "*" # Update all packages together
812
- package-ecosystem: "github-actions"
913
directory: "/"
1014
schedule:

.github/labeler.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
documentation:
2-
- doc/source/**/*
2+
- changed-files:
3+
- any-glob-to-any-file: ["doc/source/**/*"]
34
maintenance:
4-
- .github/**/*
5-
- .flake8
6-
- pyproject.toml
5+
- changed-files:
6+
- any-glob-to-any-file: [".github/**/*", ".flake8", "pyproject.toml"]
77
dependencies:
8-
- requirements/*
8+
- changed-files:
9+
- any-glob-to-any-file: ["poetry.lock"]

.github/workflows/ci_cd.yml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
name: "Code style"
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232
- name: Set up Python
33-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3434
with:
3535
python-version: ${{ env.MAIN_PYTHON_VERSION }}
3636
- name: Install dependencies
@@ -45,7 +45,7 @@ jobs:
4545
name: "Documentation style"
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: ansys/actions/doc-style@v4
48+
- uses: ansys/actions/doc-style@v5
4949
with:
5050
token: ${{ secrets.GITHUB_TOKEN }}
5151

@@ -58,11 +58,11 @@ jobs:
5858
# docker images on the windows agents. See the issue
5959
# https://github.com/actions/runner-images/issues/1143
6060
os: [ubuntu-latest]
61-
python-version: ['3.8', '3.9', '3.10', '3.11']
61+
python-version: ['3.9', '3.10', '3.11', '3.12']
6262
fail-fast: false
6363
steps:
6464
- name: "Login in Github Container registry"
65-
uses: docker/login-action@v2
65+
uses: docker/login-action@v3
6666
with:
6767
registry: ghcr.io
6868
username: ${{ github.actor }}
@@ -73,13 +73,16 @@ jobs:
7373
# if other containers must be tested.
7474
run: |
7575
docker pull ghcr.io/ansys/pydpf-composites:${{ env.CONTAINER_TAG }}
76+
docker pull ghcr.io/ansys/pydpf-composites:2024r2_pre0
77+
docker pull ghcr.io/ansys/pydpf-composites:2024r1_pre0
78+
docker pull ghcr.io/ansys/pydpf-composites:2024r1
7679
docker pull ghcr.io/ansys/pydpf-composites:2023r2_pre1
7780
7881
- name: "Checkout the project"
79-
uses: actions/checkout@v3
82+
uses: actions/checkout@v4
8083

8184
- name: "Set up Python ${{ matrix.python-version }}"
82-
uses: actions/setup-python@v4
85+
uses: actions/setup-python@v5
8386
with:
8487
python-version: ${{ matrix.python-version }}
8588

@@ -96,7 +99,7 @@ jobs:
9699
LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}
97100

98101
- name: Upload coverage reports to Codecov
99-
uses: codecov/codecov-action@v3
102+
uses: codecov/codecov-action@v4
100103
with:
101104
token: ${{ secrets.CODECOV_TOKEN }}
102105
files: coverage.xml
@@ -105,7 +108,7 @@ jobs:
105108
# pipeline secrets.
106109
# - name: "Upload server output"
107110
# if: always()
108-
# uses: actions/upload-artifact@v3
111+
# uses: actions/upload-artifact@v4
109112
# with:
110113
# name: server_output
111114
# path: tests/logs/*_log_*.txt
@@ -117,19 +120,19 @@ jobs:
117120

118121
steps:
119122
- name: "Login in Github Container registry"
120-
uses: docker/login-action@v2
123+
uses: docker/login-action@v3
121124
with:
122125
registry: ghcr.io
123126
username: ${{ github.actor }}
124127
password: ${{ secrets.GITHUB_TOKEN }}
125128
- name: "Pull and start DPF container"
126129
run: |
127130
docker pull ghcr.io/ansys/pydpf-composites:${{ env.CONTAINER_TAG }}
128-
- uses: actions/checkout@v3
131+
- uses: actions/checkout@v4
129132
- name: Set up Python
130-
uses: actions/setup-python@v4
133+
uses: actions/setup-python@v5
131134
with:
132-
python-version: 3.8
135+
python-version: 3.9
133136
- name: Install dependencies
134137
run: |
135138
python -m pip install --upgrade pip tox tox-gh-actions
@@ -151,7 +154,7 @@ jobs:
151154
sudo apt-get install pandoc xvfb
152155
153156
- name: "Login in Github Container registry"
154-
uses: docker/login-action@v2
157+
uses: docker/login-action@v3
155158
with:
156159
registry: ghcr.io
157160
username: ${{ github.actor }}
@@ -163,10 +166,10 @@ jobs:
163166
docker run -d --restart always -p 50052:50052 -e ANSYSLMD_LICENSE_FILE=1055@${{ secrets.LICENSE_SERVER }} -e ANSYS_DPF_ACCEPT_LA=Y ghcr.io/ansys/pydpf-composites:${{ env.CONTAINER_TAG }}
164167
165168
- name: "Checkout the project"
166-
uses: actions/checkout@v3
169+
uses: actions/checkout@v4
167170

168171
- name: "Set up Python ${{ env.MAIN_PYTHON_VERSION }}"
169-
uses: actions/setup-python@v4
172+
uses: actions/setup-python@v5
170173
with:
171174
python-version: ${{ env.MAIN_PYTHON_VERSION }}
172175

@@ -180,7 +183,7 @@ jobs:
180183
tox -e doc-linux
181184
182185
- name: "Upload HTML Documentation"
183-
uses: actions/upload-artifact@v3
186+
uses: actions/upload-artifact@v4
184187
with:
185188
name: documentation-html
186189
path: .tox/doc_out/html
@@ -195,7 +198,7 @@ jobs:
195198
tox -e doc-linux-pdf
196199
197200
- name: "Upload PDF Documentation"
198-
uses: actions/upload-artifact@v3
201+
uses: actions/upload-artifact@v4
199202
with:
200203
name: documentation-pdf
201204
path: .tox/doc_out/latex/ansys-dpf-composites.pdf
@@ -207,7 +210,7 @@ jobs:
207210
needs: [doc-style, doc-build, code-style, tests, tests_minimal_version]
208211
steps:
209212
- name: "Build library source and wheel artifacts"
210-
uses: ansys/actions/build-library@v4
213+
uses: ansys/actions/build-library@v5
211214
with:
212215
library-name: ${{ env.PACKAGE_NAME }}
213216

@@ -218,13 +221,12 @@ jobs:
218221
strategy:
219222
matrix:
220223
os: [ubuntu-latest, windows-latest]
221-
python-version: ['3.8', '3.9', '3.10', '3.11']
224+
python-version: ['3.9', '3.10', '3.11', '3.12']
222225
steps:
223226
- name: "Build a wheelhouse of the Python library"
224-
uses: ansys/actions/build-wheelhouse@v4
227+
uses: ansys/actions/build-wheelhouse@v5
225228
with:
226229
library-name: "ansys-dpf-composites"
227-
library-namespace: "ansys.dpf.composites"
228230
operating-system: ${{ matrix.os }}
229231
python-version: ${{ matrix.python-version }}
230232

@@ -234,7 +236,7 @@ jobs:
234236
runs-on: ubuntu-latest
235237
needs: [build-library, build-wheelhouse]
236238
steps:
237-
- uses: ansys/actions/doc-deploy-dev@v4
239+
- uses: ansys/actions/doc-deploy-dev@v5
238240
with:
239241
cname: ${{ env.DOCUMENTATION_CNAME }}
240242
token: ${{ secrets.GITHUB_TOKEN }}
@@ -248,14 +250,14 @@ jobs:
248250
steps:
249251

250252
- name: "Release to the public PyPI repository"
251-
uses: ansys/actions/release-pypi-public@v4
253+
uses: ansys/actions/release-pypi-public@v5
252254
with:
253255
library-name: ${{ env.PACKAGE_NAME }}
254256
twine-username: "__token__"
255257
twine-token: ${{ secrets.PYPI_TOKEN }}
256258

257259
- name: "Release to GitHub"
258-
uses: ansys/actions/release-github@v4
260+
uses: ansys/actions/release-github@v5
259261
with:
260262
library-name: ${{ env.PACKAGE_NAME }}
261263

@@ -265,7 +267,7 @@ jobs:
265267
needs: [release]
266268
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/v')
267269
steps:
268-
- uses: ansys/actions/doc-deploy-stable@v4
270+
- uses: ansys/actions/doc-deploy-stable@v5
269271
with:
270272
cname: ${{ env.DOCUMENTATION_CNAME }}
271273
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/label.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Syncer
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- uses: micnncim/action-label-syncer@v1
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -32,10 +32,9 @@ jobs:
3232

3333
# Label based on modified files
3434
- name: Label based on changed files
35-
uses: actions/labeler@v4
35+
uses: actions/labeler@v5
3636
with:
3737
repo-token: ${{ secrets.GITHUB_TOKEN }}
38-
sync-labels: ''
3938

4039
# Label based on branch name
4140
- uses: actions-ecosystem/action-add-labels@v1
@@ -70,7 +69,7 @@ jobs:
7069
runs-on: ubuntu-latest
7170
steps:
7271
- name: Suggest to add labels
73-
uses: peter-evans/create-or-update-comment@v3
72+
uses: peter-evans/create-or-update-comment@v4
7473
# Execute only when no labels have been applied to the pull request
7574
if: toJSON(github.event.pull_request.labels.*.name) == '{}'
7675
with:

.github/workflows/package_cleanup.yml

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

.pre-commit-config.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
rev: v3.7.0
2222
hooks:
2323
- id: pyupgrade
24-
args: [--py38-plus]
24+
args: [--py39-plus]
2525

2626
- repo: https://github.com/PyCQA/flake8
2727
rev: 6.0.0
@@ -42,6 +42,12 @@ repos:
4242
additional_dependencies: ['tomli'] # needed to parse pyproject.toml
4343
exclude: '^poetry\.lock$'
4444

45+
- repo: https://github.com/ansys/pre-commit-hooks
46+
rev: v0.2.8
47+
hooks:
48+
- id: add-license-headers
49+
args: ["--start_year", "2023"]
50+
4551
- repo: local
4652
hooks:
4753
- id: poetry-pyproject-consistency

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 ANSYS, Inc. All rights reserved.
3+
Copyright (c) 2023 - 2024 ANSYS, Inc. All rights reserved.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PyDPF Composites
88
:target: https://docs.pyansys.com/
99
:alt: PyAnsys
1010

11-
.. |python| image:: https://img.shields.io/badge/Python-%3E%3D3.8-blue
11+
.. |python| image:: https://img.shields.io/badge/Python-%3E%3D3.9-blue
1212
:target: https://pypi.org/project/ansys-dpf-composites/
1313
:alt: Python
1414

@@ -33,13 +33,14 @@ PyDPF Composites
3333
:alt: Black
3434

3535

36-
PyDPF Composites is a Python wrapper for Ansys DPF composites. It implements
37-
classes on top of DPF Composites operators and data accessors for short
38-
fiber and layered composites (layered shell and solid elements). This module
39-
can be used to postprocess fiber reinforced plastics and layered composites and
40-
to implement custom failure criteria and computation. For information demonstrating
41-
the behavior and usage of PyDPF Composites, see `Examples`_ in the DPF Composite
42-
documentation.
36+
PyDPF Composites enables the post-processing of composite structures based on
37+
`Ansys DPF`_ and the DPF Composites plugin. So it is a Python wrapper which
38+
implements classes on top of DPF Composites operators and data accessors for
39+
short fiber and layered composites (layered shell and solid elements). This
40+
module can be used to postprocess fiber reinforced plastics and layered
41+
composites, and to implement custom failure criteria and computation. For
42+
information demonstrating the behavior and usage of PyDPF Composites,
43+
see `Examples`_ in the DPF Composite documentation.
4344

4445
.. START_MARKER_FOR_SPHINX_DOCS
4546
@@ -102,7 +103,7 @@ server is started.
102103

103104
#. Run tests with a Docker container:
104105

105-
Follow the steps in `Getting The DPF Server Docker Image`_ to get
106+
Follow the steps in `Getting the DPF server Docker image`_ to get
106107
and run the DPF docker image. Run the tests with the following command
107108

108109
.. code:: bash
@@ -129,7 +130,7 @@ server is started.
129130
Build documentation
130131
===================
131132

132-
Follow the description in `Getting The DPF Server Docker Image`_ image to get
133+
Follow the description in `Getting the DPF server Docker image`_ image to get
133134
and run the dpf docker image.
134135

135136
On Windows, build the documentation with:
@@ -194,5 +195,6 @@ released versions.
194195
.. _pytest: https://docs.pytest.org/en/stable/
195196
.. _Sphinx: https://www.sphinx-doc.org/en/master/
196197
.. _tox: https://tox.wiki/
197-
.. _Examples: https://composites.dpf.docs.pyansys.com/dev/examples/index.html
198-
.. _Getting The DPF Server Docker Image: https://composites.dpf.docs.pyansys.com/version/stable/intro.html#getting-the-dpf-server-docker-image
198+
.. _Examples: https://composites.dpf.docs.pyansys.com/version/stable/examples/index.html
199+
.. _Getting the DPF server Docker image: https://composites.dpf.docs.pyansys.com/version/stable/intro.html#getting-the-dpf-server-docker-image
200+
.. _Ansys DPF: https://dpf.docs.pyansys.com/version/stable/

doc/.vale.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ Vocab = ANSYS
2828
BasedOnStyles = Vale, Google
2929

3030
# Removing Google-specific rule - Not applicable under some circumstances
31-
Google.Colons = NO
31+
Google.Colons = NO
32+
33+
TokenIgnores = ((:py)?:(func|class|meth|attr|py):`(?:.|\n)*?`)|(<.*>)|(.. code::.*\n| .*)

0 commit comments

Comments
 (0)