diff --git a/pip.sh b/pip.sh new file mode 100755 index 0000000..cdd3588 --- /dev/null +++ b/pip.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +pip install pip==20.2.3 +pip install "$@" diff --git a/tox.ini b/tox.ini index aea173f..890b193 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,7 @@ minversion = 3.2.0 setenv = VIRTUAL_ENV={envdir} PYTHONHASHSEED=0 install_command = - pip install {opts} {packages} + {toxinidir}/pip.sh install {opts} {packages} commands = nosetests --with-coverage --cover-package=zaza.openstack {posargs} {toxinidir}/unit_tests