From 13f0001dde909d0dc1d981a412bdc7818c8f4ff7 Mon Sep 17 00:00:00 2001 From: sylvain tricot Date: Thu, 23 Sep 2021 16:53:02 +0200 Subject: [PATCH] Change how pip is installed in Makefile Previously, the ensurepip method was used but it is not working as expected in some Python distributions were it is not included. Falling back to the bootstraping get-pip.py is safer. --- Makefile | 2 +- utils/dockerized/linux/msspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9e5e7e6..aa8a068 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ pybinding: venv: ifeq ($(NO_VENV),0) @virtualenv --python=$(PYTHON_EXE) --prompt="(msspec-$(VERSION)) " $(VENV_PATH) - @$(INSIDE_VENV) python -m ensurepip --upgrade --default-pip && pip install -r src/pip.freeze + $(INSIDE_VENV) wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py && pip install -r src/pip.freeze && rm -f get-pip.py endif diff --git a/utils/dockerized/linux/msspec b/utils/dockerized/linux/msspec index bada033..5f5aa69 100644 --- a/utils/dockerized/linux/msspec +++ b/utils/dockerized/linux/msspec @@ -16,7 +16,7 @@ # along with this msspec. If not, see . # # Source file : utils/dockerized/linux/msspec -# Last modified: Wed, 22 Sep 2021 14:29:59 +0200 +# Last modified: Thu, 23 Sep 2021 16:53:02 +0200 # Committed by : sylvain tricot THIS_SCRIPT="$0"