Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with Python3.12 #3287

Open
fnmut opened this issue May 8, 2024 · 3 comments
Open

Doesn't work with Python3.12 #3287

fnmut opened this issue May 8, 2024 · 3 comments

Comments

@fnmut
Copy link

fnmut commented May 8, 2024

Describe the bug

I don't believe this is working with Python3.12, is that right?

To Reproduce

The example referenced here uses Python 3.11, and it works with 3.11

When I use Python 3.12 I get stuck on Pyroscope::Session > Creating Session

Expected behavior

Profiles get sent to a local server using python 3.12

Environment

  • Infrastructure: [e.g., Kubernetes, bare-metal, laptop]
  • Deployment tool: [e.g., helm, jsonnet]

Additional Context

Any plans to support Python 3.12? Is there something I can do to get it working?

@korniltsev
Copy link
Collaborator

There is pyspy issue benfred/py-spy#633

In the meantime, you can try using grafana-agent / alloy . They can profile python apps with pyroscope.ebpf component

@kwongtn
Copy link

kwongtn commented Oct 15, 2024

Python 3.12 should be supported now

@we684123
Copy link

we684123 commented Nov 2, 2024

py-spy Releases v0.4.0
Python 3.12、3.13 Support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants