Your message dated Sun, 14 Apr 2019 10:32:18 +0000
with message-id <e1hfcqs-000boj...@fasolo.debian.org>
and subject line Bug#837764: fixed in python-pip 9.0.1-2+deb9u1
has caused the Debian Bug report #837764,
regarding python-pip: Using `--extra-index-url` results in `HTTPError: 404
Client Error: NOT FOUND`
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
837764: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837764
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-pip
Version: 8.1.2-2
Severity: important
Below a transcript of the command used and the error encountered.
```
$ pip install --index-url=https://pypi.python.org/simple/
--extra-index-url=http://pypi.example.com/simple/
--trusted-host=pypi.example.com example-app==1.0
Collecting example-app==1.0
Downloading
http://pypi.example.com/media/dists/example_app-1.0-py2-none-any.whl (200kB)
100% |████████████████████████████████| 204kB 340kB/s
Collecting django-uuidfield>=0.4.0 (from example-app==1.0)
Exception:
Traceback (most recent call last):
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/basecommand.py",
line 215, in main
status = self.run(options, args)
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/commands/install.py",
line 328, in run
wb.build(autobuilding=True)
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/wheel.py",
line 750, in build
self.requirement_set.prepare_files(self.finder)
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/req/req_set.py",
line 370, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/req/req_set.py",
line 522, in _prepare_file
finder, self.upgrade, require_hashes)
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/req/req_install.py",
line 268, in populate_link
self.link = finder.find_requirement(self, upgrade)
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/index.py",
line 442, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/index.py",
line 400, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/index.py",
line 545, in _get_pages
page = self._get_page(location)
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/index.py",
line 648, in _get_page
return HTMLPage.get_page(link, session=self.session)
File
"/home/user/.virtualenvs/scope/local/lib/python2.7/site-packages/pip/index.py",
line 760, in get_page
resp.raise_for_status()
File
"/home/user/.virtualenvs/scope/share/python-wheels/requests-2.10.0-py2.py3-none-any.whl/requests/models.py",
line 844, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 404 Client Error: NOT FOUND for url:
http://pypi.example.com/simple/django-uuidfield/
```
Please note the command works regularly after the following update
```pip install --upgrade --force-reinstall pip```
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Source: python-pip
Source-Version: 9.0.1-2+deb9u1
We believe that the bug you reported is fixed in the latest version of
python-pip, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 837...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-pip package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 31 Mar 2019 00:02:11 +0100
Source: python-pip
Binary: python-pip python3-pip python-pip-whl
Architecture: source all
Version: 9.0.1-2+deb9u1
Distribution: stretch
Urgency: medium
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Description:
python-pip - Python package installer
python-pip-whl - Python package installer
python3-pip - Python package installer
Closes: 837764
Changes:
python-pip (9.0.1-2+deb9u1) stretch; urgency=medium
.
* Team upload.
* Add Properly_catch_requests_HTTPError_in_index.py.patch, which fixes
--extra-index-url results in "HTTPError: 404 Client Error: NOT FOUND".
The patch makes works even with the unbundled requests. (Closes: #837764).
Checksums-Sha1:
19b28bc1f932ec541a2358b9e3c5304584aab5a9 2732 python-pip_9.0.1-2+deb9u1.dsc
ca3e520a16294d1d065ae4573b96fd32399c31c1 18512
python-pip_9.0.1-2+deb9u1.debian.tar.xz
41da9b8aca1beda7f4b18862fdcd0f2e7308b5be 1399152
python-pip-whl_9.0.1-2+deb9u1_all.deb
c9b7bdf7c826c76e56f90f3d2b277bf82ce64b26 179136
python-pip_9.0.1-2+deb9u1_all.deb
96cff730fc98eb9434056487f41744b2395bb908 8312
python-pip_9.0.1-2+deb9u1_amd64.buildinfo
c5b41716551730201c4a9dcbd3748a6c78a72915 142400
python3-pip_9.0.1-2+deb9u1_all.deb
Checksums-Sha256:
092a2e19fe0400c560d9522899b7e7d7fe9dd1fe0550e9e1c6d2dba8dac4796c 2732
python-pip_9.0.1-2+deb9u1.dsc
c5cd2f873bf4960fedd84f138524ff117ed3e4fb94a031ffb495954b5d8c962a 18512
python-pip_9.0.1-2+deb9u1.debian.tar.xz
43eb3b82089761b9b8d54377b8374f4fdaa587d7adbdeee3fb2c753eef2762b3 1399152
python-pip-whl_9.0.1-2+deb9u1_all.deb
07011081a0ce74459d0bf9cc14a183eae172d9e7c04136e0b9d9a1d922285a04 179136
python-pip_9.0.1-2+deb9u1_all.deb
46746cf04ae10ad99a7425eeccd1538d169631cc8342f7c9b4dbd026764dff20 8312
python-pip_9.0.1-2+deb9u1_amd64.buildinfo
f24c5c8b6151ad3f10c43e513e7377b3dceda8cef804720b307986dd7c248e16 142400
python3-pip_9.0.1-2+deb9u1_all.deb
Files:
b4e3e6aa493385b616da879593ac9758 2732 python optional
python-pip_9.0.1-2+deb9u1.dsc
f4a07961a3fcd210bafe174ed4d6bea9 18512 python optional
python-pip_9.0.1-2+deb9u1.debian.tar.xz
d3dea57f034a43e2bc6077199f4fbf21 1399152 python optional
python-pip-whl_9.0.1-2+deb9u1_all.deb
5ecf8a65aa59067e30b3a30b1543a576 179136 python optional
python-pip_9.0.1-2+deb9u1_all.deb
809562e5b34bef195b8a5e68984e54d9 8312 python optional
python-pip_9.0.1-2+deb9u1_amd64.buildinfo
47c6bae52c35063b3a944b5bc71b9bff 142400 python optional
python3-pip_9.0.1-2+deb9u1_all.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlyf9iQACgkQq1PlA1ho
d6YI+g//Z8zquf197lVSMAZZSWB9LvAVmd/1+l9TgjEesd2jYuIB1NM0+pL/9NJo
EzFgVTCIv6EtlVsoI15+VXPbnQBRmvI9zv+uSuNff2go2I/Iz1jiQXPgt2J8vFbD
Y52JtPm5wBxgq8uYAfJBpDBLlnxz5sGHy3bg3BYb8RY/6exd0FKj2wU9CWtYQXL7
ZOT2XdtbF+GOJW17OONTUOOnVDW/SaYM8qRQwBFp09CY18iW73iW7/vldZ34iAve
dvwjpLwP/cWvKH6mATDIfYQjKGrtmyYxMDXoh59hRJrhH/exYBTRPYFPUeZCbIwl
OOSZD7RpVcYFKwEHRO19IVIe4KqA1kr8pbVjEa5/oMkY6Y/tuF33g5pO1zmChrTu
nQzCNIbaSCWxuZALyYjaRss3Ah/0TrhHNhOLFDKQLbL2L3wVs7d6ovg4JQ6CWjZ+
AyIUL6LkCM2H8H3TZOqLZkBVOqPlQKOBdi+7XL/iJlw7hmsMeb3KK+8lJDE5cAdA
MNcb8TEmJIefNO50KMWjTeEMklCYz9HUvDZGM0VOtgp8p+bo8C4IhtY8ArFTbmYw
7xShpypZrjhazD2k67T4sezW9/y6mJtyiwVCRaZjvO4foebXJZofA9mrkvNQcOsb
aYfXL3oAAxncmMxBkux/4yEiMQ8UulSO24BwgYVPY8eUyy0xdAY=
=doUg
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team