From bcd0acf6c0b5d6501e91133c3a937b3fc40f7122 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Wed, 13 Jan 2021 12:28:18 -0800 Subject: [PATCH] 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 --- lib/tempest | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tempest b/lib/tempest index 552e1c22a3..8ee986d555 100644 --- a/lib/tempest +++ b/lib/tempest @@ -703,6 +703,9 @@ function install_tempest { git checkout $TEMPEST_BRANCH 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 # are using a tox job other than full will not be respecting constraints but # running pip install -U on tempest requirements