-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
bpo-30693: zip+tarfile: sort directory listing #2263
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
Conversation
also needs python/cpython#2263
to generate tar files in a reproducible way. See https://reproducible-builds.org/ for why this matters. In addition to this change, to generate completely reproducible tarballs, the build system also needs python/cpython#2263
51d3ad6
to
b5551df
Compare
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.
This needs a news item and a doc update.
to generate tar files in a more reproducible way See also https://reproducible-builds.org/docs/stable-inputs/ on that topic.
to generate zip files in a more reproducible way See also https://reproducible-builds.org/docs/stable-inputs/ on that topic.
updated docs to include a |
@brettcannon since you seem to be interested in this topic, I would really like to see the 1-line fix to tarfile.py merged |
@vstinner: Please replace |
tarfile and zipfile now sort directory listing to generate tar and zip archives in a more reproducible way. See also https://reproducible-builds.org/docs/stable-inputs/ on that topic.
zipfile+tarfile: sort directory listing
to generate zip and tar archives in a more reproducible way
See also https://reproducible-builds.org/docs/stable-inputs/ on that topic.
I successfully tested this change on python-2.7.13
https://bugs.python.org/issue30693