Skip to content

Commit 9219c14

Browse files
authored
feat: adding Python 3.12 support (#789)
1 parent d1a2176 commit 9219c14

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
fail-fast: false
4848
matrix:
4949
os: [ubuntu-latest, windows-latest, macos-latest]
50-
python-version: ['3.9', '3.10', '3.11']
50+
python-version: ['3.9', '3.10', '3.11', '3.12']
5151
should-release:
5252
- ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
5353
exclude:

doc/source/assets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you lack an internet connection on your installation machine, you should inst
1818
by downloading the wheelhouse archive.
1919

2020
Each wheelhouse archive contains all the Python wheels necessary to install PyAnsys Geometry from scratch on Windows,
21-
Linux, and MacOS from Python 3.9 to 3.11. You can install this on an isolated system with a fresh Python
21+
Linux, and MacOS from Python 3.9 to 3.12. You can install this on an isolated system with a fresh Python
2222
installation or on a virtual environment.
2323

2424
For example, on Linux with Python 3.9, unzip the wheelhouse archive and install it with:

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_wheelhouse_assets_dictionary():
2626
"""Auxiliary method to build the wheelhouse assets dictionary."""
2727
assets_context_os = ["Linux", "Windows", "MacOS"]
2828
assets_context_runners = ["ubuntu-latest", "windows-latest", "macos-latest"]
29-
assets_context_python_versions = ["3.9", "3.10", "3.11"]
29+
assets_context_python_versions = ["3.9", "3.10", "3.11", "3.12"]
3030
assets_context_version = json.loads(
3131
requests.get("https://api.github.com/repos/ansys/pyansys-geometry/releases/latest").content
3232
)["name"]

doc/source/getting_started/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ archive for your corresponding machine architecture from the repository's `Relea
7070
<https://github.com/ansys/pyansys-geometry/releases>`_.
7171

7272
Each wheelhouse archive contains all the Python wheels necessary to install PyAnsys Geometry from scratch on Windows,
73-
Linux, and MacOS from Python 3.9 to 3.11. You can install this on an isolated system with a fresh Python
73+
Linux, and MacOS from Python 3.9 to 3.12. You can install this on an isolated system with a fresh Python
7474
installation or on a virtual environment.
7575

7676
For example, on Linux with Python 3.9, unzip the wheelhouse archive and install it with these commands:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.9",
2121
"Programming Language :: Python :: 3.10",
2222
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
2324
]
2425

2526
dependencies = [

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
description = Default tox environments list
33
envlist =
4-
style,{tests39,tests310,tests311}{,-coverage},doc
4+
style,{tests39,tests310,tests311,tests312}{,-coverage},doc
55
skip_missing_interpreters = true
66
isolated_build = true
77
isolated_build_env = build
@@ -12,6 +12,7 @@ basepython =
1212
tests39: python3.9
1313
tests310: python3.10
1414
tests311: python3.11
15+
tests312: python3.12
1516
{style,tests,doc}: python3
1617
setenv =
1718
PYTHONUNBUFFERED = yes

0 commit comments

Comments
 (0)