[Python-ideas] High time for a builtin function to manage packages (simply)?

Donald Stufft donald at stufft.io
Mon Sep 7 06:05:31 CEST 2015

On September 6, 2015 at 11:26:04 PM, Chris Angelico (rosuav at gmail.com) wrote:
> > How often does pip actually need to upgrade an already-installed 
> package in order to install something you've just requested? 
> Maybe the
> rule could be simpler: if there are any upgrades at all, regardless 
> of
> whether you've imported from those packages, recommend a restart. 
> The
> use-case I'd be most expecting is this:

Due to the nature of ``pip install --upgrade``, it's fairly common. At this
time ``pip install --upgrade`` is "greedy" and will try to upgrade the named
package and all of it's dependencies, even if their is already a version of the
dependency installed that satisfies the version constraints.

Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

More information about the Python-ideas mailing list