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

Incompatibility with pyparsing >= 3 #98

Open
lindycoder opened this issue Oct 25, 2021 · 1 comment
Open

Incompatibility with pyparsing >= 3 #98

lindycoder opened this issue Oct 25, 2021 · 1 comment

Comments

@lindycoder
Copy link

Hello!

It seems the 'operatorPrecendence' that was deprecated is not available anymore and produces:

ImportError: cannot import name 'operatorPrecedence' from 'pyparsing'

Maybe the requirements of should be updated to "pyparsing<3" or fixed.

From pyparsing code:

operatorPrecedence = infixNotation
"""(Deprecated) Former name of :class:`infixNotation`, will be
dropped in a future release."""

https://github.com/pyparsing/pyparsing/blob/pyparsing_2.4.7/pyparsing.py

@caleb15
Copy link

caleb15 commented Oct 25, 2021

As a workaround you can pin the version of pyparsing to a earlier version:

pyparsing==2.4.7

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

No branches or pull requests

2 participants