-
Notifications
You must be signed in to change notification settings - Fork 149
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
Show install command being run by pip and fail when pip install fails #1822
Conversation
The "joy" of using CMake...
I will check which version adds that and do it conditionally... Edit: |
@matthewfeickert : could you please have a look and share your opinion? ;-) |
@simonmichal Can you please merge this? I'd like to see the commands in the CI so I can try to debug locally. This only shows the command being issued to install the Python bindings and returns non-zero for a make install that fails. |
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.
While I don't really see the need for this (you could just use debug flags instead) there's nothing wrong with it, so sure if this is helpful then go for it.
Not personally a fan of taking commands that span multiple lines and smushing them into 2 lines instead of clearly breaking them out as I had them before, but that's stylistic stuff that doesn't need to hold up a PR.
Adding |
@amadio : thanks for the PR, looks good! |
My previous debugging of the problem was wrong, staged installations (with
DESTDIR
set don't work with the old patch, it only worked when I was using a branch where the version of XRootD was different than what I had installed, so pip didn't complain).Issue: #1768