enthought / okonomiyaki

Okonomiyaki is aimed at consolidating a lot of our low-level code used for Enthought's eggs and python runtimes.
Other
2 stars 3 forks source link

zipfile2 is broken in Python 3.12 #467

Open Nebucatnetzer opened 5 months ago

Nebucatnetzer commented 5 months ago

zipfile2 uses ZipInfo._decodeExtra which requires an argument in Python 3.12 but zipfile2 doesn't provide it and therefore fails.

https://github.com/cournape/zipfile2/blob/master/zipfile2/_lean_zipfile.py#L191 https://github.com/python/cpython/blob/3.12/Lib/zipfile/__init__.py#L500