Skip to content

Commit b9b6d6b

Browse files
committed
Respect constraints on tempest venv consistently
In case of online mode, there is a procedure to recreate tempest venv. For consistency of tempest venv during the entire stack.sh process, add logic to consider the TEMPEST_VENV_UPPER_CONSTRAINTS option here. Closes-bug: #1980483 Signed-off-by: June Yi <june.yi@samsung.com> Change-Id: I0cea282152fd363af8671cab1b5f733ebe2bd4df
1 parent 02f8c16 commit b9b6d6b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/tempest

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -695,13 +695,13 @@ function configure_tempest {
695695
local tmp_cfg_file
696696
tmp_cfg_file=$(mktemp)
697697
cd $TEMPEST_DIR
698-
if [[ "$OFFLINE" != "True" ]]; then
699-
tox -revenv-tempest --notest
700-
fi
701698

702699
local tmp_u_c_m
703700
tmp_u_c_m=$(mktemp -t tempest_u_c_m.XXXXXXXXXX)
704701
set_tempest_venv_constraints $tmp_u_c_m
702+
if [[ "$OFFLINE" != "True" ]]; then
703+
tox -revenv-tempest --notest
704+
fi
705705
tox -evenv-tempest -- pip install -c $tmp_u_c_m -r requirements.txt
706706
rm -f $tmp_u_c_m
707707

0 commit comments

Comments
 (0)