commit e2d17ea73d5b938d09c99e79e7c272d02694ed2c Author: Mark Goddard Date: Thu Oct 8 15:39:03 2020 +0100 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 (cherry picked from commit b6624b2dbee6134be8e1db18b49cfd0228429021) diff --git a/scripts/install-deps.sh b/scripts/install-deps.sh index d6f4a12..844a4b8 100755 --- a/scripts/install-deps.sh +++ b/scripts/install-deps.sh @@ -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/victoria} echo "Completed installation of basic dependencies."