-
Notifications
You must be signed in to change notification settings - Fork 143
Description
DISCLAIMER: This issue was created by a bot in behalf of the PyAnsys Core team. We have not verified whether your repository is already supporting Python 3.14. If that's the case, please close this issue and let us know by commenting in it.
Description
According to our internal guidance, we should start active support for Python 3.14 across all repositories in the PyAnsys ecosystem. Up until now, most of our projects have been blocked by some dependencies that were not compatible with Python 3.14. However, most of these dependencies have been updated to support Python 3.14, and we are now able to move forward with this change.
See ADR-21 for more information. Specifically, the section corresponding to Adding support
Action items
- Build the wheelhouse of the various repositories using Python 3.14.
- Build the documentation using Python 3.14 (whenever possible).
- Run the test suites using Python 3.14 (whenever possible).
Steps 2 and 3 may not be possible or undesired from your side, in case you want to stick to a different version of Python for the documentation and testing. Most repositories have a MAIN_PYTHON_VERSION environment variable that we are suggesting to bump to 3.14.
Reference pull request
For your reference, you can check the following PR that was created to bump the Python version to 3.14 in the ansys-tools-visualization-interface and ansys-geometry-core packages.
- Simple example PR: Ansys Tools Visualization Interface
- More complex example PR: PyAnsys Geometry
Additional information
Please ensure that all necessary updates and modifications are made to support Python 3.14 effectively. If there are any issues or concerns, feel free to discuss them in this issue.
Thank you for your cooperation.
Extra: blocking dependencies for Python 3.14 and their status
Most of the PyAnsys projects have a dependency on the vtk package, coming from its usage in the pyvista package. The vtk package has been updated to version 9.6.0 which now supports Python 3.14.
PyVista has also performed a release (0.47.X) to support Python 3.14, since it allows for the new VTK version to be used.
There were some incompatibilities tracked by the PyVista team in the process, that were listed in their repository. Some of them are listed here:
- Support VTK 9.6:
https://github.com/pyvista/pyvista/pull/8228 - Rendering issues with VTK 9.6:
https://github.com/pyvista/pyvista/issues/8252
If you want this repository to be excluded from this automated maintenance process, please let us know by filling in the opt-out request form.