Skip to content

Commit 5af425a

Browse files
congzhangzhclaude
andcommitted
Add Python 3.15 support
- Add Python 3.15 classifier to pyproject.toml - Add 3.15 to test matrix with allow-prereleases: true - Add cp315-* to CIBW_BUILD and enable cpython-prerelease Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 36bea9c commit 5af425a

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
# https://github.com/pypa/cibuildwheel
5858
uses: pypa/cibuildwheel@v3.3.1
5959
env:
60-
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-*"
60+
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-* cp314-* cp315-*"
61+
CIBW_ENABLE: "cpython-prerelease"
6162
CIBW_ARCHS_MACOS: "x86_64 arm64"
6263
CIBW_ARCHS_LINUX: "x86_64 aarch64"
6364
#https://cibuildwheel.pypa.io/en/stable/options/#archs

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [ubuntu-latest, windows-latest, macos-latest]
14-
python-version: ["3.13", "3.14"]
14+
python-version: ["3.13", "3.14", "3.15"]
1515

1616
runs-on: ${{ matrix.os }}
1717

@@ -25,6 +25,7 @@ jobs:
2525
uses: actions/setup-python@v4
2626
with:
2727
python-version: "${{ matrix.python-version }}"
28+
allow-prereleases: true
2829

2930
- name: Install dependencies (Linux)
3031
if: runner.os == 'Linux'

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.12",
2020
"Programming Language :: Python :: 3.13",
2121
"Programming Language :: Python :: 3.14",
22+
"Programming Language :: Python :: 3.15",
2223
"Programming Language :: Python :: Implementation :: CPython",
2324
"Programming Language :: Python :: Implementation :: PyPy",
2425
"Topic :: Software Development :: Libraries :: Python Modules",

0 commit comments

Comments
 (0)