Also cap pip in tempest tox venv

I am still unable to stack because of pip 20.3, but this time
because of the tempest venv build. This forces it to the same
capped pip, which further works around the problem.

Change-Id: Icfaaefe1aa576733764b393cba96d276c9b1cf68
Related-Bug: #1906367
This commit is contained in:
Dan Smith 2021-01-13 12:28:18 -08:00
parent e2f574fb90
commit bcd0acf6c0

View File

@ -703,6 +703,9 @@ function install_tempest {
git checkout $TEMPEST_BRANCH git checkout $TEMPEST_BRANCH
tox -r --notest -efull tox -r --notest -efull
# TODO: remove the trailing pip constraint when a proper fix
# arrives for bug https://bugs.launchpad.net/devstack/+bug/1906322
$TEMPEST_DIR/.tox/tempest/bin/pip install -U -r $RC_DIR/tools/cap-pip.txt
# NOTE(mtreinish) Respect constraints in the tempest full venv, things that # NOTE(mtreinish) Respect constraints in the tempest full venv, things that
# are using a tox job other than full will not be respecting constraints but # are using a tox job other than full will not be respecting constraints but
# running pip install -U on tempest requirements # running pip install -U on tempest requirements