tox: update pyparsing to 2.1.3

- _trim_arity fix in 2.1.2 was very version-dependent on Py 3.5.0.
  Now works for Python 2.x, 3.3, 3.4, 3.5.0, and 3.5.1 (and hopefully
  beyond).

This fixes pyparsing/flake8-putyt/flake8 being broken with python 3.4:

    >>> import pyparsing
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File ".../pyparsing.py", line 3478, in <module>
        _escapedPunc = Word( _bslash, r"\[]-*.$+^?()~ ", exact=2 ).setParseAction(lambda s,l,t:t[0][1])
      File ".../pyparsing.py", line 948, in setParseAction
        self.parseAction = list(map(_trim_arity, list(fns)))
      File ".../pyparsing.py", line 808, in _trim_arity
        this_line = extract_stack()[-1]
      File ".../pyparsing.py", line 793, in extract_stack
        return [(frame_summary.filename, frame_summary.lineno)]
    AttributeError: 'tuple' object has no attribute 'filename'

See https://sourceforge.net/p/pyparsing/bugs/95/
This commit is contained in:
Florian Bruhin 2016-05-11 08:15:12 +02:00
parent 37a1d0cb6f
commit 768ff8b193

View File

@ -168,7 +168,7 @@ deps =
pep8-naming==0.3.3
pydocstyle==1.0.0
pyflakes==1.2.2
pyparsing==2.1.1 # rq.filter: != 2.1.2
pyparsing==2.1.3
six==1.10.0
sortedcontainers==1.4.4
venusian==1.0