From cbe9be5e7625d374fc6cfbb63b7e3ef5335bf330 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Mon, 15 Nov 2021 14:36:29 +1000 Subject: [PATCH] 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) --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 7137f70db4..034ab2d4a4 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/victoria} {opts} {packages} usedevelop = True deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/victoria} -r{toxinidir}/requirements.txt