From 2596423db5ba1c8b3a3fe55610f67a9f1f6e4fae Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 22 Apr 2020 01:20:58 +0800 Subject: [PATCH] scripts/build_utils.sh: install pip==19.3.1 to address the issue of https://github.com/pypa/pip/issues/7620 when installing pip 10 with pip 20 Signed-off-by: Kefu Chai --- scripts/build_utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index ac48b0084..87edeef13 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -125,7 +125,7 @@ install_python_packages_no_binary () { # versions of pip that break with newer versions of pkg_resources that come # with the virtualenv. Doing an initial upgrade with easy_install # circumvents the problem - $VENV/easy_install --upgrade pip + $VENV/easy_install --upgrade pip==19.3.1 $VENV/pip install "pip==10.0.0" echo "Updating setuptools" @@ -164,7 +164,7 @@ install_python_packages () { # versions of pip that break with newer versions of pkg_resources that come # with the virtualenv. Doing an initial upgrade with easy_install # circumvents the problem - $VENV/easy_install --upgrade pip + $VENV/easy_install --upgrade pip==19.3.1 $VENV/pip install "pip==10.0.0" echo "Updating setuptools"