-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fixing doc building with newer pip versions #189
Conversation
Well, this is interesting: Travis somehow fails on the opposite, indicating that his Is the check for |
Thanks for the PR, but the logic looks correct (although the comment could be better).
Yes, the check is necessary because the old version of pip installed on travis doesn't support the show command. Is there any problem when you run unchanged |
Yes, I get the |
Could be a change in pip behavior. What happens when you run |
Pretty much.
|
I've tried to modify the logic in Does it work for you? |
Some distros changed their default to python3 causing it to fail.
A patch for 3b224e1
I updated my fix, which is not pretty nor very future proof. |
Fixing doc building with newer pip versions
Merged, thanks! One way to improve this is to ignore the error from pip show altogether but the current approach is OK too even if it is not particularly pretty.
Haha yeah, MinGW32 was a bit of pain. |
CalledProcessError
should only be raised, if'No command ...'
is instderr
, not otherwise.