From d67a48d12745306bb810f825909ea899bbb7ab87 Mon Sep 17 00:00:00 2001 From: Eric Fried Date: Wed, 22 Jan 2020 13:17:11 -0600 Subject: [PATCH] Use upper constraints Use upper constraints in the main [testenv] and in the docs build. Change-Id: I3d696e7603f7d1aa56ac9546892a5930488e67be --- tox.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 038e022a..0ea15e49 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,9 @@ skipsdist = True [testenv] install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} -deps = -r{toxinidir}/test-requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/test-requirements.txt passenv = GENERATE_GRENADE_PLUGIN_LIST [testenv:venv] @@ -20,7 +22,9 @@ commands = [testenv:docs] basepython = python3 whitelist_externals = bash -deps = -r{toxinidir}/doc/requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/doc/requirements.txt setenv = TOP_DIR={toxinidir} INSTALL_SHOCCO=true