File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,16 +39,13 @@ sudo apt-get -y install libldap2-dev libsasl2-dev
3939(GH_TOKEN=${MACHINE_PASSWORD} gh repo view | head -n2) || true
4040
4141# This should track the pinned version of pip in st2's Makefile
42- PIP_DEP= " pip==20.0.2 "
43- sudo pip install -U " ${PIP_DEP} " setuptools virtualenv
42+ # Also, make sure virtualenv is built with same pip version below.
43+ PIP_VERSION= " 20.0.2 "
4444
45- virtualenv ~ /virtualenv
45+ sudo pip install -U " pip==${PIP_VERSION} " setuptools virtualenv
46+ virtualenv --pip " ${PIP_VERSION} " ~ /virtualenv
4647source ~ /virtualenv/bin/activate
4748
48- # virtualenv is updating pip. Revert back to our pinned version.
49- pip install -U " ${PIP_DEP} "
50- pip --version
51-
5249# Install StackStorm requirements
5350echo " Installing StackStorm requirements from /tmp/st2/requirements.txt"
5451~ /virtualenv/bin/pip install -r " /tmp/st2/requirements.txt"
You can’t perform that action at this time.
0 commit comments