Description of problem: I cannot import html5lib on my Rawhide system due to webencodings not being available. Version-Release number of selected component (if applicable): python2-html5lib-0.999999999-1.fc27.noarch How reproducible: Every time. Steps to Reproduce: 1. $ python 2. >>> import html5lib Actual results: $ python Python 2.7.13 (default, Jun 26 2017, 10:16:32) [GCC 7.1.1 20170526 (Red Hat 7.1.1-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> 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 11, in <module> from . import _inputstream File "/usr/lib/python2.7/site-packages/html5lib/_inputstream.py", line 9, in <module> import webencodings ImportError: No module named webencodings Expected results: It should be possible to import html5lib. Additional info: Bodhi uses bleach, which needs html5lib, so this is blocking Bodhi from building on Rawhide.
It looks like this happened in the recent update from 0.999 to 0.999999999. 0.999 did not depend on webencodings: https://github.com/html5lib/html5lib-python/blob/0.999/requirements.txt But the new version does: https://github.com/html5lib/html5lib-python/blob/0.999999999/requirements.txt
webencodings does not appear to be packaged for Fedora yet. I will take some time today to package it, and once we get it approved and in Rawhide we can update this package to Require it.
This is my fault. I thought it was only using that for tests. ;(
python-webencodings-0.5.1-1.fc27 is now built on Rawhide, so this ticket can now be fixed. Thanks!
Thanks for fixing this for me Kevin!