[Python-checkins] Ensure correct version of Sphinx is used for Windows builds (GH-20582)

Miss Islington (bot) webhook-mailer at python.org
Mon Jun 1 17:23:28 EDT 2020


https://github.com/python/cpython/commit/b640ca1f3e52771dd70a3442780c3eb8d902f3b3
commit: b640ca1f3e52771dd70a3442780c3eb8d902f3b3
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-06-01T14:23:18-07:00
summary:

Ensure correct version of Sphinx is used for Windows builds (GH-20582)

(cherry picked from commit fe5dd78182dbf4937bcc2b113ca7526bfad0192b)

Co-authored-by: Steve Dower <steve.dower at python.org>

files:
M Doc/make.bat

diff --git a/Doc/make.bat b/Doc/make.bat
index 2f21e6d52ef91..63e0bd7236475 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())"



More information about the Python-checkins mailing list