From 6cb5d3c704e10e19a94af5ac61c166d01f9c4d13 Mon Sep 17 00:00:00 2001 From: 98k <18552437190@163.com> Date: Wed, 9 Jan 2019 17:10:35 +0000 Subject: [PATCH] Add upper-constraints.txt to releasenotes tox environment Without these dependencies, the releasenotes build does not actually work. Change-Id: Iabae8a5730d934473a36d9e2bc83a7005c1aca17 --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 3665fa69..c1a11795 100644 --- a/tox.ini +++ b/tox.ini @@ -32,7 +32,9 @@ commands = sphinx-build -W -b html doc/source doc/build/html [testenv:releasenotes] basepython = python3 -deps = -r{toxinidir}/doc/requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:cover]