From e9671342a659b2284a6441437b2371db4d6a4279 Mon Sep 17 00:00:00 2001 From: zhoulinhui Date: Tue, 6 Oct 2020 22:09:48 +0800 Subject: [PATCH] Dep's should be restricted by upper-constraints Tox trying to install latest versions for building docs which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: Ie0eaeae33065386abb003831feac6ab90cba09bf --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 2ca6055256..adf425a1b1 100644 --- a/tox.ini +++ b/tox.ini @@ -57,7 +57,9 @@ commands = [testenv:docs] whitelist_externals = rm -deps = -r{toxinidir}/doc/requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build sphinx-build -W --keep-going -b html doc/source doc/build/html