Skip to content

Conversation

@arhadthedev
Copy link
Member

@arhadthedev arhadthedev commented Apr 1, 2023

This is a manual rebase of gh-1808.

The original author commited using a email slightly different from the one the new CLA is signed with. So I squashed everything to add the expected e-mail as Co-authored-by.

@westurner
Copy link
Contributor

westurner commented Jan 16, 2025

I'm encountering what I believe is this issue with the build context tarfile passed to repo2podman from repo2docker, which has multiple copies of the same file in the archive (acccording to less archive.tar | grep '.git/objects' | sort -u | wc -l)

I can confirm that copying the tarfile.py from this PR into sys.path before python.zip results in successful tarfile.extractall()

Is there a good reason to not merge this PR?

https://devguide.python.org/core-developers/experts/index.html :

@westurner
Copy link
Contributor

I was getting PermissionError: [Errno 13] Permission denied:, which doesn't explain that it's due to ~ Counter()[filename] > 1

@westurner
Copy link
Contributor

@westurner
Copy link
Contributor

westurner commented Jan 16, 2025

How does tarfile.extractall() differ from tar -xzvf; before and after this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stdlib Standard Library Python modules in the Lib/ directory topic-IO

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants