Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sphinx 4.1.0 (e.g. on readthedocs now) is failing to compile html #74

Closed
teuben opened this issue Jul 13, 2021 · 3 comments
Closed

sphinx 4.1.0 (e.g. on readthedocs now) is failing to compile html #74

teuben opened this issue Jul 13, 2021 · 3 comments

Comments

@teuben
Copy link
Owner

teuben commented Jul 13, 2021

Recently readthedocs must have upgraded to sphinx 4.1.0, and it's now failing with:

 Could not import extension sphinx.builders.epub3 (exception: cannot import name 'RemovedInSphinx40Warning' from 'sphinx.deprecation'

which you can locally invoke via

  cd $NEMO/doc 
  pip install -U -r requirements.txt

after this "make html" fails in the source directory.

@teuben
Copy link
Owner Author

teuben commented Jul 13, 2021

I sympathize with this comment:
https://samnicholls.net/2016/06/15/how-to-sphinx-readthedocs/
stuff like this makes me wonder if it was the right decision to convert to sphinx.

@teuben
Copy link
Owner Author

teuben commented Jul 13, 2021

sphinx-doc/sphinx#9434 offers a local workaround

  pip install -U sphinxcontrib-htmlhelp
  pip install -U sphinxcontrib-serializinghtml

a fix on readthedocs itself will surely be coming soon.

@teuben teuben changed the title sphinx 4.0 (e.g. on readthedocs now) is failing to compile html sphinx 4.1.0 (e.g. on readthedocs now) is failing to compile html Jul 18, 2021
@teuben
Copy link
Owner Author

teuben commented Jul 22, 2021

Modified the requirements.txt to contain sphinx>=4.1.1 made it work again.

@teuben teuben closed this as completed Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant