From da85a829e756b71da0abbdc46a3f33d21ee9e633 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Tue, 26 Jan 2021 17:14:51 +0800 Subject: [PATCH] Pin pip<21.0 for running tests with Python 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "pip 21.0, in January 2021, will remove Python 2 support, per pip’s Python 2 Support policy. Please migrate to Python 3." from https://pip.pypa.io/en/stable/ 21.0 has been released since Jan 23, 2021. Signed-off-by: Chenxiong Qi --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 612e718..4965711 100755 --- a/test.sh +++ b/test.sh @@ -64,7 +64,7 @@ function setup_dfp() { # CentOS needs to have setuptools updates to make pytest-cov work if [[ $OS = "centos" && $OS_VERSION == 7 ]]; then - $RUN "${PIP_INST[@]}" -U pip + $RUN "${PIP_INST[@]}" -U 'pip<21.0' $RUN "${PIP_INST[@]}" -U setuptools fi