From 7cc96fbf091277aec5621814c47070578c2dff34 Mon Sep 17 00:00:00 2001 From: Rogdham Date: Sat, 18 Oct 2025 12:17:00 +0200 Subject: [PATCH] test: test against CPython 3.14 --- .github/workflows/build.yml | 3 ++- CHANGELOG.md | 3 ++- pyproject.toml | 3 ++- tox.ini | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10ebc1c..4e20575 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: - "3.11" - "3.12" - "3.13" + - "3.14" - "pypy-3.9" - "pypy-3.10" - "pypy-3.11" @@ -54,7 +55,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.13" + python-version: "3.14" - name: Install dependencies run: pip install tox - name: Run ${{ matrix.env }} diff --git a/CHANGELOG.md b/CHANGELOG.md index f89a3dd..7f18b57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,7 +21,8 @@ For the purpose of determining breaking changes: ### :house: Internal - Update license metadata as per [PEP 639](https://peps.python.org/pep-0639) -- Add tests for PyPy 3.11 +- Add tests for CPython 3.14 and PyPy 3.11 +- Use CPython 3.14 for misc. tests - Upgrade dev dependencies ## [1.1.0] - 2024-10-10 diff --git a/pyproject.toml b/pyproject.toml index 189d680..d2abd91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "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.13" +python_version = "3.14" # Disallow dynamic typing disallow_any_unimported = true disallow_any_decorated = true diff --git a/tox.ini b/tox.ini index 20995d9..96cc806 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ [tox] envlist = - py, py39, py310, py311, py312, py313, pypy3 + py, py39, py310, py311, py312, py313, py314, pypy3 build, docs, lint, type [testenv]