From 1364cbd5683622a2788dd20ce15c72ef8c748222 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 11 Nov 2026 09:48:00 +0000 Subject: [PATCH] Add support for Python 3.15 Test on Python 3.15 in CI and declare it in the classifiers. The code needs no change. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01PewzpjVeke4LTQ7Q88nyu6 --- .github/workflows/test.yaml | 4 +++- setup.py | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 261f433..c52e96d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -91,7 +91,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.11", "3.12", "3.13", "3.14", "pypy3.11"] + python-version: ["3.11", "3.12", "3.13", "3.14", "3.15", "pypy3.11"] include: - os: windows-latest python-version: "3.13" @@ -104,6 +104,8 @@ jobs: uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} + # use a release candidate while a version has no final release + allow-prereleases: true - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/setup.py b/setup.py index 8707136..d4b6c40 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3.14', + 'Programming Language :: Python :: 3.15', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries',