From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 1 Jun 2020 21:25:32 +0000 (-0700) Subject: Ensure correct version of Sphinx is used for Windows builds (GH-20582) X-Git-Tag: v3.8.4rc1~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=139f1bafcf0bf48f8f55464523a4c5e50ddb50fd;p=thirdparty%2FPython%2Fcpython.git Ensure correct version of Sphinx is used for Windows builds (GH-20582) (cherry picked from commit fe5dd78182dbf4937bcc2b113ca7526bfad0192b) Co-authored-by: Steve Dower --- diff --git a/Doc/make.bat b/Doc/make.bat index 6f8f172e95eb..7fde06364277 100644 --- a/Doc/make.bat +++ b/Doc/make.bat @@ -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())"