I have tested and verified that this works as expected with the package
from bionic-proposed. Note that the python-pip package change results in
the change in python-pip-whl which is used for virtualenvs.
root@aio1-utility-container-f98ba613:/# apt-cache policy python-pip-whl
python-pip-whl:
Installed: 9.0.1-2.3~ubuntu1.18.04.1
Candidate: 9.0.1-2.3~ubuntu1.18.04.1
Version table:
*** 9.0.1-2.3~ubuntu1.18.04.1 500
500 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64
Packages
100 /var/lib/dpkg/status
9.0.1-2.3~ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu
bionic-updates/universe amd64 Packages
9.0.1-2 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64
Packages
root@aio1-utility-container-f98ba613:/# apt-cache policy python-virtualenv
python-virtualenv:
Installed: 15.1.0+ds-1.1
Candidate: 15.1.0+ds-1.1
Version table:
*** 15.1.0+ds-1.1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64
Packages
100 /var/lib/dpkg/status
root@aio1-utility-container-f98ba613:/# apt-cache policy virtualenv
virtualenv:
Installed: 15.1.0+ds-1.1
Candidate: 15.1.0+ds-1.1
Version table:
*** 15.1.0+ds-1.1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64
Packages
100 /var/lib/dpkg/status
root@aio1-utility-container-f98ba613:/# virtualenv --no-download /tmp/test1
Running virtualenv with interpreter /usr/bin/python2
New python executable in /tmp/test1/bin/python2
Also creating executable in /tmp/test1/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
root@aio1-utility-container-f98ba613:/# /tmp/test1/bin/pip2 install -U
--extra-index-url=http://mirror.dfw.rax.openstack.org/wheel/ubuntu-18.04-x86_64
--trusted-host=mirror.dfw.rax.openstack.org pip setuptools wheel
Collecting pip
Downloading
https://files.pythonhosted.org/packages/d8/f3/413bab4ff08e1fc4828dfc59996d721917df8e8583ea85385d51125dceff/pip-19.0.3-py2.py3-none-any.whl
(1.4MB)
100% |████████████████████████████████| 1.4MB 720kB/s
Collecting setuptools
Downloading
https://files.pythonhosted.org/packages/44/56/75e64a8fbbe9e0bd30cfdd58ca1856bc0dc15a43e41504a58d8373f34213/setuptools-40.9.0-py2.py3-none-any.whl
(575kB)
100% |████████████████████████████████| 583kB 1.4MB/s
Collecting wheel
Downloading
https://files.pythonhosted.org/packages/96/ba/a4702cbb6a3a485239fbe9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl
Installing collected packages: pip, setuptools, wheel
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Found existing installation: setuptools 39.0.1
Uninstalling setuptools-39.0.1:
Successfully uninstalled setuptools-39.0.1
Found existing installation: wheel 0.30.0
Uninstalling wheel-0.30.0:
Successfully uninstalled wheel-0.30.0
Successfully installed pip-19.0.3 setuptools-40.9.0 wheel-0.33.1
** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1822842
Title:
pip fails to install package from source when extra-index-url returns
404
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1822842/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs