-
Notifications
You must be signed in to change notification settings - Fork 3.1k
--upgrade always downloads most recent version, even if already installed #49
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
Comments
In a related issue (which I think would be amenable to the same fix), "pip
|
Bump!
|
What if someone want to "reinstall" a package? I have used "--upgrade" side- Should we care about a --force option or let users do uninstall + install? Now we are talking about listing release versions1, it would be easier to 1 - See https://bitbucket.org/ianb/pip/issue/197/option-to-show-what- would-be
|
--force or --reinstall sound find. If you asked to upgrade your system, would
|
Werner, I have completed work on a new upgrade command which provides an alias https://bitbucket.org/ianb/pip/issue/4/add-upgrade-and-upgrade-all- The plan now is to shift focus and make the upgrade commands do the "right" I will be posting a patch for review in the near future. commands
|
Great. Makes me happy.
|
+1 for this bug
|
+1 as well. And it would be nice to have the -r requirements file Django<1.3 I'd like to easily upgrade to latest 1.2 security fix without grabbing 1.3
|
Requirements files and upgrade already integrate just fine: pip install -U -r
|
Any updates on this bug? 10-minute upgrade for a big requirements.txt really sucks :( |
I plan on working on this when the python3 port is finished. If anyone else wants to start they are well come. |
What about this, is it in Pip 1.0? |
Bump! |
Bump :) This would reduce our deployment/release time from many minutes to maybe around 30 seconds. Would be great to see this make it into pip. |
Bump! The default behavior of --upgrade definitely should not be to reinstall already up to date packages, unless maybe with the addition of a --force-reinstall option or the like. |
Bump, want this real bad =) |
The patch for this is here, for anyone that doesn't want to waste time finding it: #342 |
Merged - thanks @iguananaut for the pull request! |
We discussed this in #pythonpaste around the 0.5/0.5.1 release; the solution we discussed was to pass the currently-installed version into the finder and raise some kind of BestVersionAlreadyInstalled from there to avoid the unnecessary download.
The text was updated successfully, but these errors were encountered: