Skip to content

Commit cb1c379

Browse files
committed
gh-actions: test Python 3.13
1 parent aa0d770 commit cb1c379

File tree

3 files changed

+29
-28
lines changed

3 files changed

+29
-28
lines changed

.github/workflows/ci-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
py-ver-major: [3]
23-
py-ver-minor: [8, 9, 10, 11, 12]
23+
py-ver-minor: [8, 9, 10, 11, 12, 13]
2424
step: [lint, unit, bandit, mypy]
2525

2626
env:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
"Topic :: System :: Distributed Computing",
3030
"Typing :: Typed",
3131
]
32-
requires-python = ">=3.8"
32+
requires-python = ">=3.8,<3.14"
3333
dynamic = ["version", "dependencies"]
3434

3535
[project.urls]

tox.ini

Lines changed: 27 additions & 26 deletions
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-lint-readme,
88
py312-pydocstyle
99
isolated_build = True
@@ -19,48 +19,49 @@ python =
1919
3.10: py310
2020
3.11: py311
2121
3.12: py312
22+
3.13: py313
2223

2324
[testenv]
2425
description =
25-
py3{8,9,10,11,12}-unit: Run the unit tests
26-
py3{8,9,10,11,12}-lint: Lint the Python code
27-
py3{8,9,10,11,12}-bandit: Search for common security issues
28-
py3{8,9,10,11,12}-mypy: Check for type safety
26+
py3{8,9,10,11,12,13}-unit: Run the unit tests
27+
py3{8,9,10,11,12,13}-lint: Lint the Python code
28+
py3{8,9,10,11,12,13}-bandit: Search for common security issues
29+
py3{8,9,10,11,12,13}-mypy: Check for type safety
2930
py312-pydocstyle: docstring style checker
3031
py312-lint-readme: Lint the README.rst->.md conversion
3132

3233
passenv =
3334
CI
3435
GITHUB_*
3536
deps =
36-
py3{8,9,10,11,12}-{unit,mypy}: -rrequirements.txt
37-
py3{8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt
38-
py3{8,9,10,11,12}-lint: -rlint-requirements.txt
39-
py3{8,9,10,11,12}-bandit: bandit
40-
py3{8,9,10,11,12}-mypy: -rmypy-requirements.txt
37+
py3{8,9,10,11,12,13}-{unit,mypy}: -rrequirements.txt
38+
py3{8,9,10,11,12,13}-{unit,mypy}: -rtest-requirements.txt
39+
py3{8,9,10,11,12,13}-lint: -rlint-requirements.txt
40+
py3{8,9,10,11,12,13}-bandit: bandit
41+
py3{8,9,10,11,12,13}-mypy: -rmypy-requirements.txt
4142

4243
setenv =
43-
py3{8,9,10,11,12}-unit: LC_ALL = C.UTF-8
44+
py3{8,9,10,11,12,13}-unit: LC_ALL = C.UTF-8
4445

4546
commands =
46-
py3{8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel
47-
py3{8,9,10,11,12}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
48-
py3{8,9,10,11,12}-bandit: bandit --recursive cwl_utils
49-
py3{8,9,10,11,12}-lint: make flake8
50-
py3{8,9,10,11,12}-lint: make format-check
51-
py3{8,9,10,11,12}-mypy: make mypy
47+
py3{8,9,10,11,12,13}-unit: python -m pip install -U pip setuptools wheel
48+
py3{8,9,10,11,12,13}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
49+
py3{8,9,10,11,12,13}-bandit: bandit --recursive cwl_utils
50+
py3{8,9,10,11,12,13}-lint: make flake8
51+
py3{8,9,10,11,12,13}-lint: make format-check
52+
py3{8,9,10,11,12,13}-mypy: make mypy
5253

5354
allowlist_externals =
54-
py3{8,9,10,11,12}-lint: flake8
55-
py3{8,9,10,11,12}-lint: black
56-
py3{8,9,10,11,12}-{mypy,shellcheck,lint,unit}: make
55+
py3{8,9,10,11,12,13}-lint: flake8
56+
py3{8,9,10,11,12,13}-lint: black
57+
py3{8,9,10,11,12,13}-{mypy,shellcheck,lint,unit}: make
5758

5859
skip_install =
59-
py3{8,9,10,11,12}-lint: true
60-
py3{8,9,10,11,12}-bandit: true
60+
py3{8,9,10,11,12,13}-lint: true
61+
py3{8,9,10,11,12,13}-bandit: true
6162

6263
extras =
63-
py3{8,9,10,11,12}-unit: pretty
64+
py3{8,9,10,11,12,13}-unit: pretty
6465

6566
[testenv:py312-pydocstyle]
6667
allowlist_externals = make

0 commit comments

Comments
 (0)