Skip to content

Commit 7341497

Browse files
committed
Build and test on Python 3.13
1 parent bd72244 commit 7341497

File tree

7 files changed

+14
-12
lines changed

7 files changed

+14
-12
lines changed

Diff for: .github/workflows/address-sanitizer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/setup-python@v5
2424
with:
25-
python-version: 3.12
25+
python-version: 3.13
2626

2727
- name: Install dependencies
2828
run: |

Diff for: .github/workflows/clang-analyzer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Python
2323
uses: actions/setup-python@v5
2424
with:
25-
python-version: 3.12
25+
python-version: 3.13
2626

2727
- name: Install dependencies
2828
run: |

Diff for: .github/workflows/test-libmaxminddb.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
# We don't test on Windows currently due to issues
1515
# build libmaxminddb there.
1616
platform: [macos-latest, ubuntu-latest]
17-
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
17+
python-version: [3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
1818

1919
name: Python ${{ matrix.python-version }} on ${{ matrix.platform }}
2020
runs-on: ${{ matrix.platform }}

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
platform: [macos-latest, ubuntu-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 }}

Diff for: .readthedocs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.12"
6+
python: "3.13"

Diff for: pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2829
"Topic :: Internet",
2930
"Topic :: Internet :: Proxy Servers",
3031
]

Diff for: setup.cfg

+8-7
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,34 @@ python_requires = >=3.8
1515
maxminddb = extension.pyi; py.typed
1616

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

2020
[gh-actions]
2121
python =
2222
3.8: py38
2323
3.9: py39
2424
3.10: py310
2525
3.11: py311
26-
3.12: py312,black,lint,flake8,mypy
26+
3.12: py312
27+
3.13: py313,black,lint,flake8,mypy
2728

28-
[testenv:{py38,py39,py310,py311,py312}-test]
29+
[testenv:{py38,py39,py310,py311,py312,py313}-test]
2930
deps = pytest
3031
commands = pytest tests
3132
passenv = *
3233

33-
[testenv:py312-black]
34+
[testenv:py313-black]
3435
deps = black
3536
commands = black --check --diff .
3637

37-
[testenv:py312-lint]
38+
[testenv:py313-lint]
3839
deps = pylint
3940
commands = pylint maxminddb
4041

41-
[testenv:py312-flake8]
42+
[testenv:py313-flake8]
4243
deps = flake8
4344
commands = flake8 maxminddb
4445

45-
[testenv:py312-mypy]
46+
[testenv:py313-mypy]
4647
deps = mypy
4748
commands = mypy maxminddb tests

0 commit comments

Comments
 (0)