[Distutils] pip enhancements: check for dependent packages before uninstalling and store installation date to allow listing by it

João Matos jcrmatos at gmail.com
Fri Oct 7 19:05:10 EDT 2016



Hello,


I believe it would be helpful if pip checked if there are any dependent 
packages before uninstalling a package.


If there were, it should:

  1. Warn the user by listing the dependent packages;

  2. Require a specific option, eg. --alldeps to uninstall all dependent 
packages before uninstalling the specified package;

  3. Require a specific option, eg. --force to continue with the uninstall 
w/o uninstalling the dependent packages (which could be dangerous, but it's 
the current behaviour and may be useful in specific situations).


This is similar to what happens with package managers in Linux.


This should also work on venvs.


By storing the installation date of all packages, it should allow the list 
command to be ordered by it.


Best regards,

JM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20161007/16d96242/attachment.html>


More information about the Distutils-SIG mailing list