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
neutron-lbaas.

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

Change-Id: I93fcddf2d32b93cc108f273b4519a9b859d14523
changes/68/668268/2
Michael Johnson 2 months ago
parent
commit
ed18266510
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      tox.ini

+ 3
- 3
tox.ini View File

@@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
12 12
          OS_LOG_DEFAULTS={env:OS_LOG_DEFAULTS:""}
13 13
 usedevelop = True
14 14
 install_command = pip install {opts} {packages}
15
-deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
15
+deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/rocky}
16 16
        -r{toxinidir}/requirements.txt
17 17
        -r{toxinidir}/test-requirements.txt
18 18
 commands =
@@ -22,7 +22,7 @@ commands =
22 22
 [testenv:releasenotes]
23 23
 basepython = python3
24 24
 deps =
25
-  -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
25
+  -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/rocky}
26 26
   -r{toxinidir}/requirements.txt
27 27
   -r{toxinidir}/doc/requirements.txt
28 28
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
@@ -53,7 +53,7 @@ commands = {posargs}
53 53
 [testenv:docs]
54 54
 basepython = python3
55 55
 deps =
56
-  -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/rocky}
56
+  -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/rocky}
57 57
   -r{toxinidir}/requirements.txt
58 58
   -r{toxinidir}/doc/requirements.txt
59 59
 commands = sphinx-build -b html doc/source doc/build/html

Loading…
Cancel
Save