Build release wheels on manylinux_2_28 - #134
Merged
Merged
Conversation
cibuildwheel defaults to the manylinux2014 image (glibc 2.17, GCC 10.2.1). NumPy >= 2.3 publishes only manylinux_2_28 x86_64 wheels, so no installable NumPy exists in that image and pip falls back to the NumPy sdist, where meson stops with "NumPy requires GCC >= 10.3". The cp312 wheel job died there; cp310 and cp311 survived only by backtracking the resolver down to numpy 2.2.6, the last release with manylinux2014 wheels, which is why cp311 took three minutes. Build on manylinux_2_28 so the published NumPy wheels install directly, and skip PyPy, for which NumPy no longer publishes wheels at all. Note this raises the glibc floor of the published wheels to 2.28, which NumPy's own wheels already require in practice. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
The
v0.2.0wheel build failed: cibuildwheel defaults to the manylinux2014image (glibc 2.17, GCC 10.2.1), but NumPy >= 2.3 publishes only
manylinux_2_28x86_64 wheels. With no installable NumPy in that image, pipfalls back to the NumPy sdist and meson stops with
NumPy requires GCC >= 10.3.cp310was fine — NumPy 2.3 dropped 3.10, so it resolves to 2.2.6, whichstill ships a manylinux2014 wheel.
cp311only passed by backtracking the resolver down to 2.2.6, which is whythat job took three minutes.
cp312pulled NumPy 2.5.2 and failed.Build on
manylinux_2_28so the published NumPy wheels install directly, andskip PyPy, for which NumPy no longer publishes wheels at all.
This raises the glibc floor of the published wheels to 2.28, which NumPy's own
wheels already require in practice.
🤖 Generated with Claude Code