pip fails to install package from source when extra-index-url returns 404
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-pip (Debian) |
Fix Released
|
Unknown
|
|||
python-pip (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Unassigned | ||
Cosmic |
Won't Fix
|
Medium
|
Unassigned | ||
Disco |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[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://
trusted-host = mirror.
extra-index-url = http://
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:/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: python-pip-whl 9.0.1-2.3~ubuntu1
ProcVersionSign
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
Ec2Availability
Ec2InstanceType: blc.8-24
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitec
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: python-pip
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in python-pip (Ubuntu Cosmic): | |
status: | Fix Committed → Incomplete |
Changed in python-pip (Ubuntu Cosmic): | |
status: | Incomplete → Won't Fix |
Changed in python-pip (Debian): | |
status: | Unknown → Fix Released |
Debian bug for this is https:/ /bugs.debian. org/837764, the small fix should be able to be applied against the Bionic version, too.