From 98f03f4fc7521a12d8b46495264ff9a095c40829 Mon Sep 17 00:00:00 2001 From: Rogdham Date: Sat, 5 Oct 2024 10:00:09 +0200 Subject: [PATCH] test: test against CPython 3.13 --- .github/workflows/build.yml | 3 ++- CHANGELOG.md | 2 ++ pyproject.toml | 3 ++- tox.ini | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f68595..40d99ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" - "pypy-3.8" - "pypy-3.9" - "pypy-3.10" @@ -54,7 +55,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: "3.13" - name: Install dependencies run: pip install tox - name: Run ${{ matrix.env }} diff --git a/CHANGELOG.md b/CHANGELOG.md index bcfb018..88bbb99 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ For the purpose of determining breaking changes: ### :house: Internal +- Add tests for CPython 3.13 +- Use CPython 3.13 for misc. tests - Upgrade dev dependencies ## [1.0.1] - 2024-04-27 diff --git a/pyproject.toml b/pyproject.toml index c11b4f9..81555c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Utilities", "Topic :: Text Processing :: Markup :: XML", ] @@ -84,7 +85,7 @@ ignore_missing_imports = false follow_imports = "normal" mypy_path = "stubs" # Platform configuration -python_version = 3.12 +python_version = 3.13 # Disallow dynamic typing disallow_any_unimported = true disallow_any_decorated = true diff --git a/tox.ini b/tox.ini index f4eb538..c31c852 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ [tox] envlist = - py, py38, py39, py310, py311, py312, pypy3 + py, py38, py39, py310, py311, py312, py313, pypy3 build, docs, lint, type [testenv]