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: I5ed38a032fe4ac02a03791baf6ff7275688b8b68
This commit is contained in:
parent
3208f7fbca
commit
38aba340a8
4
tox.ini
4
tox.ini
|
@ -43,7 +43,9 @@ commands =
|
|||
coverage report --fail-under=95 --skip-covered
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
whitelist_externals = rm
|
||||
commands =
|
||||
rm -rf doc/build doc/source/reference/modules
|
||||
|
|
Loading…
Reference in New Issue