-
Notifications
You must be signed in to change notification settings - Fork 295
enhance Cargo
easyblock to handle single-line members in workspaces
#3705
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
enhance Cargo
easyblock to handle single-line members in workspaces
#3705
Conversation
The current code failed to find members when all are on a single line. E.g.: `members = ["a", "b"]` Fix by splitting the stop condition out of the start-or-append logic so it handles the former. Also show a good error when no members were found instead of crashing due to the access of `None`.
Test report by @Flamefire Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 2 (2 easyconfigs in total) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code looks fine (waiting to see if it helps building polars before merging)
It helps with polars - it fix the |
Now polars 1.28.1 can be built, many thanks! |
There is another PR where I use this fix:
|
@pavelToman Can you provide test reports for this PR with those? I.e. |
I am trying, but --inject-checksums does not work for CargoPythonBundle and CI check wants checksums... |
SCENICplus PR is OK, scatac_fragment_tools can be built with this patch: |
Test report by @boegel Overview of tested easyconfigs (in order)
Build succeeded for 72 out of 72 (71 easyconfigs in total) |
Cargo
easyblock to handle single-line members in workspaces
The current code failed to find members when all are on a single line. E.g.:
members = ["a", "b"]
Fix by splitting the stop condition out of the start-or-append logic so it handles the former.
Also show a good error when no members were found instead of crashing due to the access of
None
.