[Python-checkins] bpo-47138: Ensure Windows docs build uses the same pinned version as other platforms (GH-32161) (#32183)

ambv webhook-mailer at python.org
Mon May 9 09:47:43 EDT 2022


https://github.com/python/cpython/commit/bf54487da34974a5a7c27526a44cf881c6f7a111
commit: bf54487da34974a5a7c27526a44cf881c6f7a111
branch: 3.8
author: Steve Dower <steve.dower at python.org>
committer: ambv <lukasz at langa.pl>
date: 2022-05-09T15:47:32+02:00
summary:

bpo-47138: Ensure Windows docs build uses the same pinned version as other platforms (GH-32161) (#32183)

Co-authored-by: Ned Deily <nad at python.org>

files:
M Doc/make.bat

diff --git a/Doc/make.bat b/Doc/make.bat
index 7fde063642771..ac66b56e9a3ef 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==2.2.0
+        %PYTHON% -m pip install -r requirements.txt
         if errorlevel 1 exit /B
     )
     set SPHINXBUILD=%PYTHON% -c "import sphinx.cmd.build, sys; sys.exit(sphinx.cmd.build.main())"
@@ -30,6 +30,7 @@ if not defined BLURB (
     %PYTHON% -c "import blurb" > nul 2> nul
     if errorlevel 1 (
         echo Installing blurb with %PYTHON%
+        rem Should have been installed with Sphinx earlier
         %PYTHON% -m pip install blurb
         if errorlevel 1 exit /B
     )



More information about the Python-checkins mailing list