Skip to content

Commit 0f98765

Browse files
authored
Merge pull request maxmind#182 from maxmind/greg/python-3.13
Build and test on Python 3.13
2 parents 395093a + a40f19d commit 0f98765

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.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
@@ -30,6 +30,7 @@ classifiers = [
3030
"Programming Language :: Python :: 3.10",
3131
"Programming Language :: Python :: 3.11",
3232
"Programming Language :: Python :: 3.12",
33+
"Programming Language :: Python :: 3.13",
3334
"Topic :: Internet",
3435
"Topic :: Internet :: Proxy Servers",
3536
]

setup.cfg

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,36 @@ geoip2 = py.typed
99
disable = duplicate-code
1010

1111
[tox:tox]
12-
envlist = {py38,py39,py310,py311,py312}-test,py312-{black,lint,flake8,mypy}
12+
envlist = {py38,py39,py310,py311,py312,py313}-test,py313-{black,lint,flake8,mypy}
1313

1414
[gh-actions]
1515
python =
1616
3.8: py38
1717
3.9: py39
1818
3.10: py310
1919
3.11: py311
20-
3.12: py312,black,lint,flake8,mypy
20+
3.12: py312
21+
3.13: py313,black,lint,flake8,mypy
2122

22-
[testenv:{py38,py39,py310,py311,py312}-test]
23+
[testenv:{py38,py39,py310,py311,py312,py313}-test]
2324
deps =
2425
pytest-httpserver
2526
pytest
2627
commands = pytest tests
2728

28-
[testenv:py312-black]
29+
[testenv:py313-black]
2930
deps = black
3031
commands = black --check --diff .
3132

32-
[testenv:py312-lint]
33+
[testenv:py313-lint]
3334
deps = pylint
3435
commands = pylint geoip2
3536

36-
[testenv:py312-flake8]
37+
[testenv:py313-flake8]
3738
deps = flake8
3839
commands = flake8 geoip2
3940

40-
[testenv:py312-mypy]
41+
[testenv:py313-mypy]
4142
deps =
4243
mypy
4344
pytest_httpserver

0 commit comments

Comments
 (0)