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

adopt module_load_environment: Bundle #3513

Open
wants to merge 9 commits into
base: 5.0.x
Choose a base branch
from

Conversation

lexming
Copy link
Contributor

@lexming lexming commented Nov 22, 2024

Update of Bundle easyblock for #3527

Also fixes issue #3528

@lexming lexming added the EasyBuild-5.0 EasyBuild 5.0 label Nov 22, 2024
@lexming lexming added this to the 5.0 milestone Nov 22, 2024
@lexming lexming marked this pull request as draft November 22, 2024 13:13
@lexming lexming changed the title {WIP} replace make_module_req_guess with module_load_environment {WIP} replace make_module_req_guess with module_load_environment: PythonBundle, Bundle, FlexiBLAS, PerlModule Nov 28, 2024
@lexming lexming changed the title {WIP} replace make_module_req_guess with module_load_environment: PythonBundle, Bundle, FlexiBLAS, PerlModule {WIP} replace make_module_req_guess with module_load_environment: Bundle, FlexiBLAS, PerlModule, Perl, PythonPackage Nov 28, 2024
@lexming lexming changed the title {WIP} replace make_module_req_guess with module_load_environment: Bundle, FlexiBLAS, PerlModule, Perl, PythonPackage replace make_module_req_guess with module_load_environment: Bundle, FlexiBLAS, PerlModule, Perl, PythonPackage Nov 28, 2024
@lexming lexming marked this pull request as ready for review November 28, 2024 13:38
@boegel
Copy link
Member

boegel commented Dec 4, 2024

@lexming I suspect that #3509 will get merged soon, which will cause trouble/conflicts here.

Maybe we can revert the changes to the Bundle easyblock made here for now, and postpone that to another PR to avoid a complex conflict resolution situation?

@boegel boegel changed the title replace make_module_req_guess with module_load_environment: Bundle, FlexiBLAS, PerlModule, Perl, PythonPackage replace make_module_req_guess with module_load_environment: Bundle, FlexiBLAS, PerlModule, Perl, PythonPackage Dec 4, 2024
@Thyre
Copy link
Contributor

Thyre commented Dec 4, 2024

@lexming I suspect that #3509 will get merged soon, which will cause trouble/conflicts here.

Maybe we can revert the changes to the Bundle easyblock made here for now, and postpone that to another PR to avoid a complex conflict resolution situation?

I think that this should not cause a merge conflict. #3509 doesn't touch the lines changed by this PR and comp, used by this PR, is still defined.
However, having both module_load_environment and make_module_req_guess in the same EasyBlock is probably not a good idea.

I think there are two options:

@lexming lexming changed the title replace make_module_req_guess with module_load_environment: Bundle, FlexiBLAS, PerlModule, Perl, PythonPackage replace make_module_req_guess with module_load_environment: Bundle Dec 11, 2024
@lexming
Copy link
Contributor Author

lexming commented Dec 11, 2024

Having both module_load_environment and make_module_req_guess is indeed undesirable. I propose that #3509 gets merged first and then I'll update this PR to adapt those changes to the new approach.

I changed the scope of this PR to only concern Bundle.

@lexming lexming changed the title replace make_module_req_guess with module_load_environment: Bundle adopt module_load_environment: Bundle Dec 11, 2024
@boegel
Copy link
Member

boegel commented Dec 11, 2024

@lexming I think this PR should only get merged if all other easyblocks have been updated to use module_load_environment rather than customizing make_module_req_guess, since with the changes made here customized make_module_req_guess methods for components will be ignored?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EasyBuild-5.0 EasyBuild 5.0
Projects
Status: Breaking changes
Development

Successfully merging this pull request may close these issues.

3 participants