Dep's should be restricted by upper-constraints
Tox trying to install latest versions for building docs which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: I8c715b7e0c964fcf0bc506e1ae546a05e18166b8
This commit is contained in:
parent
75bb786669
commit
1747780644
4
tox.ini
4
tox.ini
|
@ -43,7 +43,9 @@ commands =
|
|||
[testenv:docs]
|
||||
whitelist_externals =
|
||||
rm
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
rm -rf doc/build
|
||||
sphinx-build --keep-going -b html -d doc/build/doctrees doc/source doc/build/html
|
||||
|
|
Loading…
Reference in New Issue