Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow pyparsing>3.0 and minor cleanup #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bsilvereagle
Copy link

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'

@kaktus42
Copy link

kaktus42 commented Oct 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants