From 542d0e08030e1dd335d49db377df1951eed5b0bf Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Tue, 29 Aug 2023 12:27:02 -0700 Subject: [PATCH] [stable-only] [ci] Make docs job use upper-constraints Without this, the docs build get an incompatible version of oslo.utils and fails reliably. Change-Id: Ia1d93b8f54c75de0a91eb1f7554eb554e6aab4b2 (cherry picked from commit 51121d125525e67deae62490b7002a11ccd5ff4c) --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e25b674db..8e382f13b 100644 --- a/tox.ini +++ b/tox.ini @@ -37,7 +37,10 @@ commands = {posargs} [testenv:docs] whitelist_externals = rm -deps = -r{toxinidir}/doc/requirements.txt +deps = + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/victoria} + -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt commands = rm -fr doc/build sphinx-build -W --keep-going -b html doc/source doc/build/html