[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#918850: libmypaint: FTBFS with Sphinx 1.8: No module named 'sphinx.ext.pngmath'



Source: libmypaint
Version: 1.3.0-2
Severity: important
User: python-modules-team@lists.alioth.debian.org
Usertags: sphinx1.8

Dear Maintainer,

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

  sphinx-build source/ build/
  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 libmypaint-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

Attachment: signature.asc
Description: PGP signature


Reply to: