[Debian-astro-maintainers] Bug#872708: python-asdf: FTBFS with Sphinx 1.6: AttributeError: 'Sphinx' object has no attribute '_extensions'
Dmitry Shachnev
mitya57 at debian.org
Sun Aug 20 11:12:52 UTC 2017
Source: python-asdf
Version: 1.2.1-2
Severity: important
Tags: fixed-upstream
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx1.6
Dear maintainer,
python-asdf fails to build with Sphinx 1.6, currently available in
experimental:
[autosummary] generating autosummary for: asdf/examples.rst, asdf/extensions.rst, index.rst
Exception occurred:
File "/<<PKGBUILDDIR>>/astropy_helpers/astropy_helpers/sphinx/ext/automodsumm.py", line 311, in automodsumm_to_autosummary_lines
if 'astropy_helpers.sphinx.ext.automodapi' in app._extensions:
AttributeError: 'Sphinx' object has no attribute '_extensions'
The automodsumm extensions was relying on private API which has been made
public in Sphinx 1.6, see this upstream commit:
https://github.com/sphinx-doc/sphinx/commit/9025297faa917665
In upstream repository, this bug was fixed by updating bundled automodsumm
to the latest upstream version. This particular issue can be fixed by
cherry-picking this diff:
https://github.com/astropy/sphinx-automodapi/pull/22/files
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20170820/d836a4e4/attachment.sig>
More information about the Debian-astro-maintainers
mailing list