New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-35964: shutil.make_archive (xxx, tar, root_dir) is adding './' entry to archive which is wrong #13738
base: main
Are you sure you want to change the base?
Conversation
to a tar archive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the change to shutil warrants a mention in "What's New". The similar fix for zip archives did not add such a mention. The "What's New" line about the change to tarfile is fine IMO, though.
Also, since this changes the tarfile module (rather than shutil), this also should be tested in the tar module's tests.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
This should also be reviewed by @gustaebel, the expert on the tarfile module.
Exclude '.' directory entries when adding directories to a tar archive.
https://bugs.python.org/issue35964