Skip to content

fix easyconfig parameter deprecation#4479

Merged
boegel merged 2 commits intoeasybuilders:5.0.xfrom
jfgrimm:fix-easyconfig-parameter-deprecation
Mar 8, 2024
Merged

fix easyconfig parameter deprecation#4479
boegel merged 2 commits intoeasybuilders:5.0.xfrom
jfgrimm:fix-easyconfig-parameter-deprecation

Conversation

@jfgrimm
Copy link
Copy Markdown
Member

@jfgrimm jfgrimm commented Mar 7, 2024

We currently have support for deprecating easyconfig parameters by adding them to the DEPRECATED_PARAMETERS dict in easybuild/framework/easyconfigs/parser.py.
However, there is currently a bug -- both triage_easyconfig_params() and set_keys() in easybuild/framework/easyconfig/easyconfig.py end up ignoring deprecated parameters, should they appear in an easyconfig. Instead, they're treated as a local variables/unkown easyconfig parameter.

this isn't actually specific to easybuild 5 (exists in 4.x at least, maybe older versions too), but since it hasn't come up before I've just targetted 5.0.x

@jfgrimm jfgrimm added bug fix EasyBuild-5.0 EasyBuild 5.0 labels Mar 7, 2024
@jfgrimm jfgrimm added this to the 5.0 milestone Mar 7, 2024
…n there are deprecated easyconfig parameters
@boegel boegel merged commit 5e51cb4 into easybuilders:5.0.x Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants