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

Depends-On: I89104a009ad9434e49c77afd32080b79412c467d
Change-Id: I5859198c90f63dd5c5d155c2a04130118960ce84
This commit is contained in:
zhoulinhui 2020-10-06 21:25:33 +08:00
parent 61ef41ebf1
commit 9d1883001d
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ local-check-factory = neutron_lib.hacking.checks.factory
commands = oslo-config-generator --config-file=etc/kuryr-config-generator.conf
[testenv:releasenotes]
deps = {[testenv:docs]deps}
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:lower-constraints]