summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Belu <cbelu@cloudbasesolutions.com>2016-09-27 06:46:32 -0700
committerOndřej Nový <ondrej.novy@firma.seznam.cz>2016-12-29 01:32:25 +0100
commit0a65040fcfd14641b40a2f3f9e0430bc7958ae47 (patch)
treea91e2c0ba6770e21c3b20867aea828028ebcda75
parent6c3eb34a121e832e051d17893c65b2e4ecb3a3fd (diff)
downloadpython-swiftclient-stable/newton.tar.gz
Installs futures only for python 2.7 and 2.6newton-eolstable/newton
The futures library is native to python 3 and it doesn't have to be installed from pypi. If the futures library is installed, it can cause issues when used. Changes the futures' library requirement to match the one in global requirements. [1] [1] https://github.com/openstack/requirements/blob/master/global-requirements.txt Change-Id: I8f13d63a303b71f7bdd8c3e67c15d0a0df5ea7a9 Closes-Bug: #1628107 (cherry picked from commit b3921b2)
-rw-r--r--requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index 88b3df2..6d31e09 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,3 @@
-futures>=2.1.3
+futures>=3.0;python_version=='2.7' or python_version=='2.6' # BSD
requests>=1.1
six>=1.5.2