Skip to content

Build linux wheels on manylinux_2_28 to match numpy - #2

Merged
MuteJester merged 1 commit into
masterfrom
fix/manylinux-image
Aug 1, 2026
Merged

Build linux wheels on manylinux_2_28 to match numpy#2
MuteJester merged 1 commit into
masterfrom
fix/manylinux-image

Conversation

@MuteJester

Copy link
Copy Markdown
Owner

The 3.2.0 release pipeline failed at build_wheels (ubuntu-latest, x86_64 aarch64). Nothing was published: PyPI, GHCR and the GitHub Release all correctly skipped.

The wheel built fine. cibuildwheel's test step then installed it inside the build container and could not resolve numpy:

Collecting numpy>=1.20 (from lzgraphs==3.2.0)
  Downloading numpy-2.5.1.tar.gz (20.8 MB)
  ...
  ../meson.build:25:4: ERROR: Problem encountered: NumPy requires GCC >= 10.3

cibuildwheel defaults to manylinux2014 (glibc 2.17). numpy 2.5 ships only manylinux_2_28 and musllinux_1_2 wheels, so pip fell back to the sdist and tried to compile it, in an image with GCC 10.2.1.

Pins the linux images to numpy's own floor. Being more permissive than numpy gained nothing here: LZGraphs does not run without numpy, so a glibc 2.17 wheel is one whose dependency will not resolve on the machine that can install it. macOS and Windows wheels were unaffected and already passed.

The 3.2.0 release pipeline failed building linux wheels. The wheel itself
built fine; cibuildwheel's test step then installed it inside the build
container and could not resolve numpy.

cibuildwheel defaults to manylinux2014 (glibc 2.17), and numpy has stopped
shipping manylinux2014 wheels: from 2.5 it publishes manylinux_2_28 and
musllinux_1_2 only. pip therefore fell back to the numpy sdist and tried
to compile it, which cannot work in that image, since it ships GCC 10.2.1
and numpy requires 10.3 or newer.

Pins the linux images to numpy's own floor. Being more permissive than
numpy gained nothing: LZGraphs does not run without numpy, so a
glibc 2.17 wheel is one whose dependency will not resolve on the machine
that can install it.
@MuteJester
MuteJester merged commit 15d8b2f into master Aug 1, 2026
6 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.

1 participant