contracts
contracts copied to clipboard
Incompatibility with pyparsing >= 3
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
As a workaround you can pin the version of pyparsing to a earlier version:
pyparsing==2.4.7