Summary: | dev-python/bleach-1.5.0 test failure with html5lib | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexey <alexey+gentoo> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexey+gentoo, jstein, leio |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=662928 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 663438 | ||
Bug Blocks: | |||
Attachments: |
build.log
emerge --info |
Description
Alexey
2018-07-25 23:52:57 UTC
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. |