On 26 July 2014 18:28, Ronald Oussoren <ronaldousso...@mac.com> wrote: > > On 26 Jul 2014, at 08:54, Nick Coghlan <ncogh...@gmail.com> wrote: >> Yes, by "system Python" on Linux, I mean the distro provided one. >> (Technically Apple provide one as well, but binary compatibility there >> is still governed by the python.org installer rather than the Apple >> version) > > And the Apple uses the same build flags as the python.org installer, at least > for those flags that affect binary compatibility (such as the width of > unicode characters > on older Python versions). AFAIK all other Python distributions on OSX do the > same, > which should make extensions portable between them. > > Thus, the only thing that affects the compatibility of wheels is the OSX > release you > target, assuming that the extensions only use system provided libraries. All > bets are > of when you upload wheels with extension that dynamically link with other > libraries (such > as a homebrew package for MySQL). > > I guess the same is true for Linux releases: as long as the wheel only > dynamically links > with libc, and not with other libraries, linux wheels should also work > cross-platform between > old systems with a compatible libc. I have no idea how useful that would be > though, I do > use Linux a lot but have a homogeneous set of servers and don’t really have a > need to > distribute binaries across different linux distributions (or releases of > them). Being in enterprise > IT does have its advantages once in while :-)
Indeed. This is actually one of the reasons I spend a lot of time translating between upstream folks and downstream folks, since the kinds of things that make them lose sleep at night are so radically different - when it comes to distribution technologies, once size emphatically does not fit all :) Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig