Skip to content

Add support for protobuf 7.x in grpcio-tools #42011

@soumen-eric

Description

@soumen-eric

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions