Skip to content

Commit ba00981

Browse files
[feature] Support Python 3.13 (backport #5760) (#5767)
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
1 parent 8b028df commit ba00981

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
3.10
3434
3.11
3535
3.12
36+
3.13
3637
allow-prereleases: true
3738
- name: Install dependencies
3839
run: |

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.10",
2323
"Programming Language :: Python :: 3.11",
2424
"Programming Language :: Python :: 3.12",
25+
"Programming Language :: Python :: 3.13",
2526
"Programming Language :: Python :: Implementation :: PyPy",
2627
"License :: OSI Approved :: MIT License",
2728
"Operating System :: OS Independent",
@@ -102,7 +103,7 @@ addopts = """-rf -s --cov=src --cov-report=xml --cov-report=html --cov-report=te
102103

103104
[tool.black]
104105
line-length = 120
105-
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
106+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312']
106107
include = '(src/abaqus/.*\.py|src/abqpy/.*\.py|tests/.*\.py|setup\.py)'
107108

108109
[tool.isort]

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[tox]
2-
envlist = py{37,38,39,310,311,312}
2+
envlist = py{37,38,39,310,311,312,313}
33

44
[testenv]
55
extras =
66
dev
77
commands =
88
pytest
99

10-
[testenv:py311]
10+
[testenv:py312]
1111
passenv = GITHUB_*
1212
allowlist_externals = coveralls
1313
commands =

0 commit comments

Comments
 (0)