Source: libgnatcoll
Version: 18-3
Severity: important
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx1.8

Dear Maintainer,

libgnatcoll fails to build with Sphinx 1.8, currently available in
experimental:

     debian/rules override_dh_auto_build-indep
  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  /usr/bin/make -C docs html latexpdf text SPHINXOPTS=-j4
  make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
  sphinx-build -b html -d _build/doctrees  -j4 . _build/html
  Running Sphinx v1.8.3

  Extension error:
  Could not import extension sphinx.ext.pngmath (exception: No module named 
'sphinx.ext.pngmath')

The pngmath extension was deprecated in Sphinx 1.4 and has been removed [1]
in Sphinx 1.8. The recommended alternative is sphinx.ext.imgmath [2] which
also has SVG support in addition to PNG.

To me it looks like this extension is unused anyway: there are no “.. math::”
directives or “:math:” roles, and libgnatcoll-doc does not have any generated
PNG images. So maybe this extension can be simply removed from extensions in
conf.py.

[1]: https://github.com/sphinx-doc/sphinx/pull/4702
[2]: https://www.sphinx-doc.org/en/1.8/usage/extensions/math.html

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to