This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zwol
Recipients dstufft, eric.araujo, zwol
Date 2019-11-06.20:14:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Recent versions of the gzip command-line utility have an option `-n` which causes it to omit the FNAME field of the gzip file header, and write out the MTIME field as zero.  Both of these properties are desirable when constructing reproducible build artifacts (see ).

An sdist tarball is a build artifact and it should be created as reproducibly as possible.  In particular, --format=gztar should behave as-if `gzip -n` were in use.  (The stdlib's gzip module can produce output equivalent to what gzip -n does, but this is not currently documented nor is it accessible via `tarfile`.  Both of those should be easy fixes.  See bug 38725 and bug 38726.)
Date User Action Args
2019-11-06 20:14:38zwolsetrecipients: + zwol, eric.araujo, dstufft
2019-11-06 20:14:38zwolsetmessageid: <>
2019-11-06 20:14:38zwollinkissue38727 messages
2019-11-06 20:14:38zwolcreate