[Python-apps-team] Bug#963642: buildbot: FTBFS with Sphinx 3.1: AttributeError: type object 'PygmentsBridge' has no attribute 'unhighlighted'

Lucas Nussbaum lucas at debian.org
Wed Jun 24 21:49:02 BST 2020


Source: buildbot
Version: 2.7.0-1
Severity: important
Tags: ftbfs
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx3.1

Hi,

buildbot fails to build with Sphinx 3.1, currently available in
experimental.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/master/docs'
> rm -rf _build/*
> if command -v towncrier >/dev/null 2>&1 ;\
> then \
> cd ../../; towncrier --draft |grep  'No significant changes.' || yes n | towncrier ;\
> fi
> sphinx-build -b html -d _build/doctrees  -q -W . _build/html
> sphinx-build -b singlehtml -d _build/doctrees  -q -W . _build/singlehtml
> enchant module import failed:
> No module named 'enchant'
> Spell checking disabled.
> 
> Exception occurred:
>   File "/<<PKGBUILDDIR>>/master/docs/bbdocs/highlighterrors.py", line 84, in setup
>     orig_unhiglighted = sphinx.highlighting.PygmentsBridge.unhighlighted
> AttributeError: type object 'PygmentsBridge' has no attribute 'unhighlighted'
> The full traceback has been saved in /tmp/sphinx-err-ze8fov5q.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> enchant module import failed:
> No module named 'enchant'
> Spell checking disabled.
> 
> Exception occurred:
>   File "/<<PKGBUILDDIR>>/master/docs/bbdocs/highlighterrors.py", line 84, in setup
>     orig_unhiglighted = sphinx.highlighting.PygmentsBridge.unhighlighted
> AttributeError: type object 'PygmentsBridge' has no attribute 'unhighlighted'
> The full traceback has been saved in /tmp/sphinx-err-xkdm_cxf.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[2]: *** [Makefile:58: html] Error 2

The full build log is available from:
   http://qa-logs.debian.net/2020/06/23/buildbot_2.7.0-1_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.

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

Sphinx 3.1 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.

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

[1]: https://www.sphinx-doc.org/en/3.x/changes.html
[2]: https://www.sphinx-doc.org/en/3.x/extdev/deprecated.html

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-apps-team mailing list