Skip to content

Commit e178bd0

Browse files
committed
improve deprecation warning when skipping checksum verification for git_config source tarballs when using Python < 3.9
1 parent d9e7682 commit e178bd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/framework/easyblock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,11 @@ def get_checksum_for(self, checksums, filename=None, index=None):
372372

373373
if sys.version_info[0] >= 3 and sys.version_info[1] < 9:
374374
# ignore any checksum for given filename due to changes in https://github.com/python/cpython/issues/90021
375-
# checksums of tarballs made by EB of git repos cannot be reliably checked prior to Python 3.9
375+
# tarballs made for git repos are not reproducible when created with Python < 3.9
376376
if chksum_input_git is not None:
377377
self.log.deprecated(
378378
"Reproducible tarballs of Git repos are only possible when using Python 3.9+ to run EasyBuild. "
379-
f"Checksum of {chksum_input} cannot be verified.",
379+
f"Skipping checksum verification of {chksum_input} since Python < 3.9 is used.",
380380
'6.0'
381381
)
382382
return None

0 commit comments

Comments
 (0)