[Pkg-privacy-maintainers] Bug#1013378: txtorcon: FTBFS with Sphinx 5.0, docutils 0.18: Could not import extension repoze.sphinx.autointerface (exception: cannot import name 'force_decode' from 'sphinx.util' (/usr/lib/python3/dist-packages/sphinx/util/__init__.py))

Lucas Nussbaum lucas at debian.org
Thu Jun 23 07:46:06 BST 2022


Source: txtorcon
Version: 22.0.0-1
Severity: important
Tags: ftbfs
User: mitya57 at debian.org
Usertags: sphinx5.0

Hi,

txtorcon fails to build with Sphinx 5.0 and docutils 0.18, both of which
are currently available in experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ docs/_build/html # HTML generator
> Running Sphinx v5.0.2
> 
> Extension error:
> Could not import extension repoze.sphinx.autointerface (exception: cannot import name 'force_decode' from 'sphinx.util' (/usr/lib/python3/dist-packages/sphinx/util/__init__.py))
> make[1]: *** [debian/rules:9: override_dh_auto_build] Error 2


The full build log is available from:
http://qa-logs.debian.net/2022/06/23/txtorcon_22.0.0-1_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog and [2] for Docutils changelog.

Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.

In case you have questions, please Cc sphinx at packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]: https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.18.1:/RELEASE-NOTES.txt
[3]: https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=sphinx5.0;users=mitya57@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=sphinx5.0&fusertaguser=mitya57@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects



More information about the Pkg-privacy-maintainers mailing list