Description
Requesting support for protobuf 7.x in grpcio-tools.
Currently, grpcio-tools enforces a dependency constraint of protobuf < 7.0.0, which prevents usage with the latest protobuf releases. This creates challenges in environments where newer protobuf versions are required or already adopted.
Motivation
Align grpcio-tools with the latest protobuf releases
Avoid dependency conflicts in modern Python environments
Enable adoption of improvements and changes introduced in protobuf 7.x
Reduce the need for version pinning or environment isolation
Current Behavior
Installing grpcio-tools alongside protobuf 7.x results in dependency conflicts
Package managers (pip/poetry) either fail resolution or downgrade protobuf
Example:
grpcio-tools==
protobuf==7.x
Expected Behavior
grpcio-tools should support protobuf 7.x
OR relax dependency constraints to allow compatibility where possible
Proposed Solution
Validate grpcio-tools against protobuf 7.x
Update dependency constraints to include protobuf 7.x
Address any breaking changes introduced in protobuf 7.x (if applicable)
Impact
Blocks adoption of latest protobuf versions
Causes dependency conflicts in shared environments
Adds maintenance overhead due to version pinning
Description
Requesting support for protobuf 7.x in grpcio-tools.
Currently, grpcio-tools enforces a dependency constraint of protobuf < 7.0.0, which prevents usage with the latest protobuf releases. This creates challenges in environments where newer protobuf versions are required or already adopted.
Motivation
Align grpcio-tools with the latest protobuf releases
Avoid dependency conflicts in modern Python environments
Enable adoption of improvements and changes introduced in protobuf 7.x
Reduce the need for version pinning or environment isolation
Current Behavior
Installing grpcio-tools alongside protobuf 7.x results in dependency conflicts
Package managers (pip/poetry) either fail resolution or downgrade protobuf
Example:
grpcio-tools==
protobuf==7.x
Expected Behavior
grpcio-tools should support protobuf 7.x
OR relax dependency constraints to allow compatibility where possible
Proposed Solution
Validate grpcio-tools against protobuf 7.x
Update dependency constraints to include protobuf 7.x
Address any breaking changes introduced in protobuf 7.x (if applicable)
Impact
Blocks adoption of latest protobuf versions
Causes dependency conflicts in shared environments
Adds maintenance overhead due to version pinning