Skip to content

Commit eb0bba5

Browse files
authored
Explicitly support Python 3.13; add to CI matrix (#2040)
1 parent 2621312 commit eb0bba5

File tree

3 files changed

+26
-23
lines changed

3 files changed

+26
-23
lines changed

.github/workflows/ci-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
matrix:
3434
py-ver-major: [3]
35-
py-ver-minor: [8, 9, 10, 11, 12]
35+
py-ver-minor: [8, 9, 10, 11, 12, 13]
3636
step: [lint, unit, bandit, mypy]
3737

3838
env:

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"galaxy-util <24.2",
146146
],
147147
},
148-
python_requires=">=3.8, <4",
148+
python_requires=">=3.8, <3.14",
149149
use_scm_version=True,
150150
setup_requires=PYTEST_RUNNER + ["setuptools_scm>=8.0.4,<9"],
151151
test_suite="tests",
@@ -176,6 +176,7 @@
176176
"Programming Language :: Python :: 3.10",
177177
"Programming Language :: Python :: 3.11",
178178
"Programming Language :: Python :: 3.12",
179+
"Programming Language :: Python :: 3.13",
179180
"Topic :: Scientific/Engineering",
180181
"Topic :: Scientific/Engineering :: Bio-Informatics",
181182
"Topic :: Scientific/Engineering :: Astronomy",

tox.ini

+23-21
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3-
py3{8,9,10,11,12}-lint
4-
py3{8,9,10,11,12}-unit
5-
py3{8,9,10,11,12}-bandit
6-
py3{8,9,10,11,12}-mypy
3+
py3{8,9,10,11,12,13}-lint
4+
py3{8,9,10,11,12,13}-unit
5+
py3{8,9,10,11,12,13}-bandit
6+
py3{8,9,10,11,12,13}-mypy
77
py312-lintreadme
88
py312-shellcheck
99
py312-pydocstyle
@@ -21,16 +21,17 @@ python =
2121
3.10: py310
2222
3.11: py311
2323
3.12: py312
24+
3.13: py313
2425

2526
[testenv]
2627
skipsdist =
27-
py3{8,9,10,11,12}-!{unit,mypy,lintreadme} = True
28+
py3{8,9,10,11,12,13}-!{unit,mypy,lintreadme} = True
2829

2930
description =
30-
py3{8,9,10,11,12}-unit: Run the unit tests
31-
py3{8,9,10,11,12}-lint: Lint the Python code
32-
py3{8,9,10,11,12}-bandit: Search for common security issues
33-
py3{8,9,10,11,12}-mypy: Check for type safety
31+
py3{8,9,10,11,12,13}-unit: Run the unit tests
32+
py3{8,9,10,11,12,13}-lint: Lint the Python code
33+
py3{8,9,10,11,12,13}-bandit: Search for common security issues
34+
py3{8,9,10,11,12,13}-mypy: Check for type safety
3435
py312-pydocstyle: docstring style checker
3536
py312-shellcheck: syntax check for shell scripts
3637
py312-lintreadme: Lint the README.rst→.md conversion
@@ -43,14 +44,14 @@ passenv =
4344
SINGULARITY_FAKEROOT
4445

4546
extras =
46-
py3{8,9,10,11,12}-unit: deps
47+
py3{8,9,10,11,12,13}-unit: deps
4748

4849
deps =
49-
py3{8,9,10,11,12}-{unit,lint,bandit,mypy}: -rrequirements.txt
50-
py3{8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt
51-
py3{8,9,10,11,12}-lint: -rlint-requirements.txt
52-
py3{8,9,10,11,12}-bandit: bandit
53-
py3{8,9,10,11,12}-mypy: -rmypy-requirements.txt
50+
py3{8,9,10,11,12,13}-{unit,lint,bandit,mypy}: -rrequirements.txt
51+
py3{8,9,10,11,12,13}-{unit,mypy}: -rtest-requirements.txt
52+
py3{8,9,10,11,12,13}-lint: -rlint-requirements.txt
53+
py3{8,9,10,11,12,13}-bandit: bandit
54+
py3{8,9,10,11,12,13}-mypy: -rmypy-requirements.txt
5455
py312-pydocstyle: pydocstyle
5556
py312-pydocstyle: diff-cover
5657
py312-lintreadme: twine
@@ -62,19 +63,20 @@ setenv =
6263
HOME = {envtmpdir}
6364

6465
commands_pre =
65-
py3{8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel
66+
py3{8,9,10,11,12,13}-unit: python -m pip install -U pip setuptools wheel
6667
py312-lintreadme: python -m build --outdir {distdir}
6768

6869
commands =
69-
py3{8,9,10,11,12}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
70-
py3{8,9,10,11,12}-bandit: bandit -r cwltool
71-
py3{8,9,10,11,12}-lint: make flake8 format-check codespell-check
72-
py3{8,9,10,11,12}-mypy: make mypy mypyc PYTEST_EXTRA={posargs}
70+
py3{8,9,10,11,12,13}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
71+
py3{8,9,10,11,12,13}-bandit: bandit -r cwltool
72+
py3{8,9,10,11,12,13}-lint: make flake8 format-check codespell-check
73+
py3{8,9,10,11,12,13}-mypy: make mypy PYTEST_EXTRA={posargs}
74+
py3{8,9,10,11,12}-mypy: make mypyc PYTEST_EXTRA={posargs}
7375
py312-shellcheck: make shellcheck
7476
py312-pydocstyle: make diff_pydocstyle_report
7577
py312-lintreadme: twine check {distdir}/*
7678

7779
skip_install =
78-
py3{8,9,10,11,12}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
80+
py3{8,9,10,11,12,13}-{bandit,lint,mypy,shellcheck,pydocstyle,lintreadme}: true
7981

8082
allowlist_externals = make

0 commit comments

Comments
 (0)