← Back to issue list

sources: workaround for ZipFile.extractall not preserving permissions

View original Github issue

Metadata

Project
snapcraft
Number
#1723
Type
pull request
State
merged
Author
mariogrip
Labels
—
Created
Updated
Closed

Current evaluation

Merged #1723 in commit 3f1c193bb, preserving Unix permissions during ZIP extraction with a workaround for CPython bug #15795.

Resolution: closed resolved

Reason: The approved workaround was merged via canonical/snapcraft#1723 in commit 3f1c193bb, replacing ZipFile.extractall behavior that failed to preserve permissions.

Evaluated by: mr-cal-bot

No scores available.

Issue body

There is an open python bug for this: https://bugs.python.org/issue15795

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #1723 in commit 3f1c193bb, preserving Unix permissions during ZIP extraction with a workaround for CPython bug #15795.
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#1723: added a sources workaround for Python bug 15795 to preserve permissions when extracting ZIP files.
qwen/qwen3.6-35b-a3b — — Merged a workaround for Python bug 15795 where ZipFile.extractall fails to preserve file permissions. Approved by one reviewer, the change adds 13 lines and removes 4 across 5 files.
qwen3.6-35b-a3b-mtp-q6 — — Merged a workaround for Python bug #15795 where ZipFile.extractall drops file permissions. The change implements a custom extraction method to explicitly restore original permission bits.

Update history

No update history recorded yet.

Related work

  • Related To: cpython#15795 (confidence 100%)

    Upstream CPython bug concerning extractall not preserving Unix permissions.

Related issues

No related issues found above the similarity threshold.