[Python-modules-team] Bug#771794: Bug#771794: pip silently removes/updates system provided python packages

Scott Kitterman debian at kitterman.com
Fri Dec 5 21:15:31 UTC 2014


Based on discussions on IRC, we have a patch for pip 6.0 that I've backported 
to the Debian packaged version.  I believe it does the right thing now:

# pip install requests                           
Requirement already satisfied (use --upgrade to upgrade): requests in 
/usr/lib/python2.7/dist-packages
Cleaning up...
# pip install requests --upgrade                 
Downloading/unpacking requests from 
https://pypi.python.org/packages/py2.py3/r/requests/requests-2.5.0-py2.py3-none-any.whl#md5=9d29a8a0210c236d9329bed49277b3fa
  Downloading requests-2.5.0-py2.py3-none-any.whl (464kB): 464kB downloaded
Installing collected packages: requests
  Found existing installation: requests 2.4.3
    Not uninstalling requests at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed requests
Cleaning up...

I'll double check this, but I think we have a winner.



More information about the Python-modules-team mailing list