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 don’t
think CPython depends on minizip either.
zlib is technically optional, and not even required to installed wheels.
Since zlib is a dependency of python, the assumption has to be that it is
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 and generally include compression. Although maybe it could work in niche scenarios if someone built wheels using ZIP_STORED instead of ZIP_DEFLATE?
Distutils-SIG mailing list -- firstname.lastname@example.org
To unsubscribe send an email to email@example.com://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://firstname.lastname@example.org/message/FFB5XQBHX6N26FD5ZELMRIBRNOCNQ62Z/