From a3e18a120ba0ac5b3e63952dffc047f40addd22e Mon Sep 17 00:00:00 2001 From: 98k <18552437190@163.com> Date: Wed, 9 Jan 2019 18:20:28 +0000 Subject: [PATCH] Add upper-constraints.txt to releasenotes tox environment Without these dependencies, the releasenotes build does not actually work. Change-Id: Iebb060857df6ec0b582e7635844e8505e09f9a4f --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5ce16e9..971c008 100644 --- a/tox.ini +++ b/tox.ini @@ -58,5 +58,7 @@ import_exceptions = cloudkittyclient.i18n [testenv:releasenotes] basepython = python3 -deps = -r{toxinidir}/doc/requirements.txt +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} + -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html