From b91ca62aea71c43f0a2ecdce3a3a3c9abd2539e0 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Thu, 11 Jan 2018 15:50:54 -0500 Subject: [PATCH] Fix being able to create a reno using tox -e venv Iace251446bafbd8963bc5a073de50ade583f6e46 moved the reno dependency to a new requirements file which broke the ability to create a release note using: tox -e venv -- reno new This fixes it by adding the doc/requirements into the venv tox environment. Change-Id: I243d4d5148964511a83855d2b1b451aa1543b98b --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index ba4a4c141..6dbff636a 100644 --- a/tox.ini +++ b/tox.ini @@ -29,6 +29,11 @@ commands = flake8 {posargs} commands = bandit -r novaclient -n5 -x tests [testenv:venv] +deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt commands = {posargs} [testenv:docs]