docfx build fails with "The sphinxcontrib.applehelp extension used by this project needs at least Sphinx v5.0" #344
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
See build log here which shows the error reported in the title.
Releases of the
sphinxcontrib-*
dependencies were recently published which remove the requirement forsphinx>5
:sphinx-doc/sphinx#11567 (comment)
This library pins to
sphinx==4.5.0
sphinx-docfx-yaml/setup.py
Line 26 in 2cda2ab
Since the requirement for
sphinx>5
was removed from thesphinxcontrib-*
dependencies, we're pulling in the latest versions ofsphinxcontrib-*
instead of the ones that are compatible with sphinx 4.xAs a workaround, pinning to older versions of
sphinxcontrib-*
packages seems to allow the build passTo see which versions are compatible with sphinx 4.x, see the changelogs here:
https://github.com/sphinx-doc/sphinxcontrib-applehelp/blob/master/CHANGES
https://github.com/sphinx-doc/sphinxcontrib-devhelp/blob/master/CHANGES
https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/blob/master/CHANGES
https://github.com/sphinx-doc/sphinxcontrib-qthelp/blob/master/CHANGES
https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/blob/master/CHANGES
Output from local run without the workaround:
The text was updated successfully, but these errors were encountered: