Limit where dnspython3 is installed
tempest is still testing tools that have python2 environments, and due to
the branchless setup, we need to make sure dnspython3 is not installed on
python2.7
Change-Id: I8e42ddd73c4c4f4a2d5cc348b75ddf342c7d04f2
Signed-off-by: Graham Hayes <gr@ham.ie>
diff --git a/requirements.txt b/requirements.txt
index 8d0dc5f..2af96d6 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,7 +2,8 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-dnspython3!=1.13.0,!=1.14.0,>=1.12.0 # http://www.dnspython.org/LICENSE
+dnspython>=1.14.0;python_version=='2.7' # http://www.dnspython.org/LICENSE
+dnspython3!=1.13.0,!=1.14.0,>=1.12.0;python_version>='3.0' # http://www.dnspython.org/LICENSE
ddt>=1.0.1 # MIT
testtools>=2.2.0 # MIT
tempest>=17.1.0 # Apache-2.0