-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 VCS subprocess output capture #9327
Conversation
proc.stdin is always None per documentation
showing_subprocess is always True
d6d0042
to
888a3ca
Compare
@sbidoul that works! I tested your branch on a VCS git install of my problem repo, and it cloned without a hitch. Looks like the use of the Thank you for solving the deeper issue. I haven't contributed to pip before, and I didn't feel confident about mucking with more than 1 or 2 lines. I'll close out my #9234 in favor of this one. |
@Mikuana thanks for reporting, investigating, and testing 👍 |
To be complete, I must mention that this PR will make #7841 reappear, but I think there is nothing pip can do for that one. |
Resetting to draft... the more I dig into this, the more I think #7969 has to be reverted. For instance, before there was careful control of output logging with call_subprocess's |
This reminds me of a reflection when I was working on the VCS code a while ago (I forgot whether by myself or someone else). The |
@uranusjr indeed you mentioned that in #7711. As it turns out, extracting the relevant parts of |
Fixes #8876
Supersedes #9234
@Mikuana I took the liberty to continue your PR and attempt to do a complete fix for #8876. Could you test it ?