FS#39428 - [python2-html5lib] Missing python2-six dependency.

Attached to Project: Community Packages
Opened by WorMzy Tykashi (WorMzy) - Friday, 14 March 2014, 20:35 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 16 March 2014, 09:12 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Importing the module is not possible, due to missing six module.

>>> import html5lib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/html5lib/__init__.py", line 16, in <module>
from .html5parser import HTMLParser, parse, parseFragment
File "/usr/lib/python2.7/site-packages/html5lib/html5parser.py", line 2, in <module>
from six import with_metaclass
ImportError: No module named six

After installing python2-six (from community), importing the module works fine. Therefore I propose adding python2-six as a dependency.

Additional info:
extra/python2 v2.7.6-3
community/python2-html5lib v0.999-1
community/python2-six v1.5.2-1
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 16 March 2014, 09:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed i n-3
Comment by WorMzy Tykashi (WorMzy) - Saturday, 15 March 2014, 22:06 GMT
  • Field changed: Percent Complete (100% → 0%)

Loading...