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

Skip to content

Commit 9ed4cbc

Browse files
committed
Merge pull request #5346 from jenshnielsen/nopyparsing204
Make sure that pyparsing 2.0.4 is not installed.
2 parents 05015cc + 03cdd9e commit 9ed4cbc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ install:
6262
pip install --upgrade setuptools
6363
# Install only from travis wheelhouse
6464
- if [ -z "$PRE" ]; then
65-
wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing pillow sphinx!=1.3.0 $MOCK;
65+
wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing!=2.0.4 pillow sphinx!=1.3.0 $MOCK;
6666
else
67-
pip install $PRE python-dateutil $NUMPY pyparsing pillow sphinx!=1.3.0;
67+
pip install $PRE python-dateutil $NUMPY pyparsing!=2.0.4 pillow sphinx!=1.3.0;
6868
fi
6969
# Always install from pypi
7070
- pip install $PRE pep8 cycler

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)