From 388b0fdf0493efb977cb0f52cf293d531d7cf783 Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Sat, 11 Mar 2017 19:05:46 -0500 Subject: [PATCH] Force reinstall of setuptools and pip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For some reason -I wasn't cutting it. Even though we were trying to install pip 8.1.2, this was happening: Collecting pip==8.1.2 Using cached pip-8.1.2-py2.py3-none-any.whl Installing collected packages: pip Successfully installed pip-9.0.1 ¯\_(ツ)_/¯ --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c3511d5dbf..2f12ea110a 100644 --- a/Makefile +++ b/Makefile @@ -264,8 +264,8 @@ virtualenv_ansible: fi; \ if [ ! -d "$(VENV_BASE)/ansible" ]; then \ virtualenv --system-site-packages --setuptools $(VENV_BASE)/ansible && \ - $(VENV_BASE)/ansible/bin/pip install -I setuptools==23.0.0 && \ - $(VENV_BASE)/ansible/bin/pip install -I pip==8.1.2; \ + $(VENV_BASE)/ansible/bin/pip install --force-reinstall setuptools==23.0.0 && \ + $(VENV_BASE)/ansible/bin/pip install --force-reinstall pip==8.1.2; \ fi; \ fi @@ -276,8 +276,8 @@ virtualenv_tower: fi; \ if [ ! -d "$(VENV_BASE)/tower" ]; then \ virtualenv --system-site-packages --setuptools $(VENV_BASE)/tower && \ - $(VENV_BASE)/tower/bin/pip install -I setuptools==23.0.0 && \ - $(VENV_BASE)/tower/bin/pip install -I pip==8.1.2; \ + $(VENV_BASE)/tower/bin/pip install --force-reinstall setuptools==23.0.0 && \ + $(VENV_BASE)/tower/bin/pip install --force-reinstall pip==8.1.2; \ fi; \ fi