From f3a704e136606e58953c2551f52ba6a942495d4d Mon Sep 17 00:00:00 2001 From: Martin Kopec Date: Thu, 21 Oct 2021 19:10:11 +0000 Subject: [PATCH] Use UPPER_CONSTRAINTS_FILE when installing plugins Let's use UPPER_CONSTRAINTS_FILE when installing plugins by setup_env. The UPPER_CONSTRAINTS_FILE is set to https://releases.openstack.org/constraints/upper/master Using a constraint file is safer in general - it will shield us from too recent releases of the dependencies (direct and indirect ones as well). Change-Id: Iea2127f53c0fb242f94e586983d28ce015221bb5 --- setup_env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_env b/setup_env index fa3a55e..1236907 100755 --- a/setup_env +++ b/setup_env @@ -213,4 +213,4 @@ ${TEMPEST_DIR}/.venv/bin/python -m pip install -c ${UPPER_CONSTRAINTS_FILE} ${TE # Note: Since there are no requirements in tempest-additional-requirements.txt by default, # this line is commented out to prevent errors from being returned. Uncomment this line if # there are requirements in tempest-additonal-requirements.txt. -# ${TEMPEST_DIR}/.venv/bin/pip install -r ${WORKDIR}/tempest-additional-requirements.txt +# ${TEMPEST_DIR}/.venv/bin/pip install -c ${UPPER_CONSTRAINTS_FILE} -r ${WORKDIR}/tempest-additional-requirements.txt