-
Notifications
You must be signed in to change notification settings - Fork 3k
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
VCS invocation merges stdout and stderr, resulting in output parsing error #7545
Comments
It's correct that pip captures both stdout and stderr: pip/src/pip/_internal/utils/subprocess.py Lines 186 to 191 in 08f61a9
Could you check if running |
It does not appear to silence the warning. |
I’ll probably work on this after #7593. Some refactoring would improve the code touched by that PR, and would fix this bug en passant. |
pip freeze
fails if there is an editable install, and hg root
has a warning
I’ve edited the title to be more generic. This also better reflects the problem (which is general, not limited to hg). |
Copying some extra info from #8191:
|
Hi @tomprince The fix for this #7969 is now merged to master. Could you please install pip from master branch ( |
Environment
Due to a bug in mercurial, if both the
split
andevolve
extension are enabled, mercurial will output a warning (on stderr) whenever it runs. When pip callshg root
to get the path of an editable install,pip
captures both stdout and stderr, and so includes the warning as part of the path to the root of the repository and fails.This can be reproduced with the following
.hgrc
:and installing the evolve extensions
pip install hg-evolve
.The text was updated successfully, but these errors were encountered: