Dep's should be restricted by tox-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 tox-constraints.txt

Change-Id: I92b67aa48834c00ad175a311744c36542692f292
This commit is contained in:
wu.shiming 2020-11-17 16:21:34 +08:00
parent 42712e1d36
commit aac748ebd2
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ passenv = *_proxy *_PROXY
commands = {posargs}
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
docstheme-build-translated.sh