commit 9d1883001dad5380b50bb560cee327ac146177c7 Author: zhoulinhui Date: Tue Oct 6 21:25:33 2020 +0800 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 diff --git a/tox.ini b/tox.ini index 5454e8f..d656579 100644 --- a/tox.ini +++ b/tox.ini @@ -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]