diff options
author | Steve Dower <steve.dower@python.org> | 2022-05-09 13:47:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 13:47:32 (GMT) |
commit | bf54487da34974a5a7c27526a44cf881c6f7a111 (patch) | |
tree | 94b12d960c6673f69fba631b1b1000065da27b19 /Doc | |
parent | d35af52caae844cb4ea0aff06fa3fc5328708af1 (diff) | |
download | cpython-bf54487da34974a5a7c27526a44cf881c6f7a111.zip cpython-bf54487da34974a5a7c27526a44cf881c6f7a111.tar.gz cpython-bf54487da34974a5a7c27526a44cf881c6f7a111.tar.bz2 |
bpo-47138: Ensure Windows docs build uses the same pinned version as other platforms (GH-32161) (#32183)
Co-authored-by: Ned Deily <nad@python.org>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/make.bat | 3 |
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 ) |