From 2eaadf36614e675af219ccee823ef7130ba871e7 Mon Sep 17 00:00:00 2001 From: 98k <18552437190@163.com> Date: Wed, 9 Jan 2019 18:10:26 +0000 Subject: [PATCH] Add doc/requirements.txt to docs tox environment Without these dependencies, the docs build does not actually work. Change-Id: Iacb3707016077649a48f7640f1ff73b5a2ea1a28 (cherry picked from commit e4bf12d7c59f46d72742c0e620ce28a9797e4b5f) --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 32a72b6..33ca01f 100644 --- a/tox.ini +++ b/tox.ini @@ -22,6 +22,10 @@ commands = doc8 README.rst CONTRIBUTING.rst doc/source [testenv:docs] +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt commands = python setup.py build_sphinx [flake8]