Note that protobuf>=4.22 introduced a breaking change, and protos generated using certain grpcio-tools versions are only compatible with protobuf>=4.22
Most ML libraries however force protobuf<4.22 still. That's why Dapr too has pinned protobuf<4.22
I recommend pinning grpcio-tools here to a version not requiring protobuf>=4.22. It is also best not to pin grpcio itself - any version close to the same grpcio-tools version or newer is fine.