plyse icon indicating copy to clipboard operation
plyse copied to clipboard

Allow pyparsing>3.0 and minor cleanup

Open bsilvereagle opened this issue 1 year ago • 1 comments

Allow pyparsing>3.0 (backwards compatible)

Using tip of tree plyse with pyparsing >=3.0 causes errors due to operatorPrecedence being renamed to infixNotation and ParsingElement.name to ParsingElement.customName.

Test fixes

grammar_from_config_test.py used a local import that was not resolving.

setup.py cleanup

python_requires in setup.py is not respected

Pinned pyparsing to be less than today's version, 3.1.1.


Tests

All tests passing in plyse/plyse/tests with Python 3.11.2 and pyparsing '2.4.7' and '3.1.1'

bsilvereagle avatar Sep 13 '23 00:09 bsilvereagle

any chance we can get this merged? Thanks for the effort, @bsilvereagle

kaktus42 avatar Oct 04 '23 14:10 kaktus42