Created attachment 541076 [details] build.log ImportError: No module named 'html5lib.sanitizer' According to https://github.com/mozilla/bleach/issues/229 this is fixed in bleach 2.0.0. I tested 2.1.1 and 2.1.3 from portage, and it's fixed in 2.1.3, but not in 2.1.1. 2.1.1 shows this error instead: from html5lib.constants import ( E ImportError: cannot import name 'ReparseException'
Created attachment 541078 [details] emerge --info
This seems to break the ability to (re)install pbr as a whole too, completely breaking stable machine migration from python3.5 to python3.6 (with FEATURES=test involved). >>> Compiling source in /tmp/portage/dev-python/pbr-3.1.1/work/pbr-3.1.1 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile python2.7 setup.py build * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p Traceback (most recent call last): File "setup.py", line 22, in <module> **util.cfg_to_args()) File "/tmp/portage/dev-python/pbr-3.1.1/work/pbr-3.1.1/pbr/util.py", line 267, in cfg_to_args wrap_commands(kwargs) File "/tmp/portage/dev-python/pbr-3.1.1/work/pbr-3.1.1/pbr/util.py", line 569, in wrap_commands cmdclass = ep.resolve() File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2428, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib64/python2.7/site-packages/readme/integration/distutils.py", line 20, in <module> from readme.rst import render File "/usr/lib64/python2.7/site-packages/readme/rst.py", line 23, in <module> from .clean import clean File "/usr/lib64/python2.7/site-packages/readme/clean.py", line 16, in <module> import bleach File "/usr/lib64/python2.7/site-packages/bleach/__init__.py", line 14, in <module> from html5lib.sanitizer import HTMLSanitizer ImportError: No module named sanitizer * ERROR: dev-python/pbr-3.1.1::gentoo failed (compile phase): * (no error message) I don't understand (and haven't investigated much) what magic makes readme/bleach/html5lib get involved here for pbr, but as soon as I stable keyword newer bleach and upgrade it, pbr can finally get rebuilt with python-3.6 support. Please fix the incompatibility in stable tree, probably by requesting newer bleach stable. I am likely to mark newer bleach stable on arm64 without maintainer request, as I don't like having things broken.
ping re html5lib-1.x compatible bleach stabilization
2.1.3 is stable on all arches and older versions are cleaned. closing.