Skip to content

Commit f18d040

Browse files
authored
feat: dropping support for Python 3.9 and upgrade to v2025.1.dev0 (#651)
* feat: dropping support for Python 3.9 in the metapackage and upgrade to 2025.1.dev0 * docs: include link
1 parent a27506f commit f18d040

File tree

5 files changed

+23
-19
lines changed

5 files changed

+23
-19
lines changed

.github/workflows/ci-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
fail-fast: false
6969
matrix:
7070
os: [windows-latest, ubuntu-latest]
71-
python-version: ['3.9', '3.10', '3.11', '3.12']
71+
python-version: ['3.10', '3.11', '3.12']
7272

7373
steps:
7474
- uses: actions/checkout@v4
@@ -95,7 +95,7 @@ jobs:
9595
fail-fast: false
9696
matrix:
9797
os: [windows-latest, ubuntu-latest]
98-
python-version: ['3.9', '3.10', '3.11', '3.12']
98+
python-version: ['3.10', '3.11', '3.12']
9999
extras-version: ['fluent-all', 'mapdl-all', 'tools']
100100

101101
steps:
@@ -123,7 +123,7 @@ jobs:
123123
fail-fast: false
124124
matrix:
125125
os: [windows-latest, ubuntu-latest, macos-latest]
126-
python-version: ['3.9', '3.10', '3.11', '3.12']
126+
python-version: ['3.10', '3.11', '3.12']
127127

128128
steps:
129129
- name: Build wheelhouse and perform smoke test
@@ -217,7 +217,7 @@ jobs:
217217
uses: ansys/actions/release-github@v6
218218
with:
219219
library-name: ${{ env.PACKAGE_NAME }}
220-
additional-artifacts: 'all-deps-Linux-3.9 all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Linux-3.12 all-deps-Windows-3.9 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-Windows-3.12 all-deps-macOS-3.9 all-deps-macOS-3.10 all-deps-macOS-3.11 all-deps-macOS-3.12'
220+
additional-artifacts: 'all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Linux-3.12 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-Windows-3.12 all-deps-macOS-3.10 all-deps-macOS-3.11 all-deps-macOS-3.12'
221221

222222
docs-release:
223223
name: Deploy release docs

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,18 +188,18 @@ the ``pyansys`` metapackage is downloading the wheelhouse archive from the
188188
`Releases Page <https://github.com/ansys/pyansys/releases>`_ for your corresponding machine architecture.
189189

190190
Each wheelhouse archive contains all the Python wheels necessary to install the ``pyansys`` metapackage from
191-
scratch on Windows, Linux, and MacOS from Python 3.9 to 3.11. You can install this on an isolated system with
191+
scratch on Windows, Linux, and MacOS from Python 3.10 to 3.12. You can install this on an isolated system with
192192
a fresh Python installation or on a virtual environment.
193193

194-
For example, on Linux with Python 3.9, unzip the wheelhouse archive and install it with the following
194+
For example, on Linux with Python 3.10, unzip the wheelhouse archive and install it with the following
195195
commands:
196196

197197
.. code:: bash
198198
199-
unzip pyansys-v2024.2.dev0-wheelhouse-Linux-3.9-core.zip wheelhouse
199+
unzip pyansys-v2025.1.dev0-wheelhouse-Linux-3.10-core.zip wheelhouse
200200
pip install pyansys -f wheelhouse --no-index --upgrade --ignore-installed
201201
202-
If you're on Windows with Python 3.9, unzip to a wheelhouse directory and then install using
202+
If you're on Windows with Python 3.10, unzip to a wheelhouse directory and then install using
203203
the same ``pip`` command as in the previous example.
204204

205205
Consider installing using a `virtual environment <https://docs.python.org/3/library/venv.html>`_.

doc/source/getting_started.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,18 @@ corresponding machine architecture.
7979

8080
Each wheelhouse archive contains all the Python wheels necessary to install
8181
``pyansys`` metapackage from scratch on Windows, Linux, and MacOS from Python
82-
3.9 to 3.11. You can install this on an isolated system with a fresh Python
82+
3.10 to 3.12. You can install this on an isolated system with a fresh Python
8383
installation or on a virtual environment.
8484

85-
For example, on Linux with Python 3.9, unzip the wheelhouse archive and install
85+
For example, on Linux with Python 3.10, unzip the wheelhouse archive and install
8686
it with the following:
8787

8888
.. code:: bash
8989
90-
unzip pyansys-v2024.2.dev0-wheelhouse-Linux-3.9-core.zip wheelhouse
90+
unzip pyansys-v2025.1.dev0-wheelhouse-Linux-3.10-core.zip wheelhouse
9191
pip install pyansys -f wheelhouse --no-index --upgrade --ignore-installed
9292
93-
If you're on Windows with Python 3.9, unzip to a wheelhouse directory and install using the same command as above.
93+
If you're on Windows with Python 3.10, unzip to a wheelhouse directory and install using the same command as above.
9494

9595
Consider installing using a `virtual environment <venv_docs_>`_.
9696

doc/source/supported_versions.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ differ from the SPEC-0 policy but is always aligned with it.
1717
* Light blue Python versions are currently supported.
1818
* Dark blue Python versions are upcoming Python releases for which support is expected in the future.
1919

20+
Some extra remarks:
21+
22+
* The length of the Python version boxes is indicative of the support duration according to the `SPEC-0`_ policy.
23+
* The color of the Python version boxes is indicative of the PyAnsys metapackage current support.
24+
2025
.. mermaid::
2126
:caption: Python versions supported by SPEC-0 policy (red line) and PyAnsys Python versions supported (color coded)
2227
:alt: Python versions supported by SPEC-0 policy (red line) and PyAnsys Python versions supported (color coded)
@@ -27,7 +32,7 @@ differ from the SPEC-0 policy but is always aligned with it.
2732
axisFormat %Y-%m
2833
Python 3.7 :done, des1, 2018-06-27, 3y
2934
Python 3.8 :done, des2, 2019-10-14, 3y
30-
Python 3.9 :active, des3, 2020-10-05, 3y
35+
Python 3.9 :done, des3, 2020-10-05, 3y
3136
Python 3.10 :active, des4, 2021-10-04, 3y
3237
Python 3.11 :active, des5, 2022-10-24, 3y
3338
Python 3.12 :active, des6, 2023-10-02, 3y
@@ -46,7 +51,7 @@ Below you can find a list of the Python versions supported by each PyAnsys metap
4651
+-----------------+----------------------------+
4752
| `2024.2`_ | Python 3.9 - Python 3.12 |
4853
+-----------------+----------------------------+
49-
| `development`_ | Python 3.9 - Python 3.12 |
54+
| `development`_ | Python 3.10 - Python 3.12 |
5055
+-----------------+----------------------------+
5156

5257

@@ -56,5 +61,5 @@ Below you can find a list of the Python versions supported by each PyAnsys metap
5661
.. _2023.1: https://pypi.org/project/pyansys/2023.1.3/
5762
.. _2023.2: https://pypi.org/project/pyansys/2023.2.11/
5863
.. _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
64+
.. _2024.2: https://pypi.org/project/pyansys/2024.2.2/
65+
.. _development: https://github.com/ansys/pyansys

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ build-backend = "flit_core.buildapi"
55
[project]
66
# Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
77
name = "pyansys"
8-
version = "2024.2.dev0"
8+
version = "2025.1.dev0"
99
description = "Pythonic interfaces to Ansys products"
1010
readme = "README.rst"
11-
requires-python = ">=3.9,<4"
11+
requires-python = ">=3.10,<4"
1212
license = { file = "LICENSE" }
1313
authors = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
1414
maintainers = [{ name = "PyAnsys developers", email = "[email protected]" }]
@@ -18,7 +18,6 @@ classifiers = [
1818
"Topic :: Scientific/Engineering :: Information Analysis",
1919
"License :: OSI Approved :: MIT License",
2020
"Operating System :: OS Independent",
21-
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",

0 commit comments

Comments
 (0)