summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Shephard <bshephar@redhat.com>2021-11-15 14:36:29 +1000
committerBrendan Shephard <bshephar@redhat.com>2021-11-20 10:04:42 +1000
commit290d5c3bf16ff452ab7cc9345fb099e7479695aa (patch)
tree078fab7742ff09bbfbd110ed33867b704d037aca
parent7e333cdc72038bc984715e916b0e393a2bf6e86d (diff)
downloadheat-290d5c3bf16ff452ab7cc9345fb099e7479695aa.tar.gz
Provide install_command to pip install with upper-constraints
SQLAlchemy latest (1.4.27) installed with docs job breaks it. Change-Id: Ida63e1d865dc0b2ac6a13594455962f53068c931 (cherry picked from commit 7f15b14d800654474ccab26af40384ab4515a657)
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index cc987ddee..04e6eb31b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,6 +9,7 @@ basepython = python3
setenv = VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
OS_TEST_PATH=heat/tests
+install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ussuri} {opts} {packages}
usedevelop = True
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ussuri}
-r{toxinidir}/requirements.txt