From abb9ebbb9486e0c61a3ae6853be47c17081bd2f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Tue, 23 Sep 2025 22:32:49 +0200 Subject: [PATCH 1/2] add EB version check to terse build option check --- eb_hooks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eb_hooks.py b/eb_hooks.py index a1a2d137..86a78e83 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -72,12 +72,12 @@ orig_print_warning = print_warning def print_msg(*args, **kwargs): - if not build_option('terse'): + if EASYBUILD_VERSION < '4.9.1' or not build_option('terse'): orig_print_msg(*args, **kwargs) - + def print_warning(*args, **kwargs): - if not build_option('terse'): + if EASYBUILD_VERSION < '4.9.1' or not build_option('terse'): orig_print_warning(*args, **kwargs) From a0a9a212eb73ea0eeba7afb419409467a77586b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Tue, 23 Sep 2025 22:39:36 +0200 Subject: [PATCH 2/2] add comment about terse build option --- eb_hooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/eb_hooks.py b/eb_hooks.py index 86a78e83..1f5ee99a 100644 --- a/eb_hooks.py +++ b/eb_hooks.py @@ -68,6 +68,7 @@ # Ensure that we don't print any messages in --terse mode +# Note that --terse was introduced in EB 4.9.1 orig_print_msg = print_msg orig_print_warning = print_warning