From 15474be58658023d39d8d195df9827f678172a25 Mon Sep 17 00:00:00 2001 From: Martin Lambertsen Date: Mon, 13 Jul 2026 15:34:56 +0200 Subject: [PATCH] Use modern lark parser The `lark_parser` package has been superseded by `lark`. As both use the same namespace (`lark`), using `lark_parser` can result in a collusion, if users of the ELM client use `lark` as well within their dependency tree. Then the runtime behavior becomes installation-order dependent. As the usages of lark within the library seem to work fine with the modern lark as well, using the modern package should be preferred. Signed-off-by: Martin Lambertsen --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 6815543..3fe0433 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ CacheControl anytree colorama cryptography -lark_parser +lark lxml openpyxl python-dateutil diff --git a/setup.py b/setup.py index 9bb1531..f5acf3e 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ ], packages=["elmclient", "elmclient.examples","elmclient.tests"], include_package_data=True, - install_requires=['CacheControl','anytree',"colorama","cryptography",'lark_parser','lockfile','lxml',"openpyxl","python-dateutil", "pytz", "requests","requests_toolbelt",'tqdm','urllib3', "bump2version", "twine",'filelock'], + install_requires=['CacheControl','anytree',"colorama","cryptography",'lark','lockfile','lxml',"openpyxl","python-dateutil", "pytz", "requests","requests_toolbelt",'tqdm','urllib3', "bump2version", "twine",'filelock'], entry_points={ "console_scripts": [ "oslcquery=elmclient.examples.oslcquery:main",