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
Octavia dashboard.

[1] http://lists.openstack.org/pipermail/openstack-discuss/ \
    2019-May/006478.html

Change-Id: I8ef8f740b356344213b24f68d911fae50964d3e3
This commit is contained in:
Michael Johnson 2019-06-28 15:58:19 -07:00 committed by Adam Harwell
parent 8767e12772
commit 51d1915049
1 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ setenv =
NOSE_OPENSTACK_SHOW_ELAPSED=1
CLIENT_NAME=octavia-dashboard
DJANGO_SETTINGS_MODULE=octavia_dashboard.tests.settings
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
http://tarballs.openstack.org/horizon/horizon-stable-queens.tar.gz#egg=horizon
@ -35,7 +35,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/queens}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
http://tarballs.openstack.org/horizon/horizon-stable-queens.tar.gz#egg=horizon
@ -47,7 +47,7 @@ commands =
[testenv:releasenotes]
whitelist_externals = rm
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens}
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
http://tarballs.openstack.org/horizon/horizon-stable-queens.tar.gz#egg=horizon