我发现自 v1.49.0 以来,所需的 protobuf 版本已从 3.5.0 升至 4.21.3:
https://github.com/grpc/grpc/blob/v1.49.0-pre1/requirements.txt
# GRPC Python setup requirements
coverage>=4.0
cython>=0.29.8
protobuf>=4.21.3,<5.0dev
six>=1.10
wheel>=0.29
请问gRPC需要4.21.3中protobuf的哪些新特性?
谢谢。
BR/琥珀色
我们想评估一下protobuf升级是否是必须要做的。
BR/琥珀色
一般来说,由 Protobuf 代码生成器版本生成的代码需要相同或更新的 Protobuf 运行时,并且在 gRPC 内部生成了原型。