** Description changed: - The upstream issue for this is https://github.com/pypa/pip/issues/4195 , - the issue only happens when pip is installed from the Ubuntu python-pip- - whl package, it disappears when replacing it with the same version from - pypi. + [Impact] + Using `--extra-index-url` with pip results in `HTTPError: 404 Client Error: NOT FOUND` + + [Test Case] + cat > /etc/pip.conf <<EOF + [global] + timeout = 60 + index-url = http://mirror.dfw.rax.openstack.org/pypi/simple + trusted-host = mirror.dfw.rax.openstack.org + extra-index-url = http://mirror.dfw.rax.openstack.org/wheel/ubuntu-18.04-x86_64 + EOF + virtualenv --no-download venv + ./venv/bin/pip2 install -U hvac + + [Regression Potential] + Minimal; this bug is mainly due to the way the distro pip version does not vendor dependencies - the patches to resolve simply deal with this alternative reality. + + [Original Bug Report] + The upstream issue for this is https://github.com/pypa/pip/issues/4195 , the issue only happens when pip is installed from the Ubuntu python-pip-whl package, it disappears when replacing it with the same version from pypi. ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: python-pip-whl 9.0.1-2.3~ubuntu1 ProcVersionSignature: User Name 4.15.0-46.49-generic 4.15.18 Uname: Linux 4.15.0-46-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.5 Architecture: amd64 Date: Tue Apr 2 15:31:57 2019 Ec2AMI: ami-00000036 Ec2AMIManifest: FIXME Ec2AvailabilityZone: zone01 Ec2InstanceType: blc.8-24 Ec2Kernel: unavailable Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: - TERM=screen - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=C.UTF-8 - SHELL=/bin/bash + TERM=screen + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=C.UTF-8 + SHELL=/bin/bash SourcePackage: python-pip UpgradeStatus: No upgrade log present (probably fresh install)
-- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs