[Python-modules-team] Bug#896897: sphinx: An error in Sphinx entails FTBFS of package sympy

Georges Khaznadar georgesk at debian.org
Wed Apr 25 15:57:21 BST 2018


Source: sphinx
Severity: normal

I am maintaining the package sympy, which build some documentation
with Sphinx.

A recent recompilation triggered Bug #896747:
sympy FTBFS with sphinx 1.7.2 https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=896747

I could check that this error is reproducible.

Here is a fix : in file .../dist-packages/sphinx/domains/python.py
line 568 must be changed:

self.env.doc2path(modules[modname]) should be replaced
by: env.doc2path(modules[modname][0])

Thank you in advance for the fix. When this is fixed, I shall
remove the ugly workaround wired into sympy's debian/rule
file, which directly modifies the wrong line.



-- System Information:
Debian Release: buster/sid
  APT prefers stable
  APT policy: (900, 'stable'), (499, 'testing'), (400, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Python-modules-team mailing list