-
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
Follow up to closed PR #1677 #1681
Conversation
I am not sure how to detect that pip is run as pip.exe
The code above manages to self-update when executed as Scripts\pip install pip==1.5.2
What concept is this proving exactly? I thought the issue was to have |
This is not a working patch to pip that fixes the issue described. Please stop submitting "proof of concept" and incomplete patches. If you can make it so "pip install -U pip" works without an error about being unable to overwrite pip.exe then please do so, otherwise stop wasting people's time. Nobody else is going to write the patch, no matter how often you tell us it's easy. |
If that's not obvious this patch proves that pip.exe is replaced. It is what you need to check. @pfmoore has wrong assumption that it doesn't happen, but do not want to execute the script that proves otherwise. I don't know how to persuade him. |
@pfmoore, I am opening issues for a clear reason - to keep track for non-resolved problems and not to annoy you. It will save me some time if you wait for a few days before closing them, |
@techtonik this is a pull request, not an issue. It needs to actually fix the issue in a way that can be included in pip and released. Hacking in a quick call to |
@pfmoore - it is your words that #1299 needs code to go on. I can attach it there, but it is hard to update. I am telling you that Until you test this patch and confirm that proof of concept works, I won't invest more time in polishing it, because I don't want to waste time on something that won't be merged. It may happen that you have different Windoze and that's why it failed previously. |
So this approach does not work, as I repeatedly stated previously. |
I can't update this PR, because it is closed, so here is the correct code that should work with
|
This won't alter the fact that the console regains control before pip writes its output. I will not be spending any more time on this, as I think I have proved to my satisfaction that this approach is unworkable. |
I've re-opened for now. Feel free to:
And comment here when the above are done so we can test and confirm. I can boot up into Windows to do so at some point (when the above are done) if you don't wish to handle it for the time being @pfmoore |
@pfmoore, I guess I can read it as "I was wrong and I accept the fact that |
@techtonik Could you please remove the extraneous comments and remove 'wget' so that this patch is workable? |
I'm going to close this PR. It was a proof of concept which has shown it's concept. If someone wants to fix the issues exposed in this and make a proper PR for it they are welcome to. |
See #1677 for discussion. #1677 was closed and doesn't update itself with new commits anymore.