Skip to content

Commit 9f13030

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "use master upper-constraints when building tempest venv"
2 parents 06fa9df + 34c1679 commit 9f13030

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/tempest

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,10 @@ function configure_tempest {
554554
if [[ "$OFFLINE" != "True" ]]; then
555555
tox -revenv-tempest --notest
556556
fi
557-
tox -evenv-tempest -- pip install -c $REQUIREMENTS_DIR/upper-constraints.txt -r requirements.txt
557+
558+
# The requirements might be on a different branch, while tempest needs master requirements.
559+
git -C $REQUIREMENTS_DIR show master:upper-constraints.txt > u-c-m.txt
560+
tox -evenv-tempest -- pip install -c u-c-m.txt -r requirements.txt
558561

559562
# Auth:
560563
iniset $TEMPEST_CONFIG auth tempest_roles "Member"

0 commit comments

Comments
 (0)