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: I89104a009ad9434e49c77afd32080b79412c467d
This commit is contained in:
zhoulinhui 2020-10-06 21:09:33 +08:00
parent daf530a13d
commit 61ef41ebf1
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ commands =
coverage report
[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
commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
[flake8]