setup.py errors and docs won't build without sphinx
Bug #706683 reported by
Ken Pepple
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Ken Pepple |
Bug Description
trying to build docs or run setup.py fails without sphinx, which isn't required by tools/pip-requires nor our wiki instructions ...
(.nova-venv)k:trunk kpepple$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 24, in <module>
from sphinx.
ImportError: No module named sphinx.
Asking to just include this as part of pip-requires so that it just works.
Related branches
lp:~ken-pepple/nova/706683
- Devin Carlen (community): Approve
- Rick Harris (community): Approve
-
Diff: 9 lines (+1/-0)1 file modifiedtools/pip-requires (+1/-0)
Changed in nova: | |
assignee: | nobody → Ken Pepple (ken-pepple) |
Changed in nova: | |
status: | New → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Our hudson server still had trouble building nova trunk with clean virtual environment "./run_tests.sh -f". I hacked in the following into our hpc_trunk branch as a workaround. It looks like the dependencies are getting triggered out of order.
bschott@ ironman: ~/Source/ nova/hpc- trunk$ bzr diff -r 465 tools/install_ venv.py install_ venv.py' venv.py 2011-01-11 18:11:30 +0000 venv.py 2011-01-24 16:23:31 +0000 command( ['tools/ with_venv. sh', 'pip', 'install', '-E', venv, 'greenlet'],
redirect_ output= False) ['tools/ with_venv. sh', 'pip', 'install', '-E', venv, 'sphinx'], output= False) ['tools/ with_venv. sh', 'pip', 'install', '-E', venv, 'argparse'], output= False) command( ['tools/ with_venv. sh', 'pip', 'install', '-E', venv, '-r', PIP_REQUIRES],
redirect_ output= False) command( ['tools/ with_venv. sh', 'pip', 'install', '-E', venv, TWISTED_NOVA],
=== modified file 'tools/
--- tools/install_
+++ tools/install_
@@ -93,6 +93,17 @@
# get it in stalled in the right order
run_
+ #
+ # BFS workaround for glance build error, remove when fixed
+ #
+ run_command(
+ redirect_
+ run_command(
+ redirect_
+ #
+ # BFS end workaround
+ #
+
run_
run_
--- log ---
bschott@ ironman: ~/Source/ nova/trunk$ bzr pull //bazaar. launchpad. net/%2Bbranch/ nova/ xenapi/ vmops.py ironman: ~/Source/ nova/trunk$ ls -al json.sample
Using saved parent location: bzr+ssh:
M nova/virt/
M tools/pip-requires
All changes applied successfully.
Now on revision 604.
bschott@
total 144
drwxr-xr-x 30 bschott staff 1020 Jan 22 12:29 .
drwxr-xr-x 9 bschott staff 306 Jan 24 11:33 ..
drwxr-xr-x 7 bschott staff 238 Jan 11 11:24 .bzr
-rw-r--r-- 1 bschott staff 200 Jan 11 11:24 .bzrignore
-rw-r--r-- 1 bschott staff 125 Jan 11 11:24 .gitignore
-rw-r--r-- 1 bschott staff 1646 Jan 22 12:29 .mailmap
-rw-r--r-- 1 bschott staff 2072 Jan 22 12:29 Authors
drwxr-xr-x 11 bschott staff 374 Jan 11 11:24 CA
-rw-r--r-- 1 bschott staff 1345 Jan 11 11:24 HACKING
-rw-r--r-- 1 bschott staff 10143 Jan 11 11:24 LICENSE
-rw-r--r-- 1 bschott staff 1070 Jan 22 12:29 MANIFEST.in
-rw-r--r-- 1 bschott staff 837 Jan 22 12:29 README
-rw-r--r-- 1 bschott staff 17 Jan 11 11:24 babel.cfg
drwxr-xr-x 19 bschott staff 646 Jan 22 12:29 bin
-rwxr-xr-x 1 bschott staff 787 Jan 11 11:24 builddeb.sh
drwxr-xr-x 3 bschott staff 102 Jan 11 11:24 bzrplugins
drwxr-xr-x 5 bschott staff 170 Jan 22 12:29 contrib
drwxr-xr-x 9 bschott staff 306 Jan 11 11:24 doc
drwxr-xr-x 3 bschott staff 102 Jan 22 12:29 etc
-rw-r--r-- 1 bschott staff 41 Jan 22 12:29 krm_mapping.
drwxr-xr-x 3 bschott staff 102 Jan 11 11:24 locale
drwxr-xr-x 33 bschott staff 1122 Jan 22 12:29 nova
drwxr-xr-x 3 bschott staff 102 Jan 11 11:24 plugins
-rw-r--r-- 1 bschott staff 829 Jan 11 11:24 pylintrc
-rw-r--r-- 1 bschott staff 2240 Jan 22 12:29 run_tests.py
-rwxr-xr-x 1 bschott staff 2205 J...