Use stable constraints for Tempest venv for stable/train testing

Without this grenade job in stable/train fails as it uses
master constraints and master is dropping py3.6 support,
like oslo-log already dropped that and is causing issues[2].

Tempest in stable/train is already pinned in devstack[1]
to 26.1.0. So let's use stable constraints for Tempest venv.

[1] https://github.com/openstack/devstack/commit/8a22f738
[2] https://review.opendev.org/c/openstack/neutron/+/841698

Change-Id: I81233ea91cdd24919db245dd8475341d7532daf3
This commit is contained in:
yatinkarel 2022-05-24 19:33:49 +05:30 committed by yatin
parent 28382fcf1e
commit fd322f7961
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ if [[ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]]; then
# instead of using master. We need to export it via env var TOX_CONSTRAINTS_FILE
# so that initial creation of tempest tox use stable branch constraint
# instead of master constraint as defined in tempest/tox.ini
stable_for_u_c="stable/[o-s]"
stable_for_u_c="stable/[o-t]"
if [[ "$ZUUL_BRANCH" =~ $stable_for_u_c ]] ; then
export TOX_CONSTRAINTS_FILE=$BASE/new/requirements/upper-constraints.txt
else