From 524c4aa259c72eef03879f95610a45c4e7c91334 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Fri, 28 Jun 2019 16:30:10 -0700 Subject: [PATCH] Update tox.ini for new upper constraints strategy The requirements team has defined a new strategy for handling upper constraints[1]. This patch applies those strategies to neutron-lbaas-dashboard. [1] http://lists.openstack.org/pipermail/openstack-discuss/ \ 2019-May/006478.html Change-Id: Ie7aa9f2806b7f6d1fdc60fb94a515b99bd7fcc76 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 49d6474..3a11e99 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ setenv = NOSE_OPENSTACK_SHOW_ELAPSED=1 CLIENT_NAME=neutron-lbaas-dashboard DJANGO_SETTINGS_MODULE=neutron_lbaas_dashboard.tests.settings -deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky} +deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/rocky} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt whitelist_externals = npm @@ -44,7 +44,7 @@ commands = python setup.py test --coverage --testr-args='{posargs}' [testenv:docs] whitelist_externals = rm deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky} + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/rocky} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands =