Skip to content

[3.15] gh-161112: Fix shutil.make_archive() adding a zip archive to itself (GH-161113) - #161140

Merged
gpshead merged 1 commit into
python:3.15from
gpshead:backport-521e15c-3.15
Nov 1, 2026
Merged

gpshead merged 1 commit into
python:3.15from
gpshead:backport-521e15c-3.15

Conversation

@gpshead

@gpshead gpshead commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

…e to itself (pythonGH-161113)

Skip any walked file that is the archive being written, whether it is
created inside the archived tree or a symlink in the tree points at it.

(cherry picked from commit 521e15c)
@gpshead
gpshead requested a review from giampaolo as a code owner November 1, 2026 21:07
@gpshead
gpshead enabled auto-merge (squash) November 1, 2026 21:08
@gpshead gpshead self-assigned this Nov 1, 2026
@gpshead
gpshead merged commit 2f87f80 into python:3.15 Nov 1, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant