Skip to content

Commit 578fc5f

Browse files
authored
Merge pull request #4852 from lexming/low-warn-reprod-archives
replace deprecation warning about reproducible tarballs on Python older than 3.9 to a regular warning
2 parents e1ee851 + d58e681 commit 578fc5f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

easybuild/framework/easyblock.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,9 @@ def get_checksum_for(self, checksums, filename=None, index=None):
428428
# ignore any checksum for given filename due to changes in https://github.com/python/cpython/issues/90021
429429
# tarballs made for git repos are not reproducible when created with Python < 3.9
430430
if sys.version_info[0] >= 3 and sys.version_info[1] < 9:
431-
self.log.deprecated(
431+
print_warning(
432432
"Reproducible tarballs of Git repos are only possible when using Python 3.9+ to run EasyBuild. "
433-
f"Skipping checksum verification of {chksum_input} since Python < 3.9 is used.",
434-
'6.0'
433+
f"Skipping checksum verification of {chksum_input} since Python < 3.9 is used."
435434
)
436435
return None
437436
# not all archives formats of git repos are reproducible

0 commit comments

Comments
 (0)