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