Bug#918830: sardana: FTBFS with Sphinx 1.8: No module named pngmath

Dmitry Shachnev mitya57 at debian.org
Wed Jan 9 16:03:12 GMT 2019


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

Dear Maintainer,

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

  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  PYTHONPATH=. sphinx-build -N -bhtml doc/source build/html # HTML generator
  Running Sphinx v1.8.3

  Extension error:
  Could not import extension sphinx.ext.pngmath (exception: No module named pngmath)
  make[1]: *** [debian/rules:15: override_dh_sphinxdoc] 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.

Upstream has already updated their conf.py file in [3].

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

--
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/debian-science-maintainers/attachments/20190109/f6c1696e/attachment.sig>


More information about the debian-science-maintainers mailing list