Your message dated Sat, 30 Mar 2019 23:19:03 +0000
with message-id <[email protected]>
and subject line Bug#837764: fixed in python-pip 18.1-5
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 [email protected]
immediately.)
--
837764: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837764
Debian Bug Tracking System
Contact [email protected] 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: 18.1-5
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 30 Mar 2019 21:10:13 +0100
Source: python-pip
Binary: python-pip python-pip-whl python3-pip
Architecture: source all
Version: 18.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
python-pip - Python package installer
python-pip-whl - Python package installer
python3-pip - Python package installer
Closes: 837764
Changes:
python-pip (18.1-5) unstable; urgency=medium
.
* Team upload.
* Refresh hands-off-system-packages.patch.
* Add Properly_catch_requests_HTTPError_in_index.py.patch: this fixes 404
when using --extra-index-url due to the way we de-bundle python-requests
from pip. Thanks to Fabio Natali <[email protected]> for the bug report,
Clark Boylan for the patch, and all of the OpenStack infra team for their
help and involving me for this fix (Closes: #837764).
Checksums-Sha1:
8e8e0c38fe805778ca4f195a905a6dd50616b904 2703 python-pip_18.1-5.dsc
11cc7ee60bc3c58e90e2e23a143a8b7cb7f67f82 19152 python-pip_18.1-5.debian.tar.xz
89d08bb7f82331ad9b7d4c28369d88c6d01d4abe 1590700 python-pip-whl_18.1-5_all.deb
fb8346f468fdff337b8d5911f4902c46ac48be75 214884 python-pip_18.1-5_all.deb
e140789b525c25cfd568d1e431cece8f0ab10c18 8025 python-pip_18.1-5_amd64.buildinfo
e8e483df9122583ed86998dc753f49ce80afccea 170784 python3-pip_18.1-5_all.deb
Checksums-Sha256:
5a0a46cbe127ea9e000d4de3428ee24192b93e97c5cc26608bbbf6f89986f328 2703
python-pip_18.1-5.dsc
32539111dad7032b98236a8e00df91189f223bfdce7796e52691c0acaacd3dc9 19152
python-pip_18.1-5.debian.tar.xz
ce2afe34ddd9382df12f3e3964a5387a146a1d34137210fa5eb813301a62bed3 1590700
python-pip-whl_18.1-5_all.deb
5420bd8d1f43dead0a5a2f8261fdbb7fe1b19e0bf57634867dac1ff0a5d04772 214884
python-pip_18.1-5_all.deb
85a29a9c1816ccb03fc2227d6bf34b0a1570e88a4a9a67ab65142cb6c34f0972 8025
python-pip_18.1-5_amd64.buildinfo
b1b7a1cdcef0d9c98bd07f32c0573f5045a2d73ee172cb22635523d86318c35a 170784
python3-pip_18.1-5_all.deb
Files:
2531264ae02f3be2b6a1a419ab739f48 2703 python optional python-pip_18.1-5.dsc
cc807b4e468517745c7481354ad6c480 19152 python optional
python-pip_18.1-5.debian.tar.xz
061c677d433559831c55f50fbca76d2d 1590700 python optional
python-pip-whl_18.1-5_all.deb
63b40d4f98055ad1248680364fb47440 214884 python optional
python-pip_18.1-5_all.deb
cc3a46ccc214d1d3d371a8c8955831ce 8025 python optional
python-pip_18.1-5_amd64.buildinfo
4e99f7bf3cef7c70873175bf03bb5e68 170784 python optional
python3-pip_18.1-5_all.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlyfz4AACgkQq1PlA1ho
d6axfw//dIHQOAcFLf1cARyfdO78o2K+qjh7o9G4UPr0Mi75xk6AhkQ/8L/PyL0N
V6biM4hkMznzmraavrEq40FdmEeKmQUnGpiiy7nsSvqnjNDN+MZsmfIiTVYYkv+S
RDGzPICUIHudeq7VYEQ2phmc+lCPXQkozMOW7VOSnFQg/NMrhIAGzUONqJOkfmPV
GHdKx9LuCTvcj4s9w8b/hu5VYRWfTi2pLIlEgvB4CMkgf9M4iIutoIUKy6qN9wGK
EintIoRKkYnjw9qv+iXUZc6NKMb/YjuXPITpd1SU+hPabN8mXINvQ1R3NFiRLuAS
lI4ng/hErWqOcLdj28pY9+VuL7Y7kje/Z5By4ZhbV2VEH0aZew7hJ+jmdiSQMt4C
BTd5Qxkm41xGi/lziPJaEFvhsulF97s3thT/gEholSrP+B7uMXOV5ih0/56/6abx
U/YTFtYPJJwUnF5vjjPLd/HmVJkIeZLzQYYuNexbHRFI1TQzDUP0y1ZOY0kNnx9R
4STOmps5TzTuq4zws/8JG4pArYQd7B4AfP7bHgNpb+KhaSHFGXTsP947oUrk3fEJ
XWdHPfkPiekG5/u3m7+TdDM/fWnxQCjnLV/bPCdqSp5jDf/o+G00EMaOjpqV7Knc
QK5jp52VhFLlXxrVGSROo3jM5TcbBk8FkWr6PFVPmDeAKhtU8+g=
=JTef
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team