Closed vitenti closed 6 months ago
I did some googling, couldn't find anything as to why this was happening.
I then traced back in our build history on readthedocs and found the first incidence of this build failure occurring: https://readthedocs.org/projects/firecrown/builds/22820174/
I compared the full log of this build to the build immediately prior which was succeeding: https://readthedocs.org/projects/firecrown/builds/22669363/
It appears that between these builds, the sphinx version that runs on the build server switched from v5.3.0
to v7.2.6
.
When I run
python -m sphinx -T -E -b readthedocssinglehtmllocalmedia -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/htmlzip
locally using sphinx v7.2.6 I get the failure
When I downgraded to sphinx v5.3.0 the same command builds the pdfs.
From this there must be two possibilities:
I've narrowed down the version which causes the above exception to be raised. v7.1.2 works, v7.2.0 does not. https://www.sphinx-doc.org/en/master/changes.html
For now we decided to fix sphinx to version 7.1.2 because the possible fix isn't clear and possible fixes may require significant changes.
Documentation (including 1.7.0) is not being built due to a latex issue on readthedocs server (very cryptic back trace). Reproduced on linux (my laptop) but @mattkwiecien managed to run on macos.