diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e2299b..1451dd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,8 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" + - "3.13" - "pypy-3.10" - "pypy-3.11" steps: @@ -51,7 +53,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v6 with: - python-version: "3.11" + python-version: "3.13" - name: Install dependencies run: pip install tox - name: Run ${{ matrix.env }} diff --git a/CHANGELOG.md b/CHANGELOG.md index a4e58c6..5c4305f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,8 @@ adheres to [Semantic Versioning](https://semver.org/). - Use `pyproject.toml` and modern build system - Update dev dependencies - Update GitHub actions dependencies -- Add tests for PyPy 3.10 and 3.11 +- Add tests for CPython 3.12 and 3.13, and PyPy 3.10 and 3.11 +- Use CPython 3.13 for misc. tests - Improve tox & CI pipelines - Use ruff as linter and formatter diff --git a/dev-requirements.txt b/dev-requirements.txt index 1adc015..4cb3e16 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -7,9 +7,9 @@ build==1.3.0 # lint ruff==0.13.1 -# typing -mypy==1.18.2 - # tests pytest==8.4.2 pytest-cov==7.0.0 + +# type +mypy==1.18.2 diff --git a/pyproject.toml b/pyproject.toml index 7decf25..56b2200 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,8 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Utilities", "Topic :: System :: Archiving", "Topic :: System :: Archiving :: Compression", @@ -84,7 +86,7 @@ files = "src" ignore_missing_imports = false follow_imports = "normal" # Platform configuration -python_version = "3.11" +python_version = "3.13" # Disallow dynamic typing disallow_any_unimported = true disallow_any_decorated = true diff --git a/tox.ini b/tox.ini index 1aabe0e..a9db961 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ [tox] envlist = - py, py39, py310, py311, pypy3 + py, py39, py310, py311, py312, py313, pypy3 build, generate-integration-files, lint, type [testenv]