Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ca9060

Browse files
committed
Make pyparsing version requirements future-proof
1 parent 68ee05e commit 5ca9060

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setupext.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,8 @@ def get_install_requires(self):
939939
if sys.version_info[0] >= 3:
940940
return ['pyparsing>=2.0.0']
941941
else:
942-
return ['pyparsing>=1.5.6,<=1.5.7']
942+
# pyparsing >= 2.0.0 is not compatible with Python 2
943+
return ['pyparsing>=1.5.6,<2.0.0']
943944

944945

945946
class BackendAgg(OptionalBackendPackage):

0 commit comments

Comments
 (0)