Skip to content

Commit 8658497

Browse files
committed
add link to issue about undeterministic behaviour of gzip in cpython
1 parent 4f30b16 commit 8658497

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

easybuild/tools/filetools.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2779,14 +2779,16 @@ def get_source_tarball_from_git(filename, target_dir, git_config):
27792779
def make_archive(source_dir, archive_file=None, archive_dir=None, reproducible=True):
27802780
"""
27812781
Create an archive file of the given directory
2782+
The format of the tarball is defined by the extension of the archive file name
27822783
27832784
:source_dir: string with path to directory to be archived
27842785
:archive_file: string with filename of archive
27852786
:archive_dir: string with path to directory to place the archive
27862787
:reproducible: make a tarball that is reproducible accross systems
27872788
- see https://reproducible-builds.org/docs/archives/
2788-
- requires uncompressed or LZMA compressed archive images, other formats like .gz are not reproducible
2789-
due to arbitrary strings and timestamps added into their metadata.
2789+
- requires uncompressed or LZMA compressed archive images
2790+
- gzip is currently not supported due to undeterministic data injected in its headers
2791+
see https://github.com/python/cpython/issues/112346
27902792
27912793
Default behaviour: reproducible tarball in .tar.xz
27922794
"""

0 commit comments

Comments
 (0)