From 1ad0b84e4a696c6791d5c96205a215a68e3e3f95 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Fri, 7 Dec 2018 14:10:31 +1300 Subject: [PATCH] Use upper-constraints in tox tests Change-Id: Ib2ef3b3d0d0733842abad97898114c3dbdab3b7a --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 6576b41..3c8803b 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ skipsdist = True [testenv] whitelist_externals = bash setenv = VIRTUAL_ENV={envdir} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'