From e3095530419e91256d98c721dbd97fa6cbdfa1b4 Mon Sep 17 00:00:00 2001 From: 98k <18552437190@163.com> Date: Wed, 9 Jan 2019 17:22:33 +0000 Subject: [PATCH] Add doc/requirements.txt to docs tox environment Without these dependencies, the releasenotes build does not actually work. Change-Id: I7282b8e121803d5417710947fa9e9b881c2e459f --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 23bbb59..df22315 100644 --- a/tox.ini +++ b/tox.ini @@ -23,6 +23,9 @@ commands = flake8 [testenv:docs] basepython = python3 envdir = {toxworkdir}/venv +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/doc/requirements.txt commands = python setup.py build_sphinx [flake8]