[Python-ideas] 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 13:19:06 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/python-ideas/attachments/20161007/f5471d82/attachment-0001.html>
More information about the Python-ideas
mailing list