-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix for #1792 #1794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for #1792 #1794
Conversation
… set an upper limit for the range of versions installable by pip
@@ -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'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future proofing should this not be 2.0.0
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you mean strictly less than 2.0.0?
@pelson - I fixed the version requirement to make it future proof, on the assumption that the 1.x branch of pyparsing will always remain Python 2 compatible. |
@pelson - it looks like Travis passed, so feel free to merge if you are happy with it. |
Yeah -- I had thought |
Also see the tangentially related #1788 |
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.