-
Notifications
You must be signed in to change notification settings - Fork 283
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 --sanity-check-only
and --module-only
for UCX plugins
#3007
fix --sanity-check-only
and --module-only
for UCX plugins
#3007
Conversation
--sanity-check-only
and --module-only
for UCX plugins
@boegelbot please test @ generoso |
@boegel: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... - notification for comment with ID 1737516669 processed Message to humans: this is just bookkeeping information for me, |
Test report by @boegelbot 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 0 out of 2 (2 easyconfigs in total) |
Hmm, looks OK, but still hitting a problem with The problem here is that until the parent Another approach could indeed be to not rely on |
Allows working with --sanity-check-only where the modules may not be loaded yet
Done that, looks simpler although now the code in |
ping @boegel Can you test this again? |
BTW: Given that we use |
@Flamefire Yes, makes sense, we should be using that more often since it helps with keeping easyblocks compatible with Are you up for opening a PR for that? |
|
5630f1c
to
56dbb5d
Compare
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 7 out of 7 (7 easyconfigs in total) edit this was using |
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 7 out of 7 (7 easyconfigs in total) edit: this was using |
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 7 out of 7 (7 easyconfigs in total) |
(created using
eb --new-pr
)The
self.plugins
variable was initialized empty and only populated in the configure step. This leads to errors in the sanity check when the configure step is not run.Convert to a property which is lazy-initialized.
Note: I was thinking about querying the dependencies instead of using
get_software_root
as this implementation might fail whenself.plugins
is accessed without the modules loaded. But I think this cannot happen, can it?