From 68ee05ed706a51677380c8681ab1fe7e46795449 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Wed, 27 Feb 2013 13:23:32 +0100 Subject: [PATCH 1/2] As of pyparsing 2.0.0, Python 2 is no longer supported, so we need to set an upper limit for the range of versions installable by pip --- setupext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setupext.py b/setupext.py index 151807a0c385..f1e74c6f73f2 100644 --- a/setupext.py +++ b/setupext.py @@ -939,7 +939,7 @@ def get_install_requires(self): if sys.version_info[0] >= 3: return ['pyparsing>=2.0.0'] else: - return ['pyparsing>=1.5.6'] + return ['pyparsing>=1.5.6,<=1.5.7'] class BackendAgg(OptionalBackendPackage): From 5ca9060f94347c93ca9d0b3cb0d9ee7a91a3c4d7 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Wed, 27 Feb 2013 14:12:39 +0100 Subject: [PATCH 2/2] Make pyparsing version requirements future-proof --- setupext.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setupext.py b/setupext.py index f1e74c6f73f2..4ffdfb1ba786 100644 --- a/setupext.py +++ b/setupext.py @@ -939,7 +939,8 @@ def get_install_requires(self): if sys.version_info[0] >= 3: return ['pyparsing>=2.0.0'] else: - return ['pyparsing>=1.5.6,<=1.5.7'] + # pyparsing >= 2.0.0 is not compatible with Python 2 + return ['pyparsing>=1.5.6,<2.0.0'] class BackendAgg(OptionalBackendPackage):