virtualenv's included pip does not use system libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-virtualenv (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubuntu version: Ubuntu 14.04.1 LTS
python-virtualenv version: 1.11.4-1
Normally, pip vendors a few python libraries under a _vendor directory in its source tree. When packaged for Ubuntu, pip is patched to use system installed of these libraries.
python-virtualenv installs its own version of pip (found in /usr/share/
There is an open issue affecting urllib3 (https:/
On Jan 27, 2015, at 01:02 PM, Stratos Moros wrote:
>python-virtualenv installs its own version of pip (found in /usr/share virtualenv/ pip-1.5debian1- py2.py3- none-any. whl) in every
>/python-
>virtualenv it creates. Unfortunately, this version of pip is not patched
>and does not use the system wide python libraries.
I don't think that's actually true. We build the .whl files when we update
the dependencies. They all come from the same source package. In fact,
Debian Python policy only allows for wheel packages in a limited set of cases,
explicitly to support virtualenv and pyvenv.
It's definitely true that when a new dependency is released, any existing
virtualenvs would have to be recreated or explicitly updated in order to get
the fix.
>There is an open issue affecting urllib3 /bugs.launchpad .net/ubuntu/ +source/ python- urllib3/ +bug/1412545)
>(https:/
>that makes pip fail under certain circumstances. Patching virtualenv's
>pip would make it get the fix when urllib3 is updated, instead of
>requiring a separate fix.
Ah, this is for Trusty. I think things were done differently in LTS, which
does make things more complicated. So it probably requires an SRU.