contracts icon indicating copy to clipboard operation
contracts copied to clipboard

Incompatibility with pyparsing >= 3

Open lindycoder opened this issue 4 years ago • 1 comments

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

lindycoder avatar Oct 25 '21 14:10 lindycoder

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

pyparsing==2.4.7

caleb15 avatar Oct 25 '21 18:10 caleb15