Skip to content

Commit

Permalink
bpo-47138: Ensure Windows docs build uses the same pinned version as …
Browse files Browse the repository at this point in the history
…other platforms (GH-32161) (#32183)

Co-authored-by: Ned Deily <nad@python.org>
  • Loading branch information
zooba and ned-deily committed May 9, 2022
1 parent d35af52 commit bf54487
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/make.bat
Expand Up @@ -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())"
Expand All @@ -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
)
Expand Down

0 comments on commit bf54487

Please sign in to comment.