Skip to content

Conversation

@greschd
Copy link
Member

@greschd greschd commented Jan 9, 2025

Merge latest changes from main, and bump the version to 0.1.0.

greschd and others added 22 commits December 2, 2024 11:06
Manually run `poetry lock` to upgrade indirect dependencies.
Make the example thumbnails in the documentation bigger:
- Create the thumbnails in 4:3 aspect ratio, which matches the
  aspect ratio used when creating images in the examples. This
  avoids empty space on the top / bottom of the thumbnail.
- Increase the `max-width` and `max-height` of the thumbnails
  to 100% by adding a custom CSS file.
Add the warning that PyMechanical integration is experimental to
the CDB to PyMechanical example, since it uses the helper function
to load the ACPCompositeDefinitions.h5 into Mechanical.
* Bump the dependencies group with 6 updates

Bumps the dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [numpy](https://github.com/numpy/numpy) | `2.1.3` | `2.2.0` |
| [ansys-tools-local-product-launcher](https://github.com/ansys/ansys-tools-local-product-launcher) | `0.1.0` | `0.1.1` |
| [ansys-tools-filetransfer](https://github.com/ansys/ansys-tools-filetransfer) | `0.1.0` | `0.1.1` |
| [types-protobuf](https://github.com/python/typeshed) | `5.28.3.20241030` | `5.29.1.20241207` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `1.2.2` | `1.2.3` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.122.1` | `6.122.3` |


Updates `numpy` from 2.1.3 to 2.2.0
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.1.3...v2.2.0)

Updates `ansys-tools-local-product-launcher` from 0.1.0 to 0.1.1
- [Release notes](https://github.com/ansys/ansys-tools-local-product-launcher/releases)
- [Commits](ansys/ansys-tools-local-product-launcher@v0.1.0...v0.1.1)

Updates `ansys-tools-filetransfer` from 0.1.0 to 0.1.1
- [Release notes](https://github.com/ansys/ansys-tools-filetransfer/releases)
- [Changelog](https://github.com/ansys/ansys-tools-filetransfer/blob/main/CHANGELOG.md)
- [Commits](ansys/ansys-tools-filetransfer@v0.1.0...v0.1.1)

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

Updates `ansys-sphinx-theme` from 1.2.2 to 1.2.3
- [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases)
- [Commits](ansys/ansys-sphinx-theme@v1.2.2...v1.2.3)

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

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ansys-tools-local-product-launcher
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-tools-filetransfer
  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-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-patch
  dependency-group: dependencies
...

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

* Fix numpy type hints

---------

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>
Co-authored-by: Dominik Gresch <greschd@users.noreply.github.com>
Added exit call to avoid problems when building documentation
Added danger hint when using windows paths
Bumps the dependencies group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [numpy](https://github.com/numpy/numpy) | `2.2.0` | `2.2.1` |
| [ansys-tools-path](https://github.com/ansys/ansys-tools-path) | `0.7.0` | `0.7.1` |
| [ansys-dpf-composites](https://github.com/ansys/pydpf-composites) | `0.6.1` | `0.6.2` |
| [matplotlib](https://github.com/matplotlib/matplotlib) | `3.9.3` | `3.10.0` |
| [scipy](https://github.com/scipy/scipy) | `1.14.1` | `1.15.0` |
| [mypy](https://github.com/python/mypy) | `1.13.0` | `1.14.1` |
| [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme) | `1.2.3` | `1.2.4` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.122.3` | `6.123.7` |



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

Updates `ansys-tools-path` from 0.7.0 to 0.7.1
- [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.7.0...v0.7.1)

Updates `ansys-dpf-composites` from 0.6.1 to 0.6.2
- [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.6.1...v0.6.2)

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

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

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

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

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

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ansys-tools-path
  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-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-minor
  dependency-group: dependencies
- dependency-name: mypy
  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>
Add a check that the file exists when calling the (no-op)
`upload_file` method on the local file transfer strategy.

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

Resolves #748.
Add the PyACP logo, using it in the main README and the documentation main page.
@codecov
Copy link

codecov bot commented Jan 9, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 94.98%. Comparing base (71c8f19) to head (df52dc2).
Report is 23 commits behind head on release/0.1.

Files with missing lines Patch % Lines
src/ansys/acp/core/extras/example_helpers.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           release/0.1     #757      +/-   ##
===============================================
- Coverage        94.99%   94.98%   -0.02%     
===============================================
  Files              109      109              
  Lines             5695     5698       +3     
  Branches           322      323       +1     
===============================================
+ Hits              5410     5412       +2     
- Misses             284      285       +1     
  Partials             1        1              
Flag Coverage Δ
direct-launch 91.57% <80.00%> (-0.02%) ⬇️
minimum-deps 93.14% <20.00%> (-0.05%) ⬇️
python-3.10 94.20% <40.00%> (-0.05%) ⬇️
python-3.11 94.13% <40.00%> (-0.05%) ⬇️
python-3.12 94.33% <40.00%> (-0.05%) ⬇️
server-2024R2 90.76% <40.00%> (-0.05%) ⬇️
server-2025R1 94.13% <40.00%> (-0.05%) ⬇️
server-2025R2 94.13% <40.00%> (-0.05%) ⬇️
server-latest 94.78% <80.00%> (-0.02%) ⬇️

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 greschd enabled auto-merge January 9, 2025 23:09
@greschd greschd merged commit b4e0bd1 into release/0.1 Jan 10, 2025
31 of 33 checks passed
@greschd greschd deleted the maint/release_0.1.0 branch January 10, 2025 07: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