Bug#997374: pyswarms: FTBFS: AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
Lucas Nussbaum
lucas at debian.org
Sat Oct 23 20:50:28 BST 2021
Source: pyswarms
Version: 1.3.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -d _build/doctrees . _build/html
> Running Sphinx v4.2.0
> making output directory... done
>
> Exception occurred:
> File "/<<PKGBUILDDIR>>/docs/conf.py", line 167, in setup
> app.add_stylesheet("theme_overrides.css") # path relative to static
> AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
> The full traceback has been saved in /tmp/sphinx-err-48_kb6lf.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:53: html] Error 2
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/pyswarms_1.3.0-1_unstable.log
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!
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
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list