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

Skip to content

Commit 03cdd9e

Browse files
committed
Make sure that setupext does not install pyparsing 2.0.4
1 parent e99f6c2 commit 03cdd9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setupext.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ def check(self):
12611261

12621262
class Pyparsing(SetupPackage):
12631263
name = "pyparsing"
1264-
1264+
# pyparsing 2.0.4 has broken python 3 support.
12651265
def is_ok(self):
12661266
# pyparsing 2.0.0 bug, but it may be patched in distributions
12671267
try:
@@ -1297,9 +1297,9 @@ def check(self):
12971297

12981298
def get_install_requires(self):
12991299
if self.is_ok():
1300-
return ['pyparsing>=1.5.6']
1300+
return ['pyparsing>=1.5.6,!=2.0.4']
13011301
else:
1302-
return ['pyparsing>=1.5.6,!=2.0.0']
1302+
return ['pyparsing>=1.5.6,!=2.0.0,!=2.0.4']
13031303

13041304

13051305
class BackendAgg(OptionalBackendPackage):

0 commit comments

Comments
 (0)