Repository navigation
ci: fall back to plain build frontend for odd-arch wheels - #246
Merged
Merged
Conversation
Override CIBW_BUILD_FRONTEND=build for the QEMU-emulated odd-arch matrix (aarch64, armv7l, ppc64le, riscv64, s390x x manylinux/musllinux). The pypa odd-arch container images do not ship uv preinstalled, so cibuildwheel cannot honour the build-frontend = "build[uv]" set in pyproject.toml inside those containers; without the override every odd-arch build fails at Command ['which', 'uv'] failed with code 1.
bdraco
marked this pull request as ready for review
May 19, 2026 16:50
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #246 +/- ##
=======================================
Coverage 99.54% 99.54%
=======================================
Files 10 10
Lines 439 439
Branches 17 17
=======================================
Hits 437 437
Misses 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What do these changes do?
Override
CIBW_BUILD_FRONTEND=buildfor the QEMU-emulatedodd-arch wheel matrix (
aarch64,armv7l,ppc64le,riscv64,s390xx manylinux/musllinux) in.github/workflows/reusable-build-wheel.yml, socibuildwheeluses plain
pipto drive the per-ABI builds inside thosecontainers.
pyproject.tomlsetsbuild-frontend = "build[uv]", whichrequires a
uvbinary onPATHinside the build container.The pypa tested-arch manylinux/musllinux images ship
uvpreinstalled, but the odd-arch images do not, which makes
every odd-arch matrix cell fail at
cibuildwheel: Command ['which', 'uv'] failed with code 1.The override lives in the existing
Prepare emulationstep(which already runs only when
inputs.qemuis set), keepingthe tested-arch matrix on
build[uv]and falling back toplain
buildonly for the QEMU-emulated odd-arch matrix.This is a port of aio-libs/yarl#1720 adapted to
propcache's reusable-workflow structure.
Are there changes in behavior for the user?
No user-visible API change. Restores production of odd-arch
wheels in future releases.
Related issue number
N/A
Checklist
CHANGES/folderAgent run details (optional, for reviewers)
build-wheels-for-odd-archsmatrix is gated onpre-deploy,which only runs on tag pushes; this change cannot be smoke-tested
on a PR. Verification path is the next tagged release.
make doc-spellingruns clean on the news fragment locally; thetwo remaining warnings (
subdirectoryinCHANGES/207.contrib.rstand
postfixinCHANGES.rst:168) are pre-existing onmasterand not introduced by this change. CI's
spellcheck-docsiscurrently green on master, so the local-vs-CI discrepancy is
likely
sphinxcontrib-towncrierversion drift, the sameenvironment quirk noted on the upstream yarl PR.
QEMU,preinstalled,pypa,pyproject.Drafted with Claude Code (Opus 4.7); reviewed by @bdraco before flipping out of draft.