[Distutils] Re: manylinux1 guidelines for zlib?

2018-10-15 Thread Antoine Pitrou
Updating on this. It seems the manylinux1 tooling may automatically link and bundle an old zlib version if you link dynamically against it. That can be counter-productive... Regards Antoine. -- Distutils-SIG mailing list -- distutils-sig@python.org To unsubscribe send an email to distutils-sig-

[Distutils] Re: manylinux1 guidelines for zlib?

2018-09-06 Thread Tzu-ping Chung
I see. Thanks for the clarification! > On 05/9, 2018, at 22:54, Donald Stufft wrote: > > > >> On Sep 5, 2018, at 9:30 AM, Tzu-ping Chung > > wrote: >> >> Isn’t zlib only required for compression? It is my impression that zipfile’s >> decompressor is pure Python, >

[Distutils] Re: manylinux1 guidelines for zlib?

2018-09-05 Thread Donald Stufft
> On Sep 5, 2018, at 9:30 AM, Tzu-ping Chung wrote: > > Isn’t zlib only required for compression? It is my impression that zipfile’s > decompressor is pure Python, > and only depends on zlib if the archive is encrypted (but wheels are never > encrypted). > > zlib also does not provide decomp

[Distutils] Re: manylinux1 guidelines for zlib?

2018-09-05 Thread Tzu-ping Chung
Isn’t zlib only required for compression? It is my impression that zipfile’s decompressor is pure Python, and only depends on zlib if the archive is encrypted (but wheels are never encrypted). zlib also does not provide decompression at its core; for that you need zlib/contrib/minizip, but I do

[Distutils] Re: manylinux1 guidelines for zlib?

2018-09-05 Thread Donald Stufft
> On Sep 4, 2018, at 6:06 AM, Alex Walters wrote: > > Since zlib is a dependency of python, the assumption has to be that it is > already present. It is technically an optional dependency of Python, though I don’t think you can install wheels without zlib present since wheels are zip files a

[Distutils] Re: manylinux1 guidelines for zlib?

2018-09-04 Thread Alex Walters
Since zlib is a dependency of python, the assumption has to be that it is already present. I think you can look at the python docs for which versions of zlib you should be dynamically linking against. The docs state "There are known incompatibilities between the Python module and versions of the