File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ requirements: virtualenv .clone_st2_repo .install-runners
283283 @echo
284284 @echo " ==================== requirements ===================="
285285 @echo
286- . $(VIRTUALENV_DIR ) /bin/activate && $(VIRTUALENV_DIR ) /bin/pip install --upgrade " pip>=9.0,<9.1 "
286+ . $(VIRTUALENV_DIR ) /bin/activate && $(VIRTUALENV_DIR ) /bin/pip install --upgrade " pip==20.0.2 "
287287 . $(VIRTUALENV_DIR ) /bin/activate && $(VIRTUALENV_DIR ) /bin/pip install --cache-dir $(HOME ) /.pip-cache -q -r $(CI_DIR ) /.circle/requirements-dev.txt
288288 . $(VIRTUALENV_DIR ) /bin/activate && $(VIRTUALENV_DIR ) /bin/pip install --cache-dir $(HOME ) /.pip-cache -q -r $(CI_DIR ) /.circle/requirements-pack-tests.txt
289289
@@ -292,7 +292,7 @@ requirements-ci:
292292 @echo
293293 @echo " ==================== requirements-ci ===================="
294294 @echo
295- . $(VIRTUALENV_DIR ) /bin/activate && $(VIRTUALENV_DIR ) /bin/pip install --upgrade " pip>=9.0,<9.1 "
295+ . $(VIRTUALENV_DIR ) /bin/activate && $(VIRTUALENV_DIR ) /bin/pip install --upgrade " pip==20.0.2 "
296296 . $(VIRTUALENV_DIR ) /bin/activate && $(VIRTUALENV_DIR ) /bin/pip install --cache-dir $(HOME ) /.pip-cache -q -r $(CI_DIR ) /.circle/requirements-dev.txt
297297 . $(VIRTUALENV_DIR ) /bin/activate && $(VIRTUALENV_DIR ) /bin/pip install --cache-dir $(HOME ) /.pip-cache -q -r $(CI_DIR ) /.circle/requirements-pack-tests.txt
298298
Original file line number Diff line number Diff line change @@ -38,9 +38,12 @@ sudo apt-get -y install libldap2-dev libsasl2-dev
3838# Hit github's API to keep the PAT active (without failing if it's not)
3939(GH_TOKEN=${MACHINE_PASSWORD} gh repo view | head -n2) || true
4040
41- sudo pip install -U " pip>=9.0,<9.1" setuptools virtualenv
41+ # This should track the pinned version of pip in st2's Makefile
42+ # Please sync this version with .circle/Makefile and .circleci/config.yml
43+ PIP_VERSION=" 20.0.2"
4244
43- virtualenv ~ /virtualenv
45+ sudo pip install -U " pip==${PIP_VERSION} " setuptools virtualenv
46+ virtualenv --pip " ${PIP_VERSION} " ~ /virtualenv
4447source ~ /virtualenv/bin/activate
4548
4649# Install StackStorm requirements
Original file line number Diff line number Diff line change 2121 name : Download and Install Dependencies
2222 command : |
2323 git clone --depth 1 --single-branch --branch "${LINT_CONFIGS_BRANCH:-master}" https://github.com/StackStorm/lint-configs.git ~/ci/lint-configs
24- sudo pip install -U "pip>=9.0,<9.1 " setuptools virtualenv pyyaml
24+ sudo pip install -U "pip==20.0.2 " setuptools virtualenv pyyaml
2525 virtualenv ~/virtualenv
2626 ~/virtualenv/bin/pip install flake8 pylint pyyaml requests
2727 - save_cache :
You can’t perform that action at this time.
0 commit comments