From 8aafc63bbd492ef28402d057ccf60bd41baea9c7 Mon Sep 17 00:00:00 2001 From: David Rebbe Date: Tue, 20 Oct 2026 11:57:21 -0400 Subject: [PATCH] Build and test Python 3.15 wheels Add cp315 to the cibuildwheel build list and the 3.15 classifier, pin cibuildwheel to >=4.1 so CI picks up the 3.15 targets, and add 3.14 and 3.15 to the test matrix. Closes #265 Co-Authored-By: Claude Opus 5.5 --- .github/workflows/tests.yml | 2 +- .github/workflows/wheels.yml | 2 +- pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 635e1198..93ae99e9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 341afa19..28c90c0e 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -38,7 +38,7 @@ jobs: run: echo $PYTHON_ICS_VERSION - name: Install cibuildwheel - run: python -m pip install cibuildwheel + run: python -m pip install "cibuildwheel>=4.1" - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse diff --git a/pyproject.toml b/pyproject.toml index 29dd3e4d..ca827ac8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", ] [project.urls] @@ -51,7 +52,7 @@ requires = [ [tool.cibuildwheel] -build = "cp{310,311,312,313,314}-{win32,win_amd64,macosx_universal2,manylinux_x86_64,manylinux_aarch64}" +build = "cp{310,311,312,313,314,315}-{win32,win_amd64,macosx_universal2,manylinux_x86_64,manylinux_aarch64}" skip = "cp36-* cp37-* cp38-* cp39-* pp* *-manylinux_i686 *-musllinux_*" environment = { CIBW_BUILD_VERBOSITY = 1, DISTUTILS_DEBUG = 1, MACOSX_DEPLOYMENT_TARGET = "10.13", CIBW_ARCHS_LINUX = "auto aarch64" } before-build = "python -m pip install wheel"