-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
apache/skywalking-python
#377Labels
agentLanguage agent related.Language agent related.bugSomething isn't working and you are sure it's a bug!Something isn't working and you are sure it's a bug!pythonPython agent relatedPython agent related
Milestone
Description
Search before asking
- I had searched in the issues and found no similar issues.
Apache SkyWalking Component
Python Agent (apache/skywalking-python)
What happened
After the changes in apache/skywalking-python#366 to #13030), we can not install any plugin with python version >= 3.12:
if sys.version_info < (3, 12):
plugin = importer.find_module(modname).load_module(modname)
else:
plugin = importlib.util.module_from_spec(importer.find_spec(modname))What you expected to happen
Install plugins normally.
How to reproduce
Start a simple fastapi app with sw-python run, we can find that the fastapi won't be installed.
Anything else
No response
Are you willing to submit a pull request to fix on your own?
- Yes I am willing to submit a pull request on my own!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
agentLanguage agent related.Language agent related.bugSomething isn't working and you are sure it's a bug!Something isn't working and you are sure it's a bug!pythonPython agent relatedPython agent related