always use constraints
Running test jobs without constraints is mostly a recipe for tears, as it will allow for conflicting requirements which are no fun to debug. Remove any conditionality here. Change-Id: I51c916fa0a27b21b3342297f2a0e8563d1d5364c
This commit is contained in:
parent
9bf633f002
commit
aa09554f99
|
@ -35,12 +35,7 @@ set -o xtrace
|
|||
echo_summary "magnum's post_test_hook.sh was called..."
|
||||
(set -o posix; set)
|
||||
|
||||
if [[ "$USE_CONSTRAINTS" == "True" ]]; then
|
||||
constraints="-c $REQUIREMENTS_DIR/upper-constraints.txt"
|
||||
else
|
||||
constraints=""
|
||||
fi
|
||||
# XXX(lifeless) This should probably use setup_dev or some such.
|
||||
constraints="-c $REQUIREMENTS_DIR/upper-constraints.txt"
|
||||
sudo pip install $constraints -U -r requirements.txt -r test-requirements.txt
|
||||
|
||||
export MAGNUM_DIR="$BASE/new/magnum"
|
||||
|
|
Loading…
Reference in New Issue