diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37a2d7c..84bf48c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} diff --git a/pyproject.toml b/pyproject.toml index 5befe70..1cf4d39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ] diff --git a/setup.cfg b/setup.cfg index fb01367..fe10141 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,7 +9,7 @@ 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 = @@ -17,27 +17,28 @@ python = 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