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

Skip to content

Commit 3c5d20d

Browse files
committed
Merge pull request #5346 from jenshnielsen/nopyparsing204
Make sure that pyparsing 2.0.4 is not installed.
1 parent 60ec100 commit 3c5d20d

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
@@ -64,9 +64,9 @@ install:
6464
pip install --upgrade setuptools
6565
# Install only from travis wheelhouse
6666
- if [ -z "$PRE" ]; then
67-
wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing pillow sphinx!=1.3.0;
67+
wheelhouse_pip_install python-dateutil $NUMPY $PANDAS pyparsing!=2.0.4 pillow sphinx!=1.3.0;
6868
else
69-
pip install $PRE python-dateutil $NUMPY pyparsing pillow sphinx!=1.3.0;
69+
pip install $PRE python-dateutil $NUMPY pyparsing!=2.0.4 pillow sphinx!=1.3.0;
7070
fi
7171
# Always install from pypi
7272
- pip install $PRE pep8 cycler

setupext.py

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

12391239
class Pyparsing(SetupPackage):
12401240
name = "pyparsing"
1241-
1241+
# pyparsing 2.0.4 has broken python 3 support.
12421242
def is_ok(self):
12431243
# pyparsing 2.0.0 bug, but it may be patched in distributions
12441244
try:
@@ -1274,9 +1274,9 @@ def check(self):
12741274

12751275
def get_install_requires(self):
12761276
if self.is_ok():
1277-
return ['pyparsing>=1.5.6']
1277+
return ['pyparsing>=1.5.6,!=2.0.4']
12781278
else:
1279-
return ['pyparsing>=1.5.6,!=2.0.0']
1279+
return ['pyparsing>=1.5.6,!=2.0.0,!=2.0.4']
12801280

12811281

12821282
class BackendAgg(OptionalBackendPackage):

0 commit comments

Comments
 (0)