diff options
author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2023-04-27 18:27:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 18:27:38 (GMT) |
commit | 44b5c21f4124f9fa1312fada313c80c6abfa6d49 (patch) | |
tree | 4f92a6c559f4ca94f4472193197ff4a28a16f345 /Doc/Makefile | |
parent | 0b7fd8ffc5df187edf8b5d926cee359924462df5 (diff) | |
download | cpython-44b5c21f4124f9fa1312fada313c80c6abfa6d49.zip cpython-44b5c21f4124f9fa1312fada313c80c6abfa6d49.tar.gz cpython-44b5c21f4124f9fa1312fada313c80c6abfa6d49.tar.bz2 |
GH-103903: Test the minimum Sphinx version in CI (#103904)
Diffstat (limited to 'Doc/Makefile')
-rw-r--r-- | Doc/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index ebe7f36..c11ea6c 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -13,6 +13,7 @@ JOBS = auto PAPER = SOURCES = DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py) +REQUIREMENTS = requirements.txt SPHINXERRORHANDLING = -W # Internal variables. @@ -154,8 +155,8 @@ venv: echo "To recreate it, remove it first with \`make clean-venv'."; \ else \ $(PYTHON) -m venv $(VENVDIR); \ - $(VENVDIR)/bin/python3 -m pip install -U pip setuptools; \ - $(VENVDIR)/bin/python3 -m pip install -r requirements.txt; \ + $(VENVDIR)/bin/python3 -m pip install --upgrade pip; \ + $(VENVDIR)/bin/python3 -m pip install -r $(REQUIREMENTS); \ echo "The venv has been created in the $(VENVDIR) directory"; \ fi |