Closed vsespb closed 5 years ago
Looks like #6373, which fixed a vendoring issue so the exception is correctly caught when pip is packaged “debundled”. I believe the fix has been released as part of 19.1, but never made it into Debian Stretch.
Your choices are probably to either use an alternative Python distribution (instead of Debian’s), or upgrade to Buster.
Ok, thanks. if it's downstream issue, then you can close this. I just thought it must be fixed in Debian according to this comment https://github.com/pypa/pip/pull/6367#issuecomment-479064440 and changelog I posted in first message.
Closing since it happens on an old pip version and seems linked to Debian unvendoring. If you can reproduce the issue with latest vanilla-pip, feel free to reopen the issue.
Environment
Description
pip raises 404 after connecting to https://pypi.python.org/simple/ and ignores --extra-index-url option
Expected behavior
after connecting to https://pypi.python.org/simple/ and getting 404, it should go and search for a package on server specified in
--extra-index-url
optionHow to Reproduce
pip3 install myprivatelib --verbose --extra-index-url https://pypi.dev.example.com/simple/
Output
Also:
Looks like issue https://github.com/pypa/pip/pull/6367 but accoring to https://github.com/pypa/pip/pull/6367#issuecomment-479064440 it's fixed in Debian Stretch
I have version with fix:
changedlog https://metadata.ftp-master.debian.org/changelogs//main/p/python-pip/python-pip_9.0.1-2+deb9u1_changelog