[Distutils] Other ideas from today's packaging meetup at EuroPython

Donald Stufft donald at stufft.io
Fri Jul 25 21:55:37 CEST 2014

On July 25, 2014 at 3:50:30 PM, Wichert Akkerman (wichert at wiggy.net) wrote:

On 25 Jul 2014, at 21:44, Donald Stufft <donald at stufft.io> wrote:

On July 25, 2014 at 3:42:48 PM, Wichert Akkerman (wichert at wiggy.net) wrote:

On 25 Jul 2014, at 21:06, Donald Stufft <donald at stufft.io> wrote:

On July 25, 2014 at 2:37:58 PM, Richard Jones (r1chardj0n3s at gmail.com) wrote:
Linux wheels are generally not compatible in a non-local sense, so it's unlikely those will be distributable through PyPI. That would also mean it's probably unlikely they'll be built there.

Something related to this also cane up in discussion at europython but I don't want to steal any thunder :-)

I completely plan on making it possible to publish Linux Wheels at some point in the future and I don’t believe the binary compat problem on Linux is unable to be overcome.

I have some experience with Linux distributions, and I am struggling to image how you can possibly overcome those problems. There are a large number of reasons why binary compatibility between various different distributions, and different versions of the same distribution is not possible unless you integrate very tightly with packaging system, which is something that I don’t see being possible with wheels. I would love to hear how you envision solving that.


Include the distro name and version in the compatibility tag, so something like:


Will that guarantee the OS-provided Python was used? Or is there still a risk someone was using a custom compiled Python on an Ubuntu 14.04 system that is not binary compatible with the Ubuntu-provided Python? 


No It won’t guarantee the OS-provided Python is used. It doesn’t even guarantee that the OS provided libs are being linked to. However at that point you’ve more or less reached parity with Windows and OSX where Wheels (and Eggs before them) are generally built to target the “System” Python and if you’re not using the “System” Python you might end up having a bad time.

Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20140725/f0eab48b/attachment.html>

More information about the Distutils-SIG mailing list