4 ms·
>Binaries built on Ubuntu 20.04 can only support Ubuntu 20.04 and newer So? Who are those people building for servers they don't control and arbitrary old vers
by coldtea 5y ago
>Binaries built on Ubuntu 20.04 can only support Ubuntu 20.04 and newer
So? Who are those people building for servers they don't control and arbitrary old versions of OSes?
- chc 5y agoEvidently the point of the manylinux project is to make it easy to distribute Python binary wheels for Linux, so that basically is their use case. Though they're not building for arbitrary old versions — they're building for a concrete set of old OS versions defined by Python standards. I think the idea is that you don't want to require everyone installing your Python module to have a full set of build tools installed, so they're providing a way to distribute a binary module that supports a guaranteed set of supported Linuxes.
- oefrha 5y agoThe manylinux wheels distributed on PyPI need to be built against the oldest glibc imaginable, which is defined to be the glibc on some ancient version of CentOS (a different version for each different manylinux platform tag). If you build your own wheels, of course no one’s going to stop you from building against anything.
- int_19h 5y agoThis is how it used to be back when manylinux was separately versioned. Since https://www.python.org/dev/peps/pep-0600/ https://www.python.org/dev/peps/pep-0600/, you just say which version of glibc you expect: manylinux_2_17_x86_64 etc.