python-numpy doc related build failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-numpy (Debian) |
Fix Released
|
Unknown
|
|||
python-numpy (Ubuntu) |
Fix Released
|
High
|
Barry Warsaw | ||
Natty |
Fix Released
|
High
|
Barry Warsaw |
Bug Description
Binary package hint: python-numpy
Even if I allow python-numpy to build against Universe, the docs fail to build:
running scons
running build_scripts
adding 'build/
dh_auto_test
# build doc only for default python version
(export MPLCONFIGDIR=. ; make -C doc html PYTHONPATH=
make[1]: Entering directory `/home/
mkdir -p build
touch build/generate-
mkdir -p build/html build/doctrees
LANG=C sphinx-build -b html -d build/doctrees source build/html
Running Sphinx v1.0.1
Exception occurred:
File "/home/
raise RuntimeError("No directive named '%s' found" % name)
RuntimeError: No directive named 'function' found
The full traceback has been saved in /tmp/sphinx-
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://
or report them in the tracker at <http://
1.4 1.4.1
make[1]: *** [html] Error 1
make[1]: Leaving directory `/home/
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1337:
/tmp/sphinx-
# Sphinx version: 1.0.1
# Docutils version: 0.7 release
# Jinja2 version: 2.5.4
Traceback (most recent call last):
File "/usr/lib/
warningiserror, tags)
File "/usr/lib/
self.
File "/usr/lib/
mod.setup(self)
File "/home/
app.
File "/home/
base_directive = get_directive(
File "/home/
raise RuntimeError("No directive named '%s' found" % name)
RuntimeError: No directive named 'function' found
Related branches
- Colin Watson (community): Approve
-
Diff: 269 lines (+141/-40)7 files modifieddebian/changelog (+14/-0)
debian/control (+16/-16)
debian/patches/20_disable-plot-extension.patch (+81/-0)
debian/patches/series (+1/-0)
debian/rules (+5/-5)
doc/source/conf.py (+23/-18)
doc/sphinxext/tests/test_docscrape.py (+1/-1)
Changed in python-numpy (Ubuntu Natty): | |
milestone: | none → natty-alpha-3 |
importance: | Undecided → High |
assignee: | nobody → Barry Warsaw (barry) |
tags: | added: python27 |
Changed in python-numpy (Debian): | |
status: | Unknown → Fix Released |
Changed in python-numpy (Ubuntu Natty): | |
status: | New → In Progress |
The Sphinx extensions in Numpy 1.4.1 probably don't work properly with current versions of Sphinx (>= 1.0).
If you need still to use 1.4.1, you can try grabbing updated content for the `doc/sphinxext` directory
from Numpy Git repo.