summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-01-11 15:50:54 -0500
committerMatt Riedemann <mriedem.os@gmail.com>2018-01-11 15:50:54 -0500
commitb91ca62aea71c43f0a2ecdce3a3a3c9abd2539e0 (patch)
tree05235bab8f93fe24f6c76b2edb56863f863da686 /tox.ini
parent92405514f0534a169f1845c24ad7935086c7cfa4 (diff)
downloadpython-novaclient-b91ca62aea71c43f0a2ecdce3a3a3c9abd2539e0.tar.gz
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 <slug> This fixes it by adding the doc/requirements into the venv tox environment. Change-Id: I243d4d5148964511a83855d2b1b451aa1543b98b
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ba4a4c14..6dbff636 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]