Skip to content

Commit d475a1b

Browse files
committed
test using Python 3.13
1 parent 9b307b3 commit d475a1b

File tree

3 files changed

+32
-29
lines changed

3 files changed

+32
-29
lines changed

.github/workflows/ci-tests.yml

Lines changed: 1 addition & 1 deletion
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:

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ classifiers = [
1515
"Operating System :: MacOS :: MacOS X",
1616
"Operating System :: POSIX",
1717
"Programming Language :: Python",
18-
"programming language :: python :: 3.7",
1918
"Programming Language :: Python :: 3.8",
2019
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
22+
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2224
"Topic :: Software Development :: Libraries :: Python Modules",
2325
]
24-
requires-python = "~=3.7"
26+
requires-python = "~=3.8"
2527
dependencies = [
2628
"connexion[swagger-ui] >= 2.0.2, < 3",
2729
"ruamel.yaml >= 0.15.78",

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-lintreadme,
88
py312-pydocstyle
99
isolated_build = True
@@ -16,48 +16,49 @@ python =
1616
3.10: py310
1717
3.11: py311
1818
3.12: py312
19+
3.13: py313
1920

2021
[testenv]
2122
description =
22-
py3{8,9,10,11,12}-unit: Run the unit tests
23-
py3{8,9,10,11,12}-lint: Lint the Python code
24-
py3{8,9,10,11,12}-bandit: Search for common security issues
25-
py3{8,9,10,11,12}-mypy: Check for type safety
23+
py3{8,9,10,11,12,13}-unit: Run the unit tests
24+
py3{8,9,10,11,12,13}-lint: Lint the Python code
25+
py3{8,9,10,11,12,13}-bandit: Search for common security issues
26+
py3{8,9,10,11,12,13}-mypy: Check for type safety
2627
py312-pydocstyle: docstring style checker
2728
py312-lintreadme: Lint the README.rst->.md conversion
2829

2930
passenv =
3031
CI
3132
GITHUB_*
3233
deps =
33-
py3{8,9,10,11,12}-{unit,mypy}: -rrequirements.txt
34-
py3{8,9,10,11,12}-{unit,mypy}: -rtest-requirements.txt
35-
py3{8,9,10,11,12}-lint: -rlint-requirements.txt
36-
py3{8,9,10,11,12}-bandit: bandit
37-
py3{8,9,10,11,12}-mypy: -rmypy-requirements.txt
34+
py3{8,9,10,11,12,13}-{unit,mypy}: -rrequirements.txt
35+
py3{8,9,10,11,12,13}-{unit,mypy}: -rtest-requirements.txt
36+
py3{8,9,10,11,12,13}-lint: -rlint-requirements.txt
37+
py3{8,9,10,11,12,13}-bandit: bandit
38+
py3{8,9,10,11,12,13}-mypy: -rmypy-requirements.txt
3839

3940
setenv =
40-
py3{8,9,10,11,12}-unit: LC_ALL = C.UTF-8
41+
py3{8,9,10,11,12,13}-unit: LC_ALL = C.UTF-8
4142

4243
commands =
43-
py3{8,9,10,11,12}-unit: python -m pip install -U pip setuptools wheel
44-
py3{8,9,10,11,12}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
45-
py3{8,9,10,11,12}-bandit: bandit --recursive wes_client wes_service
46-
py3{8,9,10,11,12}-lint: make flake8
47-
py3{8,9,10,11,12}-lint: make format-check
48-
py3{8,9,10,11,12}-mypy: make mypy
44+
py3{8,9,10,11,12,13}-unit: python -m pip install -U pip setuptools wheel
45+
py3{8,9,10,11,12,13}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
46+
py3{8,9,10,11,12,13}-bandit: bandit --recursive wes_client wes_service
47+
py3{8,9,10,11,12,13}-lint: make flake8
48+
py3{8,9,10,11,12,13}-lint: make format-check
49+
py3{8,9,10,11,12,13}-mypy: make mypy
4950

5051
allowlist_externals =
51-
py3{8,9,10,11,12}-lint: flake8
52-
py3{8,9,10,11,12}-lint: black
53-
py3{8,9,10,11,12}-{mypy,memleak,shellcheck,lint,lintreadme,unit}: make
52+
py3{8,9,10,11,12,13}-lint: flake8
53+
py3{8,9,10,11,12,13}-lint: black
54+
py3{8,9,10,11,12,13}-{mypy,memleak,shellcheck,lint,lintreadme,unit}: make
5455

5556
skip_install =
56-
py3{8,9,10,11,12}-lint: true
57-
py3{8,9,10,11,12}-bandit: true
57+
py3{8,9,10,11,12,13}-lint: true
58+
py3{8,9,10,11,12,13}-bandit: true
5859

5960
extras =
60-
py3{8,9,10,11,12}-unit: toil
61+
py3{8,9,10,11,12,13}-unit: toil
6162

6263
[testenv:py312-pydocstyle]
6364
allowlist_externals = make

0 commit comments

Comments
 (0)