Skip to content

Commit a8d397d

Browse files
authored
Merge pull request #3330 from ocaisa/fix_update_deps_bug
check easyconfig itself as well as deps for versionsuffix when using --try-update-deps
2 parents 8d81c7a + 147f9ef commit a8d397d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/framework/easyconfig/tweak.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ def map_easyconfig_to_target_tc_hierarchy(ec_spec, toolchain_mapping, targetdir=
958958
versonsuffix_mapping = {}
959959
# We only need to map versionsuffixes if we are updating dependency versions and if there are
960960
# versionsuffixes being used in dependencies
961-
if update_dep_versions and list_deps_versionsuffixes(ec_spec):
961+
if update_dep_versions and (list_deps_versionsuffixes(ec_spec) or parsed_ec['versionsuffix']):
962962
# We may need to update the versionsuffix if it is like, for example, `-Python-2.7.8`
963963
versonsuffix_mapping = map_common_versionsuffixes('Python', parsed_ec['toolchain'], toolchain_mapping)
964964

0 commit comments

Comments
 (0)