[Debian-med-packaging] Bug#955103: nitime: FTBFS with Sphinx 2.4: AttributeError: 'Sphinx' object has no attribute 'info'
Lucas Nussbaum
lucas at debian.org
Fri Mar 27 14:50:07 GMT 2020
Source: nitime
Version: 0.8.1-2
Severity: important
Tags: ftbfs
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx2.4
Hi,
nitime fails to build with Sphinx 2.4, currently available in
experimental.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> ../tools/make_examples.py --no-exec
> python3 ../tools/build_modref_templates.py
> WARNING: Empty - nitime
> WARNING: Empty - nitime.algorithms
> WARNING: Empty - nitime.analysis
> WARNING: Empty - nitime.fmri
> WARNING: Empty - nitime.version
> 26 files written
> Build API docs finished.
> sphinx-build -b html -d _build/doctrees . _build/html
> Running Sphinx v2.4.3
> /<<PKGBUILDDIR>>/doc/conf.py:34: MatplotlibDeprecationWarning:
> The mpl_toolkits.axes_grid module was deprecated in Matplotlib 2.1 and will be removed two minor releases later. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist, which provide the same functionality instead.
> __import__(package, fromlist=parts)
> WARNING: while setting up extension ipython_console_highlighting: extension 'ipython_console_highlighting' has no setup() function; is it really a Sphinx extension module?
> /usr/lib/python3/dist-packages/sphinx/util/docutils.py:285: RemovedInSphinx30Warning: function based directive support is now deprecated. Use class based directive instead.
> warnings.warn('function based directive support is now deprecated. '
> WARNING: while setting up extension only_directives: node class 'html_only' is already registered, its visitors will be overridden
> WARNING: while setting up extension only_directives: node class 'html_only' is already registered, its visitors will be overridden
> WARNING: while setting up extension only_directives: node class 'latex_only' is already registered, its visitors will be overridden
> WARNING: while setting up extension only_directives: node class 'latex_only' is already registered, its visitors will be overridden
>
> Exception occurred:
> File "/<<PKGBUILDDIR>>/doc/sphinxext/github.py", line 149, in setup
> app.info('Initializing GitHub plugin')
> AttributeError: 'Sphinx' object has no attribute 'info'
> The full traceback has been saved in /tmp/sphinx-err-6g3piye3.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.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[2]: *** [Makefile:35: htmlonly] Error 2
The full build log is available from:
http://qa-logs.debian.net/2020/03/26/nitime_0.8.1-2_unstable_sphinx243.log
Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.
Also see [2] for the list of deprecated/removed APIs and possible alternatives
to them.
Sphinx 2.4 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.
In case you have questions, please Cc sphinx at packages.debian.org on reply.
[1]: https://www.sphinx-doc.org/en/2.0/changes.html
[2]: https://www.sphinx-doc.org/en/2.0/extdev/deprecated.html#dev-deprecated-apis
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Debian-med-packaging
mailing list