Granulate / gprofiler

gProfiler is a system-wide profiler, combining multiple sampling profilers to produce unified visualization of what your CPU is spending time on.
https://profiler.granulate.io
Apache License 2.0
743 stars 54 forks source link

Upgrade granulate-utils to upgrade grpcio #775

Closed Jongy closed 1 year ago

Jongy commented 1 year ago

https://github.com/Granulate/granulate-utils/pull/139

Jongy commented 1 year ago

The upgraded grpcio breaks Python and causes it to hang. I tested locally - commented out the import grpc and the use of ContainersNameClient, and test_sanity.py::test_from_container[True-python-py-spy] passes. Without commenting them out, the test hangs.

I'm not sure if the problem is in gProfiler's usage or a bug in Python. We are now working on 3.11 upgrade - which requires the updated grpcio - I suggest we try to address them together.