[install] Use constraints in install script

The constrants file is a file with a list of tested versions of rally
dependencies.

We added this file in Rally 0.11.0~dev and need to use it everywhere to
ensure that everything works as expected.

Change-Id: Ifd5003a91f0a3e4f998b6f4f2ab01aa4a8626be6
This commit is contained in:
Andrey Kurilin 2018-01-14 13:13:37 +02:00
parent 13e270870f
commit f7ed207757

View File

@ -746,9 +746,9 @@ install_required_sw "$(which_missing_packages)"
pip uninstall -y rally || true
# Install rally
if [ "$DEVELOPMENT_MODE" = "true" ]; then
pip install -e .
pip install --constraint ./upper-constraints.txt --editable .
else
pip install .
pip install --constraint ./upper-constraints.txt .
fi
cd "$ORIG_WD"