-
Notifications
You must be signed in to change notification settings - Fork 18
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
Make sure that pip always gets upgraded #211
Conversation
It was not upgraded for an existing venv. Signed-off-by: Stefan Weil <sw@weilnetz.de>
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.
Why not. But I wonder what your use-case is. We never needed to update from the old 9-something default until recently. Does this have to do with the new dependency resolver that will arrive by default soon?
Maybe most builds did not use an existing venv but created the venv? The Makefile already upgraded pip when it created a new venv. |
No, creating a venv does not update pip automatically. We only noticed this when the old default version (it's |
The current Makefile creates the venv in line 141. Line 142 updates pip. I don't understand your no. |
You are taking this out of context. The question remains: what do we need this change for in the first place? |
See the commit message: pip was not upgraded for an existing venv. So for example this sequence would run with an old version of pip and possibly fail:
|
Co-authored-by: Robert Sachunsky <38561704+bertsky@users.noreply.github.com>
It was not upgraded for an existing venv.
Signed-off-by: Stefan Weil sw@weilnetz.de