FS#78363 - [python-sphinx][python-sphinx_rtd_theme] sphinx_rtd_theme incompatible with sphinx 7.0.0

Attached to Project: Community Packages
Opened by David Runge (dvzrv) - Tuesday, 02 May 2023, 07:45 GMT
Last edited by Toolybird (Toolybird) - Monday, 09 October 2023, 18:44 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Johannes Löthberg (demize)
Caleb Maclennan (alerque)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: I'm running into issues when building the documentation for libcamera against [testing].

Additional info:
* sphinx 7.0.0-1, sphinx_rtd_theme 1.2.0-4
* https://github.com/readthedocs/sphinx_rtd_theme/issues/1465

Steps to reproduce:

Build latest libcamera against [testing]:

```
[184/363] Generating Documentation/documentation with a custom command
FAILED: Documentation/html
/usr/bin/sphinx-build -D release=v0.0.5 -q -W -b html /build/libcamera/src/libcamera/Documentation Documentation/html

Theme error:
An error happened in rendering the page api-html/index.
Reason: UndefinedError("'style' is undefined")
```
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 09 October 2023, 18:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-sphinx_rtd_theme 1.3.0-1
Comment by Johannes Wienke (languitar) - Sunday, 07 May 2023, 21:34 GMT
This still seems to be a valid problem. The rtd theme declares compatibility with sphinx only < version 7: https://github.com/readthedocs/sphinx_rtd_theme/blob/master/setup.cfg#L48
Comment by Toolybird (Toolybird) - Sunday, 07 May 2023, 21:35 GMT

Loading...