Skip to content

Commit d0614a7

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "tox: Use new constraints option"
2 parents de61cb0 + 76f047a commit d0614a7

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎tox.ini‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
[tox]
2-
minversion = 4.2.5
2+
minversion = 4.28.0
33
envlist = py3,pep8
44

55
[testenv]
66
usedevelop = True
77
passenv =
88
PROMETHEUS_*
99
OBSERVABILITY_*
10+
constraints =
11+
{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
1012
deps =
11-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
1213
-r{toxinidir}/requirements.txt
1314
-r{toxinidir}/test-requirements.txt
1415
commands = stestr run --slowest {posargs}
@@ -46,7 +47,6 @@ commands =
4647

4748
[testenv:docs]
4849
deps =
49-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
5050
-r{toxinidir}/requirements.txt
5151
-r{toxinidir}/doc/requirements.txt
5252
commands = sphinx-build --keep-going -b html doc/source doc/build/html
@@ -74,6 +74,5 @@ application-import-names = observabilityclient
7474

7575
[testenv:releasenotes]
7676
deps =
77-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
7877
-r{toxinidir}/doc/requirements.txt
7978
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html

0 commit comments

Comments
 (0)