commit cdcaaa6e2fcadc595c8a1354f7d49d8c9dd286c7 Author: zhoulinhui Date: Tue Oct 6 21:27:56 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 This ps to reuse upper-constraints.txt from docs deps Change-Id: I70d53f31dccca644bcea1abf0b1976bc7121ffe9 diff --git a/tox.ini b/tox.ini index d57bf8d..97e7a9e 100644 --- a/tox.ini +++ b/tox.ini @@ -77,7 +77,7 @@ commands = oslo-config-generator --config-file=etc/oslo-config-generator/kuryr.c [testenv:releasenotes] 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 [testenv:lower-constraints]