frequenz-floss / frequenz-api-microgrid

gRPC+protobuf specification and Python bindings for the Frequenz Microgrid API
https://frequenz-floss.github.io/frequenz-api-microgrid/
MIT License
6 stars 6 forks source link

Pin grpc related dependencies #254

Closed llucax closed 2 months ago

llucax commented 2 months ago

We can't use wide dependencies because otherwise when building the wheel, the latest version is used, but the generate code should use the minimum supported version for the generation, not the latest one. See: protobuf.dev/support/cross-version-runtime-guarantee

We also need to update the frequenz-api-common dependency to get the fix for the grpcio version too.

llucax commented 2 months ago

Will force merge as things are broken as they are. We can fix anything that needs fixing in a future PR.