]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Ensure correct version of Sphinx is used for Windows builds (GH-20582)
authorSteve Dower <steve.dower@python.org>
Mon, 1 Jun 2020 21:17:23 +0000 (22:17 +0100)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 21:17:23 +0000 (22:17 +0100)
Doc/make.bat

index 6f8f172e95eb8e3b31c752d0888eea2e4cb1616d..7fde063642771375fff4a16e749589953b939205 100644 (file)
@@ -13,7 +13,7 @@ if not defined SPHINXBUILD (
     %PYTHON% -c "import sphinx" > nul 2> nul
     if errorlevel 1 (
         echo Installing sphinx with %PYTHON%
-        %PYTHON% -m pip install sphinx
+        %PYTHON% -m pip install sphinx==2.2.0
         if errorlevel 1 exit /B
     )
     set SPHINXBUILD=%PYTHON% -c "import sphinx.cmd.build, sys; sys.exit(sphinx.cmd.build.main())"