Skip to content

Commit b60302a

Browse files
committed
replace depecretation warning about reproducible tarballs on Python older than 3.9 to a regular warning
1 parent 3a82615 commit b60302a

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
@@ -423,10 +423,9 @@ def get_checksum_for(self, checksums, filename=None, index=None):
423423
# ignore any checksum for given filename due to changes in https://github.com/python/cpython/issues/90021
424424
# tarballs made for git repos are not reproducible when created with Python < 3.9
425425
if sys.version_info[0] >= 3 and sys.version_info[1] < 9:
426-
self.log.deprecated(
426+
print_warning(
427427
"Reproducible tarballs of Git repos are only possible when using Python 3.9+ to run EasyBuild. "
428-
f"Skipping checksum verification of {chksum_input} since Python < 3.9 is used.",
429-
'6.0'
428+
f"Skipping checksum verification of {chksum_input} since Python < 3.9 is used."
430429
)
431430
return None
432431
# not all archives formats of git repos are reproducible

0 commit comments

Comments
 (0)