Skip to content

ci: build CPython 3.14 wheels (bump cibuildwheel to 4.x)#730

Merged
wbarnha merged 1 commit into
masterfrom
claude/fix-715-cibuildwheel-314
Jul 21, 2026
Merged

ci: build CPython 3.14 wheels (bump cibuildwheel to 4.x)#730
wbarnha merged 1 commit into
masterfrom
claude/fix-715-cibuildwheel-314

Conversation

@wbarnha

@wbarnha wbarnha commented Jul 21, 2026

Copy link
Copy Markdown
Member

Description

Fixes #715. Re-opens #718 onto master#718 was merged into its stale stacked-parent branch (claude/ci-confluent-driver-matrix) instead of master, so its content never reached master. This branch is the same commit cherry-picked directly onto master, independent of any chain.

No CPython 3.14 wheels were published for 0.12.0/0.12.1, so installing on 3.14 forces a source build.

Root cause

The release build_wheels job pinned pypa/cibuildwheel@v2.21.3 (Oct 2024), which predates CPython 3.14. cibuildwheel only builds the interpreters its own release knows about, so build = "cp3*" expanded to at most cp313 — no cp314 wheels were produced.

Fix

  • Bump the action to pypa/cibuildwheel@v4.1.0, which builds CPython 3.14 by default and still supports cp310–cp313.
  • Add cp31?t-* to skip, since 4.x would otherwise build free-threaded (cp314t) wheels and faust's Cython extension hasn't been validated under a no-GIL interpreter.

Verification

cibuildwheel --print-build-identifiers --platform linux now lists cp310–cp314 manylinux, with cp314t and musllinux correctly excluded. Wheels are only produced on a release: created event, so this takes effect on the next tagged release.

🤖 Generated with Claude Code


Generated by Claude Code

The release wheel job pinned pypa/cibuildwheel@v2.21.3 (Oct 2024), which
predates CPython 3.14.  cibuildwheel only builds the interpreters its own
release knows about, so `build = "cp3*"` expanded to at most cp313 and no
3.14 wheels were ever produced or uploaded to PyPI for 0.12.0/0.12.1 -- a
local install on 3.14 has to compile from the sdist (issue #715).  The test
matrix separately tests 3.14 via setup-python, which is why the gap only
showed up in the published wheels.

Bump the action to v4.1.0, which builds CPython 3.14 by default (since
cibuildwheel 3.1) and still supports cp310-cp313.  Because free-threading is
no longer experimental in 3.14, cibuildwheel would now also build
free-threaded (cp314t) wheels by default; the Cython extension has not been
validated under a no-GIL interpreter, so skip `cp31?t-*` for now.

Verified with `cibuildwheel --print-build-identifiers` that the linux build
set is now cp310..cp314 manylinux_x86_64 (no cp314t, no musllinux).  The
manylinux2014 image shorthand and the existing build/skip/archs/before-build
options remain valid in 4.x.

Fixes #715

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HHPL4VFWQRQPpjR1gXSKyL
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.18%. Comparing base (f77a678) to head (96f204b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #730   +/-   ##
=======================================
  Coverage   94.18%   94.18%           
=======================================
  Files         104      104           
  Lines       11154    11154           
  Branches     1202     1202           
=======================================
  Hits        10505    10505           
  Misses        548      548           
  Partials      101      101           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wbarnha
wbarnha added this pull request to the merge queue Jul 21, 2026
Merged via the queue into master with commit 0301e6e Jul 21, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No Python 3.14 wheels for 0.12.1

1 participant