[Python-ideas] High time for a builtin function to manage packages (simply)?
rosuav at gmail.com
Mon Sep 7 06:09:46 CEST 2015
On Mon, Sep 7, 2015 at 2:05 PM, Donald Stufft <donald at stufft.io> wrote:
> 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
>> whether you've imported from those packages, recommend a restart.
>> 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.
Okay. What if "--upgrade" isn't the default when it's being called
from within an interactive session? Would that work?
More information about the Python-ideas