From b95a0c33c91d0740ccd831d53f1f4fc75e89c857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulko?= Date: Tue, 15 Oct 2019 15:29:07 +0200 Subject: [PATCH] Use upper-constraints in docs builds We've just got hit by cffi pypi package upgrade. This is because we're not using upper-constraints in our `docs` tox environment. This commit fixes that by adding it to the env. Change-Id: Ia4719e7f98b2f6632f321b215f4a31015cc1ca69 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 27f96d8af..3186b1984 100644 --- a/tox.ini +++ b/tox.ini @@ -52,7 +52,8 @@ commands = [testenv:docs] basepython = python3 -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 = sphinx-build -W -b html doc/source doc/build/html [flake8]