Replace the old UPPER_CONSTRAINTS_FILE env
... by the new TOX_CONSTRAINTS_FILE env, according to the changes made in the OpenStack projects. This also adds the constraints to the doc target, to avoid issues caused by too new versions being pulled. Change-Id: I3e99c1c24032cc3f4bc85ab07c28f830122beed4
This commit is contained in:
parent
2ebfe19a88
commit
36ec0010f6
3
tox.ini
3
tox.ini
@ -7,7 +7,7 @@ skipsdist = True
|
|||||||
usedevelop = True
|
usedevelop = True
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
commands = stestr run --slowest {posargs}
|
commands = stestr run --slowest {posargs}
|
||||||
@ -31,6 +31,7 @@ commands = {posargs}
|
|||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps =
|
deps =
|
||||||
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
-egit+https://github.com/openstack/cloudbase-init\#egg=cloudbase-init
|
-egit+https://github.com/openstack/cloudbase-init\#egg=cloudbase-init
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user