You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hongbo-miao
changed the title
[Bug] Error: Unsupported version of Python: 3.12.0
[Bug] py-spy "Error: Unsupported version of Python: 3.12.0"
Feb 4, 2025
Search before asking
KubeRay Component
ray-operator
What happened + What you expected to happen
I am trying to set up
Based on https://docs.ray.io/en/latest/cluster/kubernetes/k8s-ecosystem/pyspy.html, I added
securityContext
section:Now when I open those two links, I got error
CPU Flame Graph:
Failed to execute `['sudo', '-n', '/home/ray/anaconda3/bin/py-spy', 'record', '-o', PosixPath('/tmp/ray/session_2025-02-03_22-57-42_931597_1/logs/flamegraph_129_cpu_profiling.svg'), '-p', '129', '-d', '5', '-f', 'flamegraph']`. === stderr === Error: Unsupported version of Python: 3.12.0 === stdout ===
Stack Trace:
Failed to execute `['sudo', '-n', '/home/ray/anaconda3/bin/py-spy', 'dump', '-p', '129']`. === stderr === Error: Unsupported version of Python: 3.12.0 === stdout ===
Anything else
I did see py-spy side supported Python 3.12 and 3.13 by grafana/pyroscope-rs#181 which may help.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: