From f0bf5e810cf2c26f92806352a474b90f4004b4ea Mon Sep 17 00:00:00 2001 From: Alan O'Cais Date: Fri, 5 Jun 2026 12:54:46 +0200 Subject: [PATCH 1/2] Add a fallback version for EasyBuild in the EESSI-extend module --- EESSI-extend-easybuild.eb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EESSI-extend-easybuild.eb b/EESSI-extend-easybuild.eb index 04b42a97..250191c0 100644 --- a/EESSI-extend-easybuild.eb +++ b/EESSI-extend-easybuild.eb @@ -232,7 +232,8 @@ end -- Make sure EasyBuild itself is loaded -- need to also handle the unload behaviour where the version is defined only before we unload -easybuild_version = os.getenv("EBVERSIONEASYBUILD") +-- (also provide a sensible default for cases like 'module show' where the modules are never loaded at all) +easybuild_version = os.getenv("EBVERSIONEASYBUILD") or "5.1.1" if not ( isloaded("EasyBuild") ) then load(latest("EasyBuild")) end From 66dae7b2d28ca9c9259f0246eca03da490e831fe Mon Sep 17 00:00:00 2001 From: Alan O'Cais Date: Fri, 5 Jun 2026 13:01:38 +0200 Subject: [PATCH 2/2] Add a 'module show' check for EESSI-extend --- .github/workflows/tests_eessi_extend_module.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests_eessi_extend_module.yml b/.github/workflows/tests_eessi_extend_module.yml index 89df0ebe..94a1d68f 100644 --- a/.github/workflows/tests_eessi_extend_module.yml +++ b/.github/workflows/tests_eessi_extend_module.yml @@ -50,9 +50,13 @@ jobs: export MY_INSTALLATION_PATH=/tmp/easybuild export EASYBUILD_PREFIX=$MY_INSTALLATION_PATH eb EESSI-extend-easybuild.eb --rebuild + module unload EasyBuild # Verify that we can pick the installed version up module use $MY_INSTALLATION_PATH/modules/all + # Verify we can run "module show" on the module + module show EESSI-extend/${{matrix.eessi_version}}-easybuild + # Now load it and run additional checks module load EESSI-extend/${{matrix.eessi_version}}-easybuild echo $EBROOTEESSIMINEXTEND | grep $MY_INSTALLATION_PATH || { echo "ERROR: Installed version of EESSI-extend not picked up (loaded $EBROOTEESSIMINEXTEND)" >&2; exit 1; } # Do a test rebuild (with default and local hooks)