reset modules loaded by PythonPackage to let ExtensionEasyBlock handle multi_deps correctly#2951
Conversation
…e multideps correctly
|
This fixes a regression introduced by #2745 |
|
This looks narrow in scope enough to be ok to merge. Since we don't have test suites for this and there are wide base of use cases and configurations, it's very hard to check this. You created the PR to work for installing a module, does it also work for |
multi_deps correctly
|
Yes, it did work correctly with |
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 2 (2 easyconfigs in total) |
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 2 (2 easyconfigs in total) edit: test with |
|
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 2 (2 easyconfigs in total) |
PythonPackage'ssanity_check_steploads modules, but is unaware of the handling ofmulti_depsdone by theExtensionEasyBlockversion ofsanity_check_step.This PR unloads the modules loaded during
PythonPackage's version to letExtensionEasyBlockhandlemulti_depscorrectly.