You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
traits makes use of the sre_parse and sre_constants modules here; however, these modules are deprecated, and a deprecation warning is emitted when they are imported. They should be replaced with something more up-to-date.
The text was updated successfully, but these errors were encountered:
Thanks for the report. It looks as though regenerating the parser with the latest version of Lark should address this. (Upstream PR: lark-parser/lark#1140)
This PR regenerates the parser for the `observe` mini-language using the
newest version of Lark. This should fix some deprecation warnings coming
from imports used by the old parser.
The parser was regenerated using Lark 1.1.5, via
python -m lark.tools.standalone traits/observation/_dsl_grammar.lark
--out traits/observation/_generated_parser.py
Closes#1739
The parser was updated in #1743; I've double checked that python -Wd -c "import traits.api" reproduces the DeprecationWarnings on my machine on Python 3.11, and that those warnings are now gone on main.
traits
makes use of thesre_parse
andsre_constants
modules here; however, these modules are deprecated, and a deprecation warning is emitted when they are imported. They should be replaced with something more up-to-date.The text was updated successfully, but these errors were encountered: