Source: python-gmpy2
Version: 2.0.8-3
Severity: important
User: [email protected]
Usertags: sphinx1.8

Dear Maintainer,

python-gmpy2 fails to build with Sphinx 1.8, currently available in
experimental:

  make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
  sphinx-build -b man -d _build/doctrees  -D today="July 23, 2018" . _build/man
  Running Sphinx v1.8.3

  Extension error:
  Could not import extension sphinx.ext.pngmath (exception: No module named 
'sphinx.ext.pngmath')
  make[2]: *** [Makefile:112: man] 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 gmpy has already updated [3] their conf.py file.

[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/aleaxit/gmpy/commit/c35c1f3319fcf95e

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to