What glibc to target for Linux? #4
Replies: 2 comments 7 replies
-
https://github.com/pypa/manylinux seems to use https://almalinux.org as the target distribution. Their lifecycle is 5 years which not only covers the lifetime of a Python release (if they align perfectly), but would very likely cover the 2 years of installer support that we currently follow. As well, they have 10 years of security releases, which means if the answer to #5 is to keep the glibc version for the lifetime of a CPython release, there will be an OS out there with a security release that uses that glibc version. So, for me, it seems reasonable to say either:
|
Beta Was this translation helpful? Give feedback.
-
I think it's good to match against a widely-used manylinux baseline, in part because if you're installing packages from PyPI, it's strictly worse to be slightly older or newer than a standard manylinux tag. It's also helpful for end users who are trying to figure out when they need to upgrade a system, or other projects who are trying to figure out what they should compile their own code for: most of them are already looking at the manylinux ecosystem, and so aligning with that is helpful. FWIW we currently don't name a particular manylinux baseline in python-build-standalone, just a Debian release that we do our build on, and I think we should name a manylinux baseline and actually run auditwheel on our binaries. Concretely this would help us answer the question of whether we can assume that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Should we coordinate with Manylinux somehow to figure out how to decide what glibc version to use?
Beta Was this translation helpful? Give feedback.
All reactions