mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
zipfile_inflate64 replaces zipfile._get_compressor with a one-argument wrapper, while CPython 3.13+ passes compresslevel too, so every zip write raises TypeError once it is imported. Each writer had to call ensure_zipfile_writable() first, and a new writer that forgot it broke. Wrap the patched function right after the import in utils/archives.py, the only module that imports zipfile_inflate64, and drop the per-site calls and the helper. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>