Control: reopen -1 Control: notfixed -1 python-pip/9.0.1-2.2 Control: retitle -1 python-pip: missing required _vendor module. Broken ${python:Depends}?
On Sat, Apr 28, 2018 at 07:15:24PM -0400, Nicholas D Steeves wrote: > On Sat, Apr 28, 2018 at 03:15:07PM +0000, Debian Bug Tracking System wrote: > > This is an automatic notification regarding your Bug report > > which was filed against the src:python-pip package: > > > > #896998: python-pip: missing required _vendor module in 9.0.1-2.1 > > > > It has been closed by Matthias Klose <d...@debian.org>. > ... > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA256 > > > > Format: 1.8 > > Date: Sat, 28 Apr 2018 15:31:03 +0200 > > Source: python-pip > > Binary: python-pip python3-pip python-pip-whl > > Architecture: source > > Version: 9.0.1-2.2 > > Distribution: unstable > > Urgency: medium > > Maintainer: Debian Python Modules Team > > <python-modules-t...@lists.alioth.debian.org> > > Changed-By: Matthias Klose <d...@debian.org> > > Description: > > python-pip - Python package installer > > python-pip-whl - Python package installer > > python3-pip - Python package installer > > Closes: 896998 > > Changes: > > python-pip (9.0.1-2.2) unstable; urgency=medium > > . > > * Non-maintainer upload. > > * debian/pip.dependencies: Add certifi. > > * debian/rules: run dirtbike for certifi. > > * pip/_vendor/__init__.py: Use the unvendored urllib3. Closes: #896998. > > Thank you Matthias, I'm grateful that you fixed this so quickly! :-) Sadly I spoke to soon :-( The error now, in a clean and up-to-date chroot after "apt install python-pip", is: # python -m pip --help Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main mod_name, _Error) File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details __import__(mod_name) # Do not catch exceptions initializing package File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 31, in <module> from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module> from pip.download import path_to_url File "/usr/lib/python2.7/dist-packages/pip/download.py", line 40, in <module> from pip._vendor import requests, six ImportError: cannot import name requests # pip --help Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> from pip import main File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 31, in <module> from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module> from pip.download import path_to_url File "/usr/lib/python2.7/dist-packages/pip/download.py", line 40, in <module> from pip._vendor import requests, six ImportError: cannot import name requests Maybe pip.dependencies and dirtbike are broken, which means ${python:Depends} isn't functioning properly? Applying my patch allows both "python -m pip --help" and "pip --help" to succeed. From what I can tell the reason is because python-certifi, python-requests, python-urllib3, and their dependencies are still not installed for python-pip-9.0.1-2.2. https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=896998;filename=0001-python-pip-Add-missing-depends-on-certifi-urllib3-an.patch;msg=27 Kind regards, Nicholas
signature.asc
Description: PGP signature