Skip to content

Commit f9e71a7

Browse files
committed
Add python 3.13
1 parent 231b3b2 commit f9e71a7

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: ["ubuntu-latest"]
15-
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"]
15+
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"]
1616

1717
runs-on: ${{ matrix.os }}
1818
steps:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"Programming Language :: Python :: 3.10",
1414
"Programming Language :: Python :: 3.11",
1515
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
1617
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
1718
]
1819

tox.ini

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[tox]
2+
requires =
3+
tox>=4
4+
virtualenv-pyenv
5+
env_list =
6+
py{38,39,310,311,312,313}
7+
cover-report
8+
set_env =
9+
VIRTUALENV_DISCOVERY = pyenv
10+
11+
[testenv]
12+
deps =
13+
coverage
14+
pytest
15+
commands = coverage run -p -m pytest tests
16+
extras = dev
17+
set_env =
18+
VIRTUALENV_DISCOVERY = pyenv
19+
depends =
20+
cover-report: py{38,39,310,311,312,313}
21+
22+
[testenv:cover-report]
23+
skip_install = true
24+
deps = coverage
25+
commands =
26+
coverage combine
27+
coverage html
28+
coverage report
29+
30+
31+
# - You can also run `tox` from the command line to test in all supported python versions. Note that this will require you to have all supported python versions installed.

0 commit comments

Comments
 (0)