Source: scikit-learn Version: 0.3-4 User: [email protected] Usertags: sphinx1.0+docutils0.7 Severity: important
Hello,When rebuilt with python-sphinx 1.0~b1-1 and python-docutils 0.7-1 (both available in experimental), scikit-learn failed to build. Here are the relevant parts of the build log:
[…]
| : # Build Documentation
| export PYTHONPATH=`/bin/ls -d $PWD/build/lib.*2.6`
MPLCONFIGDIR=/tmp/buildd/scikit-learn-0.3/build
HOME=/tmp/buildd/scikit-learn-0.3/build; \
| cd doc; /usr/bin/make html
| make[2]: Entering directory `/tmp/buildd/scikit-learn-0.3/doc'
| sphinx-build -b html -d _build/doctrees . _build/html
| Making output directory...
| Running Sphinx v1.0b1
|
| Exception occurred:
| File "/tmp/buildd/scikit-learn-0.3/doc/sphinxext/numpydoc.py", line 136, in
get_directive
| raise RuntimeError("No directive named '%s' found" % name)
| RuntimeError: No directive named 'function' found
| The full traceback has been saved in /tmp/sphinx-err-S5t0Iz.log, if you want
to report the issue to the developers.
| 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://groups.google.com/group/sphinx-dev/>,
| or report them in the tracker at
<http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
If you believe that this failure is caused by a bug in python-sphinx or
python-docutils, feel free to reassign the bug.
-- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Jakub Wilk
# Sphinx version: 1.0b1
# Docutils version: 0.7 release
# Jinja2 version: 2.5
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/sphinx/cmdline.py", line 172, in main
warningiserror, tags)
File "/usr/lib/pymodules/python2.6/sphinx/application.py", line 114, in
__init__
self.setup_extension(extension)
File "/usr/lib/pymodules/python2.6/sphinx/application.py", line 251, in
setup_extension
mod.setup(self)
File "/tmp/buildd/scikit-learn-0.3/doc/sphinxext/numpydoc.py", line 119, in
setup
app.add_directive('np-' + name, wrap_mangling_directive(name, objtype))
File "/tmp/buildd/scikit-learn-0.3/doc/sphinxext/numpydoc.py", line 139, in
wrap_mangling_directive
base_directive = get_directive(base_directive_name)
File "/tmp/buildd/scikit-learn-0.3/doc/sphinxext/numpydoc.py", line 136, in
get_directive
raise RuntimeError("No directive named '%s' found" % name)
RuntimeError: No directive named 'function' found
signature.asc
Description: Digital signature

