From d7a90b24c2aa22e40059f11b3775d4bc0a8da487 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Mon, 13 Jan 2020 10:56:55 -0500 Subject: [PATCH] Try upgrading pip first --- .circleci/create-virtualenv.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/create-virtualenv.sh b/.circleci/create-virtualenv.sh index 1301bea76..3d6c1bc54 100755 --- a/.circleci/create-virtualenv.sh +++ b/.circleci/create-virtualenv.sh @@ -38,5 +38,8 @@ export PIP_FIND_LINKS="file://${WHEELHOUSE_PATH}" "${PIP}" install certifi # Get a new, awesome version of pip and setuptools. For example, the -# distro-packaged virtualenv's pip may not know about wheels. -"${PIP}" install --upgrade pip setuptools wheel +# distro-packaged virtualenv's pip may not know about wheels. Get the newer +# version of pip *first* in case we have a really old one now which can't even +# install setuptools properly. +"${PIP}" install --upgrade pip +"${PIP}" install --upgrade setuptools wheel