When running pytest on modules that depend on Lark I'm getting 100s of deprecation warnings:
lib\site-packages\lark\parsers\lalr_interactive_parser.py:27: DeprecationWarning: lexer_state will be removed in subsequent releases. Use lexer_thread instead.
warnings.warn("lexer_state will be removed in subsequent releases. Use lexer_thread instead.", DeprecationWarning)
When running pytest on modules that depend on Lark I'm getting 100s of deprecation warnings:
Raised at:
https://github.com/lark-parser/lark/blob/7043c3ee20731ca297b93f1009e7474915d06c34/lark/parsers/lalr_interactive_parser.py#L24
These appear to come from the use of
lexer_state
within Lark. Updating tolexer_thread
inresume_parse
removes these errors.