Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 5d96475

Browse files
authored
feat: support Python 3.13 (#316)
1 parent 61078c9 commit 5d96475

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

.github/workflows/ci_cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- main
99

1010
env:
11-
MAIN_PYTHON_VERSION: '3.12'
11+
MAIN_PYTHON_VERSION: '3.13'
1212
PACKAGE_NAME: 'pyansys-tools-versioning'
1313
PACKAGE_NAMESPACE: 'ansys.tools.versioning'
1414
DOCUMENTATION_CNAME: 'versioning.tools.docs.pyansys.com'
@@ -57,7 +57,7 @@ jobs:
5757
fail-fast: false
5858
matrix:
5959
os: [ubuntu-latest, windows-latest]
60-
python-version: ['3.10', '3.11', '3.12']
60+
python-version: ['3.10', '3.11', '3.12', '3.13']
6161

6262
steps:
6363
- name: Build wheelhouse and perform smoke test
@@ -74,7 +74,7 @@ jobs:
7474
strategy:
7575
fail-fast: false
7676
matrix:
77-
python-version: ['3.10', '3.11', '3.12']
77+
python-version: ['3.10', '3.11', '3.12', '3.13']
7878

7979
steps:
8080
- name: Build wheelhouse and perform smoke test
@@ -91,7 +91,7 @@ jobs:
9191
strategy:
9292
matrix:
9393
os: [ubuntu-latest, windows-latest]
94-
python-version: ['3.10', '3.11', '3.12']
94+
python-version: ['3.10', '3.11', '3.12', '3.13']
9595
steps:
9696
- name: Run pytest
9797
uses: ansys/actions/tests-pytest@v8

doc/source/conf.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,20 @@
8686
# type, unless multiple values are being returned"
8787
}
8888

89+
# Ignoring numpydoc validation on built-in methods from Python
90+
# or other libraries due to inheritance
91+
numpydoc_validation_exclude = {
92+
"denominator",
93+
"imag",
94+
"numerator",
95+
"real",
96+
"__cause__",
97+
"__context__",
98+
"__abs__",
99+
"__float__",
100+
"__int__",
101+
}
102+
89103

90104
# static path
91105
html_static_path = ["_static"]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
"Programming Language :: Python :: 3.10",
2222
"Programming Language :: Python :: 3.11",
2323
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
2425
"License :: OSI Approved :: MIT License",
2526
"Operating System :: OS Independent",
2627
]

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,{py310,py311,py312}{,-coverage},doc-html,doc-json
4+
style,{py310,py311,py312,py313}{,-coverage},doc-html,doc-json
55
skip_missing_interpreters = true
66
isolated_build = true
77
isolated_build_env = build
@@ -12,6 +12,7 @@ basepython =
1212
py310: python3.10
1313
py311: python3.11
1414
py312: python3.12
15+
py313: python3.13
1516
py: python3
1617
{style,reformat,doc,build}: python3
1718
setenv =

0 commit comments

Comments
 (0)