Reuse the docs deps to benefit from constraints

Tox trying to install latest versions for building releasenotes,
which may not be supported by stable and lower branches,
so should be restricted by respective version's upper-constraints.txt
This ps to reuse upper-constraints.txt from docs deps

Change-Id: I7c7c2bd998d1a457ae1d19f42993e05370aa4e78
This commit is contained in:
wu.shiming 2020-10-12 15:42:21 +08:00
parent 38189e1670
commit 184dbcc4a3
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ deps = -r{toxinidir}/requirements.txt
commands = pylint blazar
[testenv:releasenotes]
deps = {[testenv:docs]deps}
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
[testenv:api-ref]