Skip to content

Commit

Permalink
[feature] Support Python 3.13 (backport #5760) (#5765)
Browse files Browse the repository at this point in the history
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
  • Loading branch information
mergify[bot] and haiiliin authored Aug 28, 2024
1 parent ca592a5 commit c240df0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
3.10
3.11
3.12
3.13
allow-prereleases: true
- name: Install dependencies
run: |
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down Expand Up @@ -102,7 +103,7 @@ addopts = """-rf -s --cov=src --cov-report=xml --cov-report=html --cov-report=te

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

[tool.isort]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist = py{37,38,39,310,311,312}
envlist = py{37,38,39,310,311,312,313}

[testenv]
extras =
dev
commands =
pytest

[testenv:py311]
[testenv:py312]
passenv = GITHUB_*
allowlist_externals = coveralls
commands =
Expand Down

0 comments on commit c240df0

Please # to comment.