Skip to content

Commit

Permalink
Merge pull request #182 from maxmind/greg/python-3.13
Browse files Browse the repository at this point in the history
Build and test on Python 3.13
  • Loading branch information
horgh authored Oct 10, 2024
2 parents 395093a + a40f19d commit 0f98765
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]

name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet",
"Topic :: Internet :: Proxy Servers",
]
Expand Down
15 changes: 8 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,36 @@ geoip2 = py.typed
disable = duplicate-code

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

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312,black,lint,flake8,mypy
3.12: py312
3.13: py313,black,lint,flake8,mypy

[testenv:{py38,py39,py310,py311,py312}-test]
[testenv:{py38,py39,py310,py311,py312,py313}-test]
deps =
pytest-httpserver
pytest
commands = pytest tests

[testenv:py312-black]
[testenv:py313-black]
deps = black
commands = black --check --diff .

[testenv:py312-lint]
[testenv:py313-lint]
deps = pylint
commands = pylint geoip2

[testenv:py312-flake8]
[testenv:py313-flake8]
deps = flake8
commands = flake8 geoip2

[testenv:py312-mypy]
[testenv:py313-mypy]
deps =
mypy
pytest_httpserver
Expand Down

0 comments on commit 0f98765

Please sign in to comment.