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:
parent
37a1d0cb6f
commit
768ff8b193