From 38f5ef60740e474d1bbe24f0ffffb46f4052ebac Mon Sep 17 00:00:00 2001 From: niuke Date: Tue, 26 Jul 2022 11:06:43 +0800 Subject: [PATCH] Use TOX_CONSTRAINTS_FILE UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=. Change-Id: I8614a6a6d4db1c4994c7dea1fe4f4cb31bdfe25e --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 590c079283..13aaf5f1c0 100644 --- a/tox.ini +++ b/tox.ini @@ -77,7 +77,7 @@ commands = bindep test usedevelop = False [testenv:docs] -deps = -c{env:UPPER_CONSTRAINTS_FILE:{toxinidir}/upper-constraints.txt} +deps = -c{env:TOX_CONSTRAINTS_FILE:{toxinidir}/upper-constraints.txt} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -W -b html doc/source doc/build/html