Skip to content

fix: require Protobuf 6.33.5+#17743

Draft
parthea wants to merge 1 commit into
mainfrom
require-protobuf-6-33-5
Draft

fix: require Protobuf 6.33.5+#17743
parthea wants to merge 1 commit into
mainfrom
require-protobuf-6-33-5

Conversation

@parthea

@parthea parthea commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Towards b/420641246

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the minimum protobuf version requirement to 6.33.5 across multiple packages and configuration files. It also removes support for the 'cpp' protobuf implementation and cleans up associated test configurations and legacy logic. A review comment suggests removing a redundant parameterized test case in packages/google-api-core/noxfile.py to improve code cleanliness.

Comment on lines 301 to 306
# TODO: Remove once we stop support for protobuf 4.x.
(
True,
False,
["3.10", "3.11"],
4,
), # Run proto4 tests with grpcio/grpcio-gcp installed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This parameterized test case is redundant as it is a subset of the first test case (True, False, None). Please remove this block to avoid code redundancy.

References
  1. Remove duplicate lines of code, especially duplicate assertions in tests, to keep the codebase clean and avoid redundancy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant