diff --git a/requirements.txt b/requirements.txt index a187d5ac1..ef2a2b646 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ nose-cov==1.6 chai==1.1.1 sphinx==1.3.5 simplejson==3.6.5 -backports.functools_lru_cache==1.2.1 +backports.functools_lru_cache>=1.2.1,<1.4 diff --git a/setup.py b/setup.py index 933e122ad..df66ab6ba 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def grep(attrname): 'python-dateutil', ], extras_require={ - ":python_version=='2.7'": ['backports.functools_lru_cache>=1.2.1'], + ":python_version<='2.7'": ['backports.functools_lru_cache>=1.2.1,<1.4'], }, test_suite="tests", classifiers=[