Your message dated Sun, 15 Mar 2020 23:49:37 +0000
with message-id <[email protected]>
and subject line Bug#949128: fixed in python-pip 20.0.2-1
has caused the Debian Bug report #949128,
regarding pip does not handle manylinux2010 tag (PEP571)
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.)
--
949128: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949128
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pip
Version: 18.1-5
Severity: normal
Dear Maintainer,
The pip package as installed by python3-pip refuses to install
manylinux2010 wheels (see PEP 571).
Example :
$ /usr/bin/python3.7m -m venv test.venv && . ./test.venv/bin/activate &&
pip install -vvv tensorflow==2.0.0
[...]
Skipping link
https://files.pythonhosted.org/packages/87/ad/27b0b8b7337b054ce7f1d132ab446cf33b588a011ce11e61758d3891f63d/tensorflow-2.1.0rc0-cp37-cp37m-manylinux2010_x86_64.whl#sha256=f70d73e4b1b767f0707ac4eb4b76503ab20cd8944022de26e502d4108f5603e7
(from https://pypi.org/simple/tensorflow/); it is not compatible with
this Python
[...]
No matching distribution found for tensorflow==2.0.0
Exception information:
Traceback (most recent call last):
File
"/home/johndoe/temp/test.venv/lib/python3.7/site-packages/pip/_internal/cli/base_command.py",
line 143, in main
status = self.run(options, args)
File
"/home/johndoe/temp/test.venv/lib/python3.7/site-packages/pip/_internal/commands/install.py",
line 338, in run
resolver.resolve(requirement_set)
File
"/home/johndoe/temp/test.venv/lib/python3.7/site-packages/pip/_internal/resolve.py",
line 102, in resolve
self._resolve_one(requirement_set, req)
File
"/home/johndoe/temp/test.venv/lib/python3.7/site-packages/pip/_internal/resolve.py",
line 256, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File
"/home/johndoe/temp/test.venv/lib/python3.7/site-packages/pip/_internal/resolve.py",
line 209, in _get_abstract_dist_for
self.require_hashes
File
"/home/johndoe/temp/test.venv/lib/python3.7/site-packages/pip/_internal/operations/prepare.py",
line 218, in prepare_linked_requirement
req.populate_link(finder, upgrade_allowed, require_hashes)
File
"/home/johndoe/temp/test.venv/lib/python3.7/site-packages/pip/_internal/req/req_install.py",
line 164, in populate_link
self.link = finder.find_requirement(self, upgrade)
File
"/home/johndoe/temp/test.venv/lib/python3.7/site-packages/pip/_internal/index.py",
line 621, in find_requirement
'No matching distribution found for %s' % req
pip._internal.exceptions.DistributionNotFound: No matching distribution
found for tensorflow==2.0.0
The reason is that it does not know it is compatible with this
platform tag. By downloading the package manually and renaming it,
you can actually install the package:
$ mv tensorflow-2.0.0-cp37-cp37m-manylinux2010_x86_64.whl
tensorflow-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
$ pip install tensorflow-2.0.0-cp37-cp37m-manylinux1_x86_64.whl
Updating the version of pip in the venv fixes the issue:
$ pip install pip==19.3.1
Creating the virtual environment with virtualenv fixes the problem as
well because it installs a recent version of pip.
Patching python3-pip in order to support the manylinux2010 tag would
probably be very helpful:
- arches = [arch.replace('linux', 'manylinux1'), arch]
+ arches = [arch.replace('linux', 'manylinux1'), arch.replace('linux',
'manylinux2010'), arch]
-- System Information:
Debian Release: bullseye/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500,
'stable'), (90, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.3.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8),
LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-pip depends on:
ii ca-certificates 20190110
ii python-pip-whl 18.1-5
ii python3 3.7.5-1
ii python3-distutils 3.8.0-1
Versions of packages python3-pip recommends:
ii build-essential 12.8
ii python3-dev 3.7.5-1
ii python3-setuptools 41.2.0-1
ii python3-wheel 0.33.6-2
python3-pip suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python-pip
Source-Version: 20.0.2-1
Done: Scott Kitterman <[email protected]>
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.
Scott Kitterman <[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: Sun, 15 Mar 2020 19:35:26 -0400
Source: python-pip
Architecture: source
Version: 20.0.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Scott Kitterman <[email protected]>
Closes: 878082 938027 949128
Changes:
python-pip (20.0.2-1) unstable; urgency=medium
.
* Team upload
.
[ Emmanuel Arias ]
* Add patch: fix Type error on list outdated comand (Closes: #878082)
- Add 0007-Fix-Type-Error-on-lis-outdated-command.patch
- Add test on d/tests/pip3-user.sh
* Bump Standard-Version to 4.4.1 (from 4.2.1)
.
[ Ondřej Nový ]
* Use debhelper-compat instead of debian/compat.
.
[ Scott Kitterman ]
* New upstream release (Closes: #949128)
- Delete d/p/Properly_catch_requests_HTTPError_in_index.py.patch,
incorporated upstream
- Delete d/p/0007-Fix-Type-Error-on-lis-outdated-command.patch,
incorporated upstream
- Refresh patches
* Set minimum version requirements in build-depends for unvendored packages
based on version vendored by upstream
* Add python3-contextlib2, python3-msgpack. and python3-pep517 to
build-depends because they are vendored by upstream and run dirtbike in
d/rules to produce the required wheels
* Drop python2 support (Closes: #938027)
* Add appdirs to unbundled lib list in src/pip/_vendor/__init__.py so
Debian's unbundled approach works (already fixed upstream for 20.0.3)
Checksums-Sha1:
8646c9bf525a61774a5d8649199c9e65a0a8ec97 2894 python-pip_20.0.2-1.dsc
0116baf39c4afceeea1de1ed4a17cdbdd6acac63 1433827 python-pip_20.0.2.orig.tar.gz
532e8d32669aa3419e3603f6517ecc2aeabd63e8 19008
python-pip_20.0.2-1.debian.tar.xz
6e8d3c7ea55fbd8f1f5dbcb2f5dc6a83dde1967e 6715
python-pip_20.0.2-1_source.buildinfo
Checksums-Sha256:
45b821f03ea6e52a49cca197102455b2d15107cf500267972c812d1f9d720456 2894
python-pip_20.0.2-1.dsc
7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f 1433827
python-pip_20.0.2.orig.tar.gz
33a57daeda64a97563cd71466fa57de916e9d1909fe03804a08dece53279cfd9 19008
python-pip_20.0.2-1.debian.tar.xz
2d36216fbcf1de882be34f1cd5ef3603561f34a432497d6529e97d85de5a1012 6715
python-pip_20.0.2-1_source.buildinfo
Files:
ed1a1d2fbfa6452b921a6376161bdfd4 2894 python optional python-pip_20.0.2-1.dsc
7d42ba49b809604f0df3d55df1c3fd86 1433827 python optional
python-pip_20.0.2.orig.tar.gz
2873df8d541e18d415385fef4af3b07a 19008 python optional
python-pip_20.0.2-1.debian.tar.xz
552a3a1beb57be9d51b82d8040ade7e9 6715 python optional
python-pip_20.0.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAl5uu/AACgkQeNfe+5rV
mvGrOhAAtHbwITYOa72fY9nD+7Ma757cJNrSd/p01IdsDzCBWKr/aqwAFEFnU1m4
tZqrg/Us3SR6rBhZ2i2uA32eOv+x+HOGGPeV2vGkfWBGNSJ9k9Ncs8GgX5cpyGP9
XzZpK8N9FDg0/ctFL5417Z2fdotkZsu1ybKR0iMZlPVoh1DWuHl8dUe5/AiT5l7m
Itf4ofntMKrwFyAAMUBk8YLG+gHf0w7JSs68fPjk74UBl0MJZBlF9hrEY6J0hqon
Qy+bk5FQJOlJnYn7Ku+XfglfvuS3+zYW+pxwmyz74olf6LzwpeEIXw6QsrV8MEa9
E0WZQF0b2F9chfM4mGT4FUPbaquStVnpkrCAjW0dzlrLxmha7uwJAzNrLfSvNtfm
wr6ko2ltf9UAqfwCdNDAJcqX3HtsUu1Etp2Fn72WO+qJumN3sGug/L/EhnNhHFsb
ROHCXT4/y35vRk2GMm95KUxrs4g94mMUUEBNGMtCboXKYzWMM5qJdpu56BzDz4/K
qth09rkrCAWkJZ7RP10q8QuvKY1zc7/ADPlDr62S0hkGH3fkZfxUCcFZmE+7RxkJ
ZswTm964LAdavmO+jH6WwmQNV0Bnm3eLgqlH3fmyC19oZlljuVAJ92KdhjX1nFuF
Yf4qvOfGz3iPm/LC7YY0YU2M6Tl0vKkJwD6huVuhTqyxmZTY3bs=
=8w40
-----END PGP SIGNATURE-----
--- End Message ---