Use latest versions of pip, setuptools and pbr when installing
dependencies.
@@ -150,7 +150,6 @@ check: check-requirements flake8 checklogs
# make targets. This speeds up the build
.PHONY: install-runners
install-runners:
-
@echo ""
@echo "================== INSTALL RUNNERS ===================="
@echo ""
@@ -329,7 +328,7 @@ flake8: requirements .flake8
touch $(VIRTUALENV_ST2CLIENT_DIR)/bin/activate
chmod +x $(VIRTUALENV_ST2CLIENT_DIR)/bin/activate
- $(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "pip>=9.0,<9.1"
+ $(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "pip==19.3.1"
# NOTE We need to upgrade setuptools to avoid bug with dependency resolving in old versions
$(VIRTUALENV_ST2CLIENT_DIR)/bin/pip install --upgrade "setuptools==41.0.1"
$(VIRTUALENV_ST2CLIENT_DIR)/bin/activate; cd st2client ; ../$(VIRTUALENV_ST2CLIENT_DIR)/bin/python setup.py install ; cd ..
@@ -440,8 +439,9 @@ requirements: virtualenv .sdist-requirements install-runners
@echo
# Make sure we use latest version of pip which is 19
$(VIRTUALENV_DIR)/bin/pip --version
- $(VIRTUALENV_DIR)/bin/pip install --upgrade "pip>=19.0,<20.0"
- $(VIRTUALENV_DIR)/bin/pip install --upgrade "virtualenv==16.6.0" # Required for packs.install in dev envs
+ $(VIRTUALENV_DIR)/bin/pip install --upgrade "pip==19.3.1"
+ $(VIRTUALENV_DIR)/bin/pip install --upgrade "setuptools==41.0.1" # Required for packs.install in dev envs
+ $(VIRTUALENV_DIR)/bin/pip install --upgrade "pbr==5.4.0" # workaround for pbr issue
# Generate all requirements to support current CI pipeline.
$(VIRTUALENV_DIR)/bin/python scripts/fixate-requirements.py --skip=virtualenv,virtualenv-osx -s st2*/in-requirements.txt contrib/runners/*/in-requirements.txt -f fixed-requirements.txt -o requirements.txt
