summaryrefslogtreecommitdiffstats
path: root/Doc/make.bat
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-03-29 00:10:30 (GMT)
committerGitHub <noreply@github.com>2022-03-29 00:10:30 (GMT)
commitd2c6a4428d52c108f4b06dcd1bb86023541c60ce (patch)
tree4a1bdee28095da471f6ec2a2c5bae37420e08faa /Doc/make.bat
parentf84fb55659079bbc99d4cd0441dc13ab07ac3dcf (diff)
downloadcpython-d2c6a4428d52c108f4b06dcd1bb86023541c60ce.zip
cpython-d2c6a4428d52c108f4b06dcd1bb86023541c60ce.tar.gz
cpython-d2c6a4428d52c108f4b06dcd1bb86023541c60ce.tar.bz2
bpo-47138: Ensure Windows docs build uses the same pinned version as other platforms (GH-32161)
(cherry picked from commit 0dfabf9b4a58b835b61fc3d17784d4746f677e56) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Doc/make.bat')
-rw-r--r--Doc/make.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/make.bat b/Doc/make.bat
index 7fde063..ac66b56 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
)