From 2d2aa5b31a82d2847d37ddd69de2b3cebe7e7cfc Mon Sep 17 00:00:00 2001 From: LindsayHill Date: Tue, 4 Aug 2020 16:00:28 -0700 Subject: [PATCH] Bump pip version --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f97c1f101..b065a3ac6 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ COMPONENT_PYTHONPATH = $(subst $(space_char),:,$(realpath $(COMPONENTS))) PYTHON_TARGET := 3.6 REQUIREMENTS := requirements.txt st2/requirements.txt +PIP_VERSION := 20.0.2 PIP_OPTIONS := $(ST2_PIP_OPTIONS) ifndef PIP_OPTIONS @@ -153,8 +154,8 @@ requirements: virtualenv @echo "==================== st2docs requirements ====================" @echo - # Make sure we use latest version of pip - $(VIRTUALENV_DIR)/bin/pip install --upgrade "pip>=19.0,<20.0" + # Use same pip version as st2 + $(VIRTUALENV_DIR)/bin/pip install --upgrade "pip==$(PIP_VERSION)" # Install requirements #