From 6c851bdf2f359f2083231bda1ab9f7155d43e086 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Tue, 16 Dec 2014 17:34:21 -0800 Subject: [PATCH] Add eventlet to test-requirements eventlet isn't actually used by hacking, but its a common global import (nova/__init__.py imports it) in OpenStack, so to make the hacking venvs work with local hacks in repos that require eventlet, we just add it here. Since this is a test-requirement it shouldn't have any impact on packaging of hacking. Change-Id: I81098fb4f4debc2654d60ed28a02d64c5bbcedea Closes-Bug: 1403270 --- test-requirements.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test-requirements.txt b/test-requirements.txt index b771d29..8737fab 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,3 +11,10 @@ oslosphinx>=2.2.0 # Apache-2.0 testrepository>=0.0.18 testscenarios>=0.4 testtools>=0.9.36,!=1.2.0 + +# hacking doesn't use this anywhere, but nova imports this in nova/__init__.py +# since eventlet is such a common universal import, add it to the hacking test +# virtualenv, so importing things like 'nova.hacking.checks.factory' will just +# work. +# See https://bugs.launchpad.net/hacking/+bug/1403270 +eventlet>=0.15.2