Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604446 - >=dev-python/testtools-1.8.0[-doc] - setup.cfg: ImportError: No module named docutils
Summary: >=dev-python/testtools-1.8.0[-doc] - setup.cfg: ImportError: No module named ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: bazaar+obsolete
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-02 21:46 UTC by Andreas Sturmlechner
Modified: 2017-07-16 13:36 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2017-01-02 21:46:59 UTC
* Package:    dev-python/testtools-2.2.0
 * Repository: gentoo
 * Maintainer: bazaar@gentoo.org python@gentoo.org,openstack@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/usr/bin/python2.7 setup.py build
ERROR:root:Error parsing
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pbr/core.py", line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 264, in cfg_to_args
    wrap_commands(kwargs)
  File "/usr/lib64/python2.7/site-packages/pbr/util.py", line 566, in wrap_commands
    cmdclass = ep.resolve()
  File "/usr/lib64/python2.7/site-packages/pkg_resources/__init__.py", line 2293, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib64/python2.7/site-packages/sphinx/setup_command.py", line 23, in <module>
    from sphinx.application import Sphinx
  File "/usr/lib64/python2.7/site-packages/sphinx/application.py", line 25, in <module>
    from docutils import nodes
ImportError: No module named docutils
error in setup command: Error parsing /var/tmp/portage/dev-python/testtools-2.2.0/work/testtools-2.2.0/setup.cfg: ImportError: No module named docutils
Comment 1 Andreas Sturmlechner gentoo-dev 2017-01-02 21:53:37 UTC
Only =dev-python/testtools-0.9.36 builds fine here, all other versions show the same error.
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2017-07-16 13:36:58 UTC
It's a bug in dev-python/sphinx package: missing docutils depend.
It looks like it was added a few releases ago.