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: I70d53f31dccca644bcea1abf0b1976bc7121ffe9
This commit is contained in:
zhoulinhui 2020-10-06 21:27:56 +08:00
parent 68dd879de7
commit cdcaaa6e2f
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ commands = oslo-config-generator --config-file=etc/oslo-config-generator/kuryr.c
[testenv:releasenotes] [testenv:releasenotes]
basepython = python3 basepython = python3
deps = -r{toxinidir}/doc/requirements.txt deps = {[testenv:docs]deps}
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:lower-constraints] [testenv:lower-constraints]