Skip to content
Snippets Groups Projects
Unverified Commit bf54487d authored by Steve Dower's avatar Steve Dower Committed by GitHub
Browse files

bpo-47138: Ensure Windows docs build uses the same pinned version as other...

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

Co-authored-by: default avatarNed Deily <nad@python.org>
parent d35af52c
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ if not defined SPHINXBUILD ( ...@@ -13,7 +13,7 @@ if not defined SPHINXBUILD (
%PYTHON% -c "import sphinx" > nul 2> nul %PYTHON% -c "import sphinx" > nul 2> nul
if errorlevel 1 ( if errorlevel 1 (
echo Installing sphinx with %PYTHON% 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 if errorlevel 1 exit /B
) )
set SPHINXBUILD=%PYTHON% -c "import sphinx.cmd.build, sys; sys.exit(sphinx.cmd.build.main())" set SPHINXBUILD=%PYTHON% -c "import sphinx.cmd.build, sys; sys.exit(sphinx.cmd.build.main())"
...@@ -30,6 +30,7 @@ if not defined BLURB ( ...@@ -30,6 +30,7 @@ if not defined BLURB (
%PYTHON% -c "import blurb" > nul 2> nul %PYTHON% -c "import blurb" > nul 2> nul
if errorlevel 1 ( if errorlevel 1 (
echo Installing blurb with %PYTHON% echo Installing blurb with %PYTHON%
rem Should have been installed with Sphinx earlier
%PYTHON% -m pip install blurb %PYTHON% -m pip install blurb
if errorlevel 1 exit /B if errorlevel 1 exit /B
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment