Skip to content

Commit 2e5c81b

Browse files
committed
chore: test against CPython 3.12 and 3.13
1 parent c0499e9 commit 2e5c81b

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- "3.9"
2222
- "3.10"
2323
- "3.11"
24+
- "3.12"
25+
- "3.13"
2426
- "pypy-3.10"
2527
- "pypy-3.11"
2628
steps:
@@ -51,7 +53,7 @@ jobs:
5153
- name: Setup Python
5254
uses: actions/setup-python@v6
5355
with:
54-
python-version: "3.11"
56+
python-version: "3.13"
5557
- name: Install dependencies
5658
run: pip install tox
5759
- name: Run ${{ matrix.env }}

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ adheres to [Semantic Versioning](https://semver.org/).
2121
- Use `pyproject.toml` and modern build system
2222
- Update dev dependencies
2323
- Update GitHub actions dependencies
24-
- Add tests for PyPy 3.10 and 3.11
24+
- Add tests for CPython 3.12 and 3.13, and PyPy 3.10 and 3.11
25+
- Use CPython 3.13 for misc. tests
2526
- Improve tox & CI pipelines
2627
- Use ruff as linter and formatter
2728

dev-requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ build==1.3.0
77
# lint
88
ruff==0.13.1
99

10-
# typing
11-
mypy==1.18.2
12-
1310
# tests
1411
pytest==8.4.2
1512
pytest-cov==7.0.0
13+
14+
# type
15+
mypy==1.18.2

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ classifiers = [
1616
"Programming Language :: Python :: 3.9",
1717
"Programming Language :: Python :: 3.10",
1818
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
1921
"Topic :: Utilities",
2022
"Topic :: System :: Archiving",
2123
"Topic :: System :: Archiving :: Compression",
@@ -84,7 +86,7 @@ files = "src"
8486
ignore_missing_imports = false
8587
follow_imports = "normal"
8688
# Platform configuration
87-
python_version = "3.11"
89+
python_version = "3.13"
8890
# Disallow dynamic typing
8991
disallow_any_unimported = true
9092
disallow_any_decorated = true

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[tox]
44
envlist =
5-
py, py39, py310, py311, pypy3
5+
py, py39, py310, py311, py312, py313, pypy3
66
build, generate-integration-files, lint, type
77

88
[testenv]

0 commit comments

Comments
 (0)