From 6f36b6bc4eb70e0e536ebcc7646329d73a7d3bb7 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 7 Dec 2018 23:42:48 +0100 Subject: [PATCH] Pin pex version --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 34566d80c..2834096b7 100644 --- a/Makefile +++ b/Makefile @@ -5,11 +5,11 @@ dist/spacy.pex : spacy/*.py* spacy/*/*.py* python3.6 -m venv env3.6 source env3.6/bin/activate env3.6/bin/pip install wheel - env3.6/bin/pip install -r requirements.txt --no-cache-dir --no-binary :all: + env3.6/bin/pip install -r requirements.txt --no-cache-dir env3.6/bin/python setup.py build_ext --inplace env3.6/bin/python setup.py sdist env3.6/bin/python setup.py bdist_wheel - env3.6/bin/python -m pip install pex + env3.6/bin/python -m pip install pex==1.5.3 env3.6/bin/pex pytest dist/*.whl -e spacy -o dist/spacy-$(sha).pex cp dist/spacy-$(sha).pex dist/spacy.pex chmod a+rx dist/spacy.pex