Reuse the docs deps to benefit from constraints
Tox trying to install latest versions for building releasenotes, doc which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: I286c0e8d657e78b7c7ddf2a1c2dcab6197cb853e
This commit is contained in:
parent
edcd88782b
commit
9b5a3934d1
2
tox.ini
2
tox.ini
|
@ -31,6 +31,7 @@ commands = {toxinidir}/tools/cover.sh {posargs}
|
|||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf doc/build
|
||||
|
@ -62,6 +63,7 @@ whitelist_externals = bash
|
|||
|
||||
[testenv:releasenotes]
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf releasenotes/build
|
||||
|
|
Loading…
Reference in New Issue