[Python-modules-team] Bug#918845: kitchen: FTBFS with Sphinx 1.8: No module named 'sphinx.ext.pngmath'

Dmitry Shachnev mitya57 at debian.org
Wed Jan 9 21:42:35 GMT 2019

Source: kitchen
Version: 1.2.5-3
Severity: important
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx1.8

Dear Maintainer,

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

  PYTHONPATH=/<<PKGBUILDDIR>>/kitchen3/ http_proxy='' \
          sphinx-build -N -bhtml kitchen3/docs/ kitchen3/docs/_build/html
  Running Sphinx v1.8.3
  loading translations [en]... done

  Extension error:
  Could not import extension sphinx.ext.pngmath (exception: No module named 'sphinx.ext.pngmath')
  make[1]: *** [debian/rules:20: override_dh_auto_build] Error 2

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 python-kitchen-doc does not have any
generated PNG images. So 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190110/eef53dae/attachment-0001.sig>

More information about the Python-modules-team mailing list