meta icon indicating copy to clipboard operation
meta copied to clipboard

Sphinx 5 compatibility

Open pradyunsg opened this issue 3 years ago • 4 comments

Sphinx 5 was recently released, and a lot of our repositories have an upper-bound dependency pin that prevents users from installing it. This is an issue for tracking the removal of this upper bound across our repositories.

Repositories that need to be made Sphinx-5 compatible

We have a bunch of repositories, that contain a pin preventing users from using Sphinx 5. This is a checklist to track upgrading/updating them for Sphinx 5 support:

  • [x] https://github.com/executablebooks/jupyter-book: https://github.com/executablebooks/jupyter-book/pull/1842
  • [x] https://github.com/executablebooks/sphinx-book-theme: https://github.com/https://github.com/executablebooks/sphinx-book-theme/issues/592
  • [x] https://github.com/executablebooks/sphinx-tabs
  • [x] https://github.com/executablebooks/MyST-NB
  • [x] https://github.com/executablebooks/sphinx-thebe
  • [x] https://github.com/executablebooks/sphinx-jupyterbook-latex: https://github.com/executablebooks/sphinx-jupyterbook-latex/issues/120
  • [x] ~~https://github.com/executablebooks/sphinx-panels~~ (deprecated)
  • [ ] https://github.com/executablebooks/sphinx-multitoc-numbering
  • [x] https://github.com/executablebooks/MyST-Parser
  • [x] https://github.com/executablebooks/sphinx-design
  • [x] https://github.com/executablebooks/sphinx-external-toc
  • [ ] https://github.com/executablebooks/rst-to-myst

Useful links

Rough checklist for each repo

  • Check changelog links above for any relevant changes
  • Uncap the version in setup.py or pyproject.toml in a PR, and re-confirm that the tests pass.
  • Double check the docs to make sure that no obvious problems have been introduced in the end-result.
  • Merge the PR
  • Then make a new release of the repository.
  • Then check that box in the meta-issue
  • And close the meta-issue when all is finished.

pradyunsg avatar Jun 01 '22 13:06 pradyunsg

Thanks for opening this one @pradyunsg - I added a few extra contextual information in case it helps others!

choldgraf avatar Jun 01 '22 14:06 choldgraf

We should also check the docutils changelog!

pradyunsg avatar Jun 02 '22 10:06 pradyunsg

Good point, have updated the top comment further!

choldgraf avatar Jun 02 '22 11:06 choldgraf

I note that this is still an open issue, and that Sphinx is now at v7.1.2. Are there any upgrade plans, or blockers that require the legacy version of sphinx?

A saving grace is perhaps that for folk who use chatgpt to "search" documentation, the chatGPT 2021 cut-off was around about v4...

psychemedia avatar Aug 07 '23 21:08 psychemedia