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
This commit is contained in:
Martin Kopec 2021-10-21 19:10:11 +00:00
parent 1c2f076100
commit f3a704e136

View File

@ -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