Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix easyconfig parameter deprecation #4479

Merged

Conversation

jfgrimm
Copy link
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
32 checks passed
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.

None yet

2 participants