Skip to content

Commit 8d9d805

Browse files
RobPasMuepre-commit-ci[bot]pyansys-ci-bot
authored
feat: active support for Python 3.13 (#1481)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent b1a0556 commit 8d9d805

File tree

8 files changed

+15
-12
lines changed

8 files changed

+15
-12
lines changed

.github/workflows/ci_cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010

1111
env:
12-
MAIN_PYTHON_VERSION: '3.12'
12+
MAIN_PYTHON_VERSION: '3.13'
1313
PACKAGE_NAME: 'ansys-geometry-core'
1414
DOCUMENTATION_CNAME: 'geometry.docs.pyansys.com'
1515
ANSRV_GEO_IMAGE: 'ghcr.io/ansys/geometry'
@@ -78,7 +78,7 @@ jobs:
7878
fail-fast: false
7979
matrix:
8080
os: [ubuntu-latest, windows-latest, macos-latest]
81-
python-version: ['3.10', '3.11', '3.12']
81+
python-version: ['3.10', '3.11', '3.12', '3.13']
8282
should-release:
8383
- ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
8484
exclude:
@@ -407,7 +407,7 @@ jobs:
407407
strategy:
408408
fail-fast: false
409409
matrix:
410-
python-version: ['3.10', '3.11', '3.12']
410+
python-version: ['3.10', '3.11', '3.12', '3.13']
411411
steps:
412412
- name: Login in Github Container registry
413413
uses: docker/login-action@v3

.github/workflows/nightly_docker_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
- v*
2222

2323
env:
24-
MAIN_PYTHON_VERSION: '3.11'
24+
MAIN_PYTHON_VERSION: '3.13'
2525
ANSRV_GEO_IMAGE_WINDOWS_TAG: ghcr.io/ansys/geometry:windows-latest-unstable
2626
ANSRV_GEO_IMAGE_LINUX_TAG: ghcr.io/ansys/geometry:linux-latest-unstable
2727
ANSRV_GEO_PORT: 710
@@ -53,7 +53,7 @@ jobs:
5353
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5454

5555
- name: Set up headless display
56-
uses: pyvista/setup-headless-display-action@v2
56+
uses: pyvista/setup-headless-display-action@v3
5757
with:
5858
pyvista: false
5959

doc/changelog.d/1481.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
active support for Python 3.13

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.10 to 3.12. You can install this on an isolated system with a fresh Python
21+
Linux, and MacOS from Python 3.10 to 3.13. 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.10, unzip the wheelhouse archive and install it with:

doc/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def get_wheelhouse_assets_dictionary():
4141
"""Auxiliary method to build the wheelhouse assets dictionary."""
4242
assets_context_os = ["Linux", "Windows", "MacOS"]
4343
assets_context_runners = ["ubuntu-latest", "windows-latest", "macos-latest"]
44-
assets_context_python_versions = ["3.10", "3.11", "3.12"]
44+
assets_context_python_versions = ["3.10", "3.11", "3.12", "3.13"]
4545
if get_version_match(__version__) == "dev":
4646
# Try to retrieve the content three times before failing
4747
content = None
@@ -196,7 +196,7 @@ def intersphinx_pyansys_geometry(switcher_version: str):
196196

197197
# Intersphinx mapping
198198
intersphinx_mapping = {
199-
"python": ("https://docs.python.org/3.11", None),
199+
"python": ("https://docs.python.org/3.13", None),
200200
"numpy": ("https://numpy.org/doc/stable", None),
201201
"scipy": ("https://docs.scipy.org/doc/scipy", None),
202202
"pyvista": ("https://docs.pyvista.org", None),

doc/source/getting_started/installation.rst

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

8989
Each wheelhouse archive contains all the Python wheels necessary to install PyAnsys Geometry from scratch on Windows,
90-
Linux, and MacOS from Python 3.10 to 3.12. You can install this on an isolated system with a fresh Python
90+
Linux, and MacOS from Python 3.10 to 3.13. You can install this on an isolated system with a fresh Python
9191
installation or on a virtual environment.
9292

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

pyproject.toml

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

2526
dependencies = [
@@ -66,7 +67,7 @@ tests = [
6667
"scipy==1.14.1",
6768
"semver==3.0.2",
6869
"six==1.16.0",
69-
"vtk==9.3.1",
70+
"vtk==9.4.0",
7071
]
7172
tests-minimal = [
7273
"pytest==8.3.3",
@@ -104,7 +105,7 @@ doc = [
104105
"sphinx-copybutton==0.5.2",
105106
"sphinx-jinja==2.0.2",
106107
"trame-vtk==2.8.12",
107-
"vtk==9.3.1",
108+
"vtk==9.4.0",
108109
]
109110

110111
[project.urls]

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,{tests310,tests311,tests312}{,-coverage},doc
4+
style,{tests310,tests311,tests312,tests313}{,-coverage},doc
55
skip_missing_interpreters = true
66
isolated_build = true
77
isolated_build_env = build
@@ -12,6 +12,7 @@ basepython =
1212
tests310: python3.10
1313
tests311: python3.11
1414
tests312: python3.12
15+
tests313: python3.13
1516
{style,tests,doc}: python3
1617
setenv =
1718
PYTHONUNBUFFERED = yes

0 commit comments

Comments
 (0)