vlasovskikh / funcparserlib

Recursive descent parsing library for Python based on functional combinators
https://funcparserlib.pirx.ru
MIT License
338 stars 38 forks source link

funcparserlib 0.3.5 SyntaxError #72

Closed amal-khailtash closed 2 years ago

amal-khailtash commented 2 years ago

sphinxcontrib-blockdiag requires funcparserlib and this version fails with:

Running Sphinx v4.3.1

Exception occurred:
  File "/home/akhailta/work/Amal/Python/Ciena/py_mem_wiz/.venv/lib/python3.10/site-packages/blockdiag/parser.py", line 42, in <module>
    from funcparserlib.lexer import LexerError, Token, make_tokenizer
  File "/home/akhailta/work/Amal/Python/Ciena/py_mem_wiz/.venv/lib/python3.10/site-packages/funcparserlib/lexer.py", line 76
    def match_specs(specs, str, i, (line, pos)):
                                   ^
SyntaxError: invalid syntax
amal-khailtash commented 2 years ago

If the new release fixes this, we can close this one too.

vlasovskikh commented 2 years ago

Please update funcparserlib==1.0.0a0 in the dependencies of sphinxcontrib-blockdiag. I hope to release 1.0.0 closer to the end of 2021, follow #65 for updates.