|
| 1 | +.. _supported_versions: |
| 2 | + |
| 3 | +Python versions |
| 4 | +=============== |
| 5 | + |
| 6 | +The PyAnsys ecosystem follows `SPEC-0`_ for Python version support, |
| 7 | +which is also similar to `NEP 29`_. This means: |
| 8 | + |
| 9 | +* PyAnsys packages are expected to drop support for Python versions **3 years** after their |
| 10 | + initial release. |
| 11 | + |
| 12 | +You can find below the timeline for the end of support for each Python version according to the SPEC-0 policy |
| 13 | +as well as a table showing the Python versions supported by each PyAnsys metapackage, which might slightly |
| 14 | +differ from the SPEC-0 policy but is always aligned with it. |
| 15 | + |
| 16 | +* Grayed out Python versions are no longer supported by the current version of the PyAnsys metapackage. |
| 17 | +* Light blue Python versions are currently supported. |
| 18 | +* Dark blue Python versions are upcoming Python releases for which support is expected in the future. |
| 19 | + |
| 20 | +.. mermaid:: |
| 21 | + :caption: Python versions supported by SPEC-0 policy (red line) and PyAnsys Python versions supported (color coded) |
| 22 | + :alt: Python versions supported by SPEC-0 policy (red line) and PyAnsys Python versions supported (color coded) |
| 23 | + :align: center |
| 24 | + |
| 25 | + gantt |
| 26 | + dateFormat YYYY-MM-DD |
| 27 | + axisFormat %Y-%m |
| 28 | + Python 3.7 :done, des1, 2018-06-27, 3y |
| 29 | + Python 3.8 :done, des2, 2019-10-14, 3y |
| 30 | + Python 3.9 :active, des3, 2020-10-05, 3y |
| 31 | + Python 3.10 :active, des4, 2021-10-04, 3y |
| 32 | + Python 3.11 :active, des5, 2022-10-24, 3y |
| 33 | + Python 3.12 :active, des6, 2023-10-02, 3y |
| 34 | + Python 3.13 : des7, 2024-10-01, 3y |
| 35 | + |
| 36 | +Below you can find a list of the Python versions supported by each PyAnsys metapackage release: |
| 37 | + |
| 38 | ++-----------------+----------------------------+ |
| 39 | +| Package version | Python versions supported | |
| 40 | ++=================+============================+ |
| 41 | +| `2023.1`_ | Python 3.7 - Python 3.10 | |
| 42 | ++-----------------+----------------------------+ |
| 43 | +| `2023.2`_ | Python 3.8 - Python 3.11 | |
| 44 | ++-----------------+----------------------------+ |
| 45 | +| `2024.1`_ | Python 3.9 - Python 3.12 | |
| 46 | ++-----------------+----------------------------+ |
| 47 | +| `2024.2`_ | Python 3.9 - Python 3.12 | |
| 48 | ++-----------------+----------------------------+ |
| 49 | +| `development`_ | Python 3.9 - Python 3.12 | |
| 50 | ++-----------------+----------------------------+ |
| 51 | + |
| 52 | + |
| 53 | +.. LINKS |
| 54 | +.. _SPEC-0: https://scientific-python.org/specs/spec-0000/ |
| 55 | +.. _NEP 29: https://numpy.org/neps/nep-0029-deprecation_policy.html |
| 56 | +.. _2023.1: https://pypi.org/project/pyansys/2023.1.3/ |
| 57 | +.. _2023.2: https://pypi.org/project/pyansys/2023.2.11/ |
| 58 | +.. _2024.1: https://pypi.org/project/pyansys/2024.1.8/ |
| 59 | +.. _2024.2: https://pypi.org/project/pyansys/2024.2.0b2/ |
| 60 | +.. _development: https://github.com/ansys/pyansys |
0 commit comments