Anybody has any idea why this is considered by Python standard zipfile module as a bad zip file: https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl
Turns out it was encoding issues. Text encoding issues. Opening the file manually as binary mode before feeding it to ZipFile fixed it.
Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy. Stay safe. Please abide by our code of conduct. (Source code)
Turns out it was encoding issues. Text encoding issues. Opening the file manually as binary mode before feeding it to ZipFile fixed it.