Browse Source

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
tags/1.0.2^0
Michael Johnson 2 months ago
parent
commit
51d1915049
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      tox.ini

+ 3
- 3
tox.ini View File

@@ -15,7 +15,7 @@ setenv =
15 15
    NOSE_OPENSTACK_SHOW_ELAPSED=1
16 16
    CLIENT_NAME=octavia-dashboard
17 17
    DJANGO_SETTINGS_MODULE=octavia_dashboard.tests.settings
18
-deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
18
+deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
19 19
        -r{toxinidir}/requirements.txt
20 20
        -r{toxinidir}/test-requirements.txt
21 21
        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}'
35 35
 [testenv:docs]
36 36
 whitelist_externals = rm
37 37
 deps =
38
-    -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens}
38
+    -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
39 39
     -r{toxinidir}/requirements.txt
40 40
     -r{toxinidir}/doc/requirements.txt
41 41
     http://tarballs.openstack.org/horizon/horizon-stable-queens.tar.gz#egg=horizon
@@ -47,7 +47,7 @@ commands =
47 47
 [testenv:releasenotes]
48 48
 whitelist_externals = rm
49 49
 deps =
50
-    -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens}
50
+    -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
51 51
     -r{toxinidir}/requirements.txt
52 52
     -r{toxinidir}/doc/requirements.txt
53 53
     http://tarballs.openstack.org/horizon/horizon-stable-queens.tar.gz#egg=horizon

Loading…
Cancel
Save