From aac748ebd2339dd2ab050ee1fe5f14dcecf52f1b Mon Sep 17 00:00:00 2001 From: "wu.shiming" Date: Tue, 17 Nov 2020 16:21:34 +0800 Subject: [PATCH] Dep's should be restricted by tox-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 tox-constraints.txt Change-Id: I92b67aa48834c00ad175a311744c36542692f292 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 99969b6925..70b5d53437 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,9 @@ passenv = *_proxy *_PROXY commands = {posargs} [testenv:docs] -deps = -r{toxinidir}/doc/requirements.txt +deps = + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build docstheme-build-translated.sh