From 20a08feb407aac8f9c8eb14a8d1abd28257672a7 Mon Sep 17 00:00:00 2001 From: Rogdham Date: Sat, 3 Oct 2026 17:58:19 +0200 Subject: [PATCH] chore: add support for CPython 3.15 --- .github/workflows/build.yml | 7 ++++--- CHANGELOG.md | 2 +- pyproject.toml | 3 ++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68876b1..3833fe9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: - python-version: "3.14" + python-version: "3.15" - name: Install dependencies run: python -m pip install -U build - name: Build @@ -57,6 +57,7 @@ jobs: - "3.12" - "3.13" - "3.14" + - "3.15" - "pypy-3.11" - "pypy-3.12" steps: @@ -87,7 +88,7 @@ jobs: - name: Setup Python uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: - python-version: 3.14 + python-version: "3.15" - name: Install dependencies run: python -m pip install -r requirements-lint.txt - name: ruff check @@ -105,7 +106,7 @@ jobs: - name: Setup Python uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: - python-version: 3.14 + python-version: "3.15" - name: Install dependencies run: python -m pip install -r requirements-type.txt - name: Create _version.py diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e0d31f..9093a3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. ## Unreleased -- Support for PyPy 3.12 +- Support for 3.15 and PyPy 3.12 - End of Python 3.10 support - Necessary code changes following dev dependency update: `mypy`, `ruff` diff --git a/pyproject.toml b/pyproject.toml index 3ca09be..5ce755f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", ] requires-python = ">=3.11" dependencies = [ @@ -69,7 +70,7 @@ files = "src" ignore_missing_imports = false follow_imports = "normal" # Platform configuration -python_version = "3.14" +python_version = "3.15" # Disallow dynamic typing disallow_any_unimported = true disallow_any_decorated = true