Bug#1084781: can't find new pydata-sphinx-theme
Drew Parsons
dparsons at debian.org
Tue Oct 8 17:25:39 BST 2024
Source: pydata-sphinx-theme
Version: 0.15.4+dfsg-1
Followup-For: Bug #1084781
Control: affects 1084781 src:petsc4py
Control: block 1082552 by 1084781
petsc4py also uses pydata-sphinx-theme for docs, and FTBFS because of
this bug. The error log is
PYTHONPATH=/home/drew/projects/petsc/build/petsc4py/.pybuild/cpython3_3.12_petsc4py_real3.21/build http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/source build/html # HTML generator
Running Sphinx v7.4.7
Not using PETSC inventory from https://petsc.org/release/objects.inv
[]
loading translations [en]... done
Exception occurred:
File "/usr/lib/python3.12/zipfile/__init__.py", line 1331, in __init__
self.fp = io.open(file, filemode)
^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/pydata_sphinx_theme/theme/pydata_sphinx_theme'
petsc4py docs are configured (conf.py) with
html_theme = 'pydata_sphinx_theme'
so sphinx is using this directive to activate
/usr/lib/python3/dist-packages/pydata_sphinx_theme/theme/pydata_sphinx_theme
But python3-pydata-sphinx-theme 0.15.4+dfsg-1 does not provide it.
If I understand correctly, theme/pydata_sphinx_theme would be defined
inside
/usr/lib/python3/dist-packages/pydata_sphinx_theme/__init__.py
Did the definition change, breaking sphinx, in v0.15?
Is pydata-sphinx-theme 0.15 only compatible with sphinx 0.8, which we
don't have yet?
More information about the debian-science-maintainers
mailing list