You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
manylinux: don't accept glibc below 2.17 on arm, ppc64le, s390x and riscv64 #79
manylinux_platforms() in src/wheelgap/targets.py generates manylinux_2_* tags from your --glibc down to manylinux_2_5 for every architecture. pip (via packaging) only goes down to 2.17 for anything other than x86_64 and i686, because those platforms never had an older manylinux. So linux-aarch64 (and the new linux-armv7l, linux-ppc64le, linux-s390x and linux-riscv64) accept a manylinux_2_12_aarch64 wheel that pip would refuse.
No real wheel like that is likely on PyPI, but wheelgap should agree with pip exactly.
What to do
In manylinux_platforms, stop at minor 17 unless arch is x86_64 or i686. You can check against packaging._manylinux.platform_tags, which uses too_old_glibc2 = 2.16 for other arches.
Tests in tests/test_targets.py: manylinux_2_12_aarch64 is rejected on linux-aarch64, and manylinux_2_12_x86_64 is still accepted on linux-x86_64.
Thanks @shounakjoshi88-a11y, go ahead, it's yours! I see you've already opened #92 for it. I've started CI on it, and it'll get a full review once the checks finish. If you haven't seen it yet, CONTRIBUTING.md covers setup and the checks we run, and questions are always welcome in Discussions.
Activity
shounakjoshi88-a11y commentedon Nov 9, 2026
I'd like to take this.
patrickballard commentedon Nov 9, 2026
Thanks @shounakjoshi88-a11y, go ahead, it's yours! I see you've already opened #92 for it. I've started CI on it, and it'll get a full review once the checks finish. If you haven't seen it yet, CONTRIBUTING.md covers setup and the checks we run, and questions are always welcome in Discussions.
(Reply assisted by Claude.)
manylinux: stop at glibc 2.17 on every arch except x86_64 and i686 (w…