Use upper constraints when installing Bifrost requirements

Currently the install-deps.sh script installs Bifrost's Python
requirements without upper constraints. This can result in requirements
drifting over time, with issues arising in older branches.

This change fixes the issue by using an upper constraints to install
Bifrost's requirements.

Change-Id: Icf66d0faf77837b9b48df344578823e46017b1df
This commit is contained in:
Mark Goddard 2020-10-08 15:39:03 +01:00
parent 9d905e6b2b
commit b6624b2dbe

View File

@ -145,6 +145,6 @@ echo "Using Bindep to install binary dependencies"
bindep -b &> /dev/null || ${INSTALLER_CMD} $(bindep -b)
echo "Installing Python requirements"
${PIP} install -r "$(dirname $0)/../requirements.txt"
${PIP} install -r "$(dirname $0)/../requirements.txt" -c ${UPPER_CONSTRAINTS_FILE:-https://releases.openstack.org/constraints/upper/master}
echo "Completed installation of basic dependencies."