We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7dcde90 + f3b2f0f commit d37a092Copy full SHA for d37a092
src/langtrace_python_sdk/langtrace.py
@@ -233,4 +233,7 @@ def validate_instrumentations(disable_instrumentations):
233
234
235
def is_package_installed(package_name):
236
- return importlib.util.find_spec(package_name) is not None
+ import pkg_resources
237
+
238
+ installed_packages = {p.key for p in pkg_resources.working_set}
239
+ return package_name in installed_packages
src/langtrace_python_sdk/version.py
@@ -1 +1 @@
1
-__version__ = "2.3.10"
+__version__ = "2.3.11"
0 commit comments