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.
1 parent 6ff93cb commit 99434d4Copy full SHA for 99434d4
skywalking/plugins/__init__.py
@@ -59,7 +59,9 @@ def install():
59
if sys.version_info < (3, 12):
60
plugin = importer.find_module(modname).load_module(modname)
61
else:
62
- plugin = importlib.util.module_from_spec(importer.find_spec(modname))
+ spec = importer.find_spec(modname)
63
+ plugin = importlib.util.module_from_spec(spec)
64
+ spec.loader.exec_module(plugin)
65
66
# todo: refactor the version checker, currently it doesn't really work as intended
67
supported = pkg_version_check(plugin)
0 commit comments