Skip to content

Commit 5b04a86

Browse files
author
Elod Illes
committed
Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is the new environment variable name that replaces it [1]. [1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Change-Id: Ic0d2dcf20f7929733deb10a275e5d67f9627428f
1 parent 66f5fa1 commit 5b04a86

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ setenv = OS_STDOUT_CAPTURE=1
1414
OS_STDERR_CAPTURE=1
1515
OS_TEST_TIMEOUT=60
1616
deps =
17-
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
17+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
1818
-r{toxinidir}/test-requirements.txt
1919
-r{toxinidir}/requirements.txt
2020
commands = stestr run {posargs}
@@ -88,7 +88,7 @@ commands =
8888

8989
[testenv:venv]
9090
deps =
91-
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
91+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
9292
-r{toxinidir}/requirements.txt
9393
-r{toxinidir}/doc/requirements.txt
9494
commands = {posargs}
@@ -110,7 +110,7 @@ commands =
110110

111111
[testenv:docs]
112112
deps =
113-
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
113+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
114114
-r{toxinidir}/doc/requirements.txt
115115
commands =
116116
sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
@@ -120,7 +120,7 @@ commands =
120120

121121
[testenv:releasenotes]
122122
deps =
123-
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
123+
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
124124
-r{toxinidir}/doc/requirements.txt
125125
commands =
126126
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html

0 commit comments

Comments
 (0)