Skip to content

Commit 295114d

Browse files
authored
bpo-47138: Ensure Windows docs build uses the same pinned version as other platforms (GH-32161)
1 parent 66584c8 commit 295114d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/make.bat

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if not defined SPHINXBUILD (
1313
%PYTHON% -c "import sphinx" > nul 2> nul
1414
if errorlevel 1 (
1515
echo Installing sphinx with %PYTHON%
16-
%PYTHON% -m pip install sphinx==2.2.0
16+
%PYTHON% -m pip install -r requirements.txt
1717
if errorlevel 1 exit /B
1818
)
1919
set SPHINXBUILD=%PYTHON% -c "import sphinx.cmd.build, sys; sys.exit(sphinx.cmd.build.main())"
@@ -30,6 +30,7 @@ if not defined BLURB (
3030
%PYTHON% -c "import blurb" > nul 2> nul
3131
if errorlevel 1 (
3232
echo Installing blurb with %PYTHON%
33+
rem Should have been installed with Sphinx earlier
3334
%PYTHON% -m pip install blurb
3435
if errorlevel 1 exit /B
3536
)
@@ -40,6 +41,7 @@ if not defined SPHINXLINT (
4041
%PYTHON% -c "import sphinxlint" > nul 2> nul
4142
if errorlevel 1 (
4243
echo Installing sphinx-lint with %PYTHON%
44+
rem Should have been installed with Sphinx earlier
4345
%PYTHON% -m pip install sphinx-lint
4446
if errorlevel 1 exit /B
4547
)

0 commit comments

Comments
 (0)