Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661828 - dev-python/testtools-2.3.0:ImportError: No module named sanitizer
Summary: dev-python/testtools-2.3.0:ImportError: No module named sanitizer
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Depends on:
Reported: 2018-07-22 19:16 UTC by Rolf Eike Beer
Modified: 2018-07-22 19:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2018-07-22 19:16:02 UTC
* Package:    dev-python/testtools-2.3.0
 * Repository: gentoo
 * Maintainer:
 * USE:        elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 sparc userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking testtools-2.3.0.tar.gz to /var/tmp/portage/dev-python/testtools-2.3.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/testtools-2.3.0/work
>>> Preparing source in /var/tmp/portage/dev-python/testtools-2.3.0/work/testtools-2.3.0 ...
 * Applying testtools-2.3.0-py37.patch ...                                                                                                                                                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/testtools-2.3.0/work/testtools-2.3.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/testtools-2.3.0/work/testtools-2.3.0 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
python2.7 build
 * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 
ERROR:root:Error parsing
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pbr/", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "/usr/lib/python2.7/site-packages/pbr/", line 264, in cfg_to_args
  File "/usr/lib/python2.7/site-packages/pbr/", line 566, in wrap_commands
    cmdclass = ep.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/", line 2428, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/readme/integration/", line 20, in <module>
    from readme.rst import render
  File "/usr/lib/python2.7/site-packages/readme/", line 23, in <module>
    from .clean import clean
  File "/usr/lib/python2.7/site-packages/readme/", line 16, in <module>
    import bleach
  File "/usr/lib/python2.7/site-packages/bleach/", line 14, in <module>
    from html5lib.sanitizer import HTMLSanitizer
ImportError: No module named sanitizer
error in setup command: Error parsing /var/tmp/portage/dev-python/testtools-2.3.0/work/testtools-2.3.0/setup.cfg: ImportError: No module named sanitizer