We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98b9f90 commit c5c7abcCopy full SHA for c5c7abc
1 file changed
eb_hooks.py
@@ -50,6 +50,14 @@
50
51
STACK_REPROD_SUBDIR = 'reprod'
52
53
+# The post_easyblock_hook was introduced in EB 5.1.1
54
+MIN_EASYBUILD_VERSION_REQUIRED = '5.1.1'
55
+if EASYBUILD_VERSION < MIN_EASYBUILD_VERSION_REQUIRED:
56
+ raise EasyBuildError(
57
+ f"This hooks file requires at least EasyBuild version {MIN_EASYBUILD_VERSION_REQUIRED}, you are using {EASYBUILD_VERSION}."
58
+ )
59
+
60
61
def is_gcccore_1220_based(**kwargs):
62
# ecname, ecversion, tcname, tcversion):
63
"""
0 commit comments