Red Hat Bugzilla – Bug 1470286
Missing python-sphinx dependency
Last modified: 2017-08-11 09:21:52 EDT
Description of problem:
Since the OSP12 puddle 2017-07-11.7 the openstack-rally package doesn't have dependency on python-sphinx.
It has been remove upstream  but the current code seems to still use it.
The rally commands exit with a python trace because the sphinx python module is missing (and not present in the puddle anymore).
Version-Release number of selected component (if applicable):
OSP12 puddle 2017-07-11.7
also tested on the package coming from the latest puddle (2017-07-12.3)
Steps to Reproduce:
1. Install openstack-rally package
2. Run rally command
$ rally-manage db create
Traceback (most recent call last):
File "/usr/bin/rally-manage", line 6, in <module>
from rally.cli.manage import main
File "/usr/lib/python2.7/site-packages/rally/cli/manage.py", line 23, in <module>
from rally.cli import cliutils
File "/usr/lib/python2.7/site-packages/rally/cli/cliutils.py", line 34, in <module>
from rally import api
File "/usr/lib/python2.7/site-packages/rally/api.py", line 30, in <module>
from rally.common import opts
File "/usr/lib/python2.7/site-packages/rally/common/opts.py", line 20, in <module>
from rally import osclients
File "/usr/lib/python2.7/site-packages/rally/osclients.py", line 25, in <module>
from rally.common.plugin import plugin
File "/usr/lib/python2.7/site-packages/rally/common/plugin/plugin.py", line 21, in <module>
from rally.common.plugin import info
File "/usr/lib/python2.7/site-packages/rally/common/plugin/info.py", line 18, in <module>
from sphinx.util import docstrings
ImportError: No module named sphinx.util
Reverted in https://review.rdoproject.org/r/#/c/7686/
> from sphinx.util import docstrings
Can someone please talk to upstream? They can't seriously requires Sphinx at runtime.
@Alan I believe jschlueter and chandankumar are trying to figure out how to take the dependency out upstream.
I guess we can change the status of this bug since the problem has been resolved upstream ?