Cannot make docs under Debian/testing
make docs
fails with
Generate XML output for dir /G/sw/ohkl/gui/widgets/
Running plantuml with JAVA...
Running dot...
lookup cache used 11594/65536 hits=155169 misses=12202
finished...
Exception occurred:
File "/usr/local/lib/python3.9/dist-packages/sphinx/theming.py", line 199, in load_external_theme
theme_entry_points = entry_points(group='sphinx.html_themes')
TypeError: entry_points() got an unexpected keyword argument 'group'
The full traceback has been saved in /tmp/sphinx-err-qyhl6vio.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[3]: *** [doc/CMakeFiles/docs.dir/build.make:72: doc/CMakeFiles/docs] Error 2
make[2]: *** [CMakeFiles/Makefile2:3924: doc/CMakeFiles/docs.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:3931: doc/CMakeFiles/docs.dir/rule] Error 2
make: *** [Makefile:1824: docs] Error 2
File /tmp/sphinx-err-qyhl6vio.log
:
# Sphinx version: 5.1.0
# Python version: 3.9.2 (CPython)
# Docutils version: 0.16 release
# Jinja2 version: 2.11.3
# Last messages:
# Loaded extensions:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/sphinx/cmd/build.py", line 272, in build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
File "/usr/local/lib/python3.9/dist-packages/sphinx/application.py", line 261, in __init__
self._init_builder()
File "/usr/local/lib/python3.9/dist-packages/sphinx/application.py", line 333, in _init_builder
self.builder.init()
File "/usr/local/lib/python3.9/dist-packages/sphinx/builders/html/__init__.py", line 248, in init
self.init_templates()
File "/usr/local/lib/python3.9/dist-packages/sphinx/builders/html/__init__.py", line 299, in init_templates
self.theme = theme_factory.create(themename)
File "/usr/local/lib/python3.9/dist-packages/sphinx/theming.py", line 232, in create
self.load_extra_theme(name)
File "/usr/local/lib/python3.9/dist-packages/sphinx/theming.py", line 177, in load_extra_theme
self.load_external_theme(name)
File "/usr/local/lib/python3.9/dist-packages/sphinx/theming.py", line 199, in load_external_theme
theme_entry_points = entry_points(group='sphinx.html_themes')
TypeError: entry_points() got an unexpected keyword argument 'group'