From cdcaaa6e2fcadc595c8a1354f7d49d8c9dd286c7 Mon Sep 17 00:00:00 2001 From: zhoulinhui Date: Tue, 6 Oct 2020 21:27:56 +0800 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d57bf8d91..97e7a9ee9 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]