Skip to content

Commit 878fdb1

Browse files
authored
Merge pull request #155 from maxmind/greg/python-3.13
Build and test on Python 3.13
2 parents 7c05837 + df3b23b commit 878fdb1

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
platform: [ubuntu-latest, macos-latest, windows-latest]
15-
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
15+
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
1616

1717
name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
1818
runs-on: ${{ matrix.platform }}

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers = [
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
2929
"Programming Language :: Python :: 3.12",
30+
"Programming Language :: Python :: 3.13",
3031
"Topic :: Internet",
3132
"Topic :: Internet :: Proxy Servers",
3233
"Topic :: Internet :: WWW/HTTP",

setup.cfg

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,37 @@
33
max-line-length = 88
44

55
[tox:tox]
6-
envlist = {py38,py39,py310,py311,py312}-test,py312-{black,lint,flake8,mypy}
6+
envlist = {py38,py39,py310,py311,py313}-test,py313-{black,lint,flake8,mypy}
77

88
[gh-actions]
99
python =
1010
3.8: py38
1111
3.9: py39
1212
3.10: py310
1313
3.11: py311
14-
3.12: py312,black,lint,flake8,mypy
14+
3.12: py312
15+
3.13: py313,black,lint,flake8,mypy
1516

16-
[testenv:{py38,py39,py310,py311,py312}-test]
17+
[testenv:{py38,py39,py310,py311,py312,py313}-test]
1718
deps =
1819
pytest-httpserver
1920
pytest
2021

2122
commands = pytest tests
2223

23-
[testenv:py312-black]
24+
[testenv:py313-black]
2425
deps = black
2526
commands = black --check --diff .
2627

27-
[testenv:py312-lint]
28+
[testenv:py313-lint]
2829
deps = pylint
2930
commands = pylint minfraud
3031

31-
[testenv:py312-flake8]
32+
[testenv:py313-flake8]
3233
deps = flake8
3334
commands = flake8 minfraud
3435

35-
[testenv:py312-mypy]
36+
[testenv:py313-mypy]
3637
deps =
3738
mypy
3839
pytest_httpserver

0 commit comments

Comments
 (0)