[Python-modules-team] Bug#798395: python-pip doesn't specify dependency on python-html5lib correctly
Vadim Zeitlin
vz-debian at zeitlins.org
Tue Sep 8 18:14:29 UTC 2015
Package: python-pip
Version: 1.5.6-3
On a mixed Wheezy/Jessie system, updating python-pip to Jessie version
left python-html5lib at 0.95-1 from Wheezy instead of upgrading it to
0.000-3 from Jessie, which later resulted in failures when running pip:
---------------------------------- >8 --------------------------------------
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1096, in prepare_files
req_to_install, self.upgrade)
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 256, in find_requirement
page_versions.extend(self._package_versions(page.links, req.name.lower()))
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 432, in _package_versions
for link in self._sort_links(links):
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 422, in _sort_links
for link in links:
File "/usr/lib/python2.7/dist-packages/pip/index.py", line 769, in links
for anchor in self.parsed.findall(".//a"):
AttributeError: 'Document' object has no attribute 'findall'
Storing debug log for failure in /home/zeitlin/.pip/pip.log
---------------------------------- >8 --------------------------------------
I don't know in which version of python-html5lib was findall() added, but
python-pip clearly should depend on something > 0.95.
Thanks,
VZ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150908/b0541afd/attachment.sig>
More information about the Python-modules-team
mailing list