From 4ad8799e8e2d607359b08c8cc72a0893023e5b4d Mon Sep 17 00:00:00 2001 From: Tranquil-Flow Date: Thu, 21 May 2026 18:38:18 +0000 Subject: [PATCH] fix: replace deprecated pkg_resources namespace declaration --- lark_oapi/ws/pb/google/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lark_oapi/ws/pb/google/__init__.py b/lark_oapi/ws/pb/google/__init__.py index d2d2a43c5..69e3be50d 100644 --- a/lark_oapi/ws/pb/google/__init__.py +++ b/lark_oapi/ws/pb/google/__init__.py @@ -1,4 +1 @@ -try: - __import__('pkg_resources').declare_namespace(__name__) -except ImportError: - __path__ = __import__('pkgutil').extend_path(__path__, __name__) +__path__ = __import__('pkgutil').extend_path(__path__, __name__)