From 57f10351ac3c9437e7d6174f3baf5151255cb73e Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Mon, 13 Mar 2023 11:26:16 +0000 Subject: [PATCH] setup.py: Force Sphinx > 2 for readthedocs FIX readthedocs uses an old version of sphinx for projects created before 2020: https://github.com/mgeier/sphinx-last-updated-by-git/issues/1 So force a newer version. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 222f27a8cf..0f6b8b8eb8 100755 --- a/setup.py +++ b/setup.py @@ -77,9 +77,9 @@ def make_console_script(name): } extras_require["doc"] = [ - "sphinx >= 1.8", # Force ReadTheDocs to use a recent version, rather than the defaults used # for old projects. + "sphinx > 2", "sphinx_rtd_theme >= 0.5.2", "sphinxcontrib-plantuml", "nbsphinx",