Skip to content

Unpin cibuildwheel container images so the release can build 3.14#70

Open
yokofly wants to merge 1 commit into
developfrom
yokofly/fix-cibuildwheel-images
Open

Unpin cibuildwheel container images so the release can build 3.14#70
yokofly wants to merge 1 commit into
developfrom
yokofly/fix-cibuildwheel-images

Conversation

@yokofly

@yokofly yokofly commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Release run 27423060149 for v0.3.0 failed at cibuildwheel startup:

cibuildwheel: cibuildwheel 3.x does not support the image 'musllinux_1_1'.

Two stale image pins in pyproject.toml block the release:

  1. musllinux_1_1 — removed by cibuildwheel 3.x, hard error.
  2. manylinux2014 — the images froze at CentOS 7 EOL (June 2024) and do not contain Python 3.14, so they could not build the cp314/cp314t wheels this release exists for.

Fix: drop the pins and use the cibuildwheel 3.4.1 defaults (manylinux_2_28 / musllinux_1_2).

Why no PR check caught this: the release workflow is the only place cibuildwheel runs, so its config can rot invisibly — PR #69 was fully green while the release config was broken. This PR closes that gap: the test workflow now builds one real wheel (cp314t) through cibuildwheel on every PR. cibuildwheel resolves all image options upfront, so any config rot fails the job in seconds instead of surfacing at release time.

Verified locally before opening this PR:

  • cibuildwheel --print-build-identifiers yields the full set: cp38–cp314t + pp311, x86_64 + aarch64, manylinux + musllinux. (Note: this command alone does not validate images — verified empirically — which is why the guard builds a real wheel.)
  • A real cp314t wheel built end-to-end through cibuildwheel with the block-import smoke test passing inside the container.
  • auditwheel grades the built wheel to manylinux2014/manylinux_2_17 — the extensions only use old glibc symbols, so compatibility with old distros is preserved despite the newer build image.
  • Reintroducing the bad musllinux_1_1 pin makes the new guard job fail in ~2 seconds, proving it catches this failure class.

🤖 Generated with Claude Code

@coveralls

coveralls commented Jun 12, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 27424402958

Warning

No base build found for commit 4a37a1e on develop.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 94.387%

Details

  • Patch coverage: No coverable lines changed in this PR.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 3884
Covered Lines: 3666
Line Coverage: 94.39%
Coverage Strength: 12.44 hits per line

💛 - Coveralls

cibuildwheel 3.x rejects the musllinux_1_1 alias outright (it killed
release run 27423060149 at startup), and the manylinux2014 images froze
at CentOS 7 EOL without Python 3.14, so neither pin can produce
cp314/cp314t wheels. The 3.4.1 defaults (manylinux_2_28 / musllinux_1_2)
carry every targeted interpreter.

Verified locally: the config now yields the full identifier set
(cp38-cp314t + pp311, x86_64 + aarch64) and a real cp314t wheel builds
through cibuildwheel with the smoke test passing; auditwheel grades it
to manylinux2014/manylinux_2_17, so old-glibc compatibility survives
the newer build image.

This failure class was invisible to PR CI because only the release
workflow runs cibuildwheel — so the test workflow now builds one real
wheel (cp314t) through cibuildwheel on every PR, which resolves all
image options upfront and fails in seconds on config rot.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@yokofly yokofly force-pushed the yokofly/fix-cibuildwheel-images branch from dee02e2 to eda774d Compare June 12, 2026 15:08
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.

2 participants