Skip to content

chore(deps): update dependency protobuf to v7 - autoclosed#14162

Closed
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/protobuf-7.x
Closed

chore(deps): update dependency protobuf to v7 - autoclosed#14162
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/protobuf-7.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
protobuf ==5.29.4==7.34.1 age confidence
protobuf ==5.29.5==7.34.1 age confidence
protobuf ==4.25.6==7.34.1 age confidence
protobuf ==4.25.8==7.34.1 age confidence

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners May 12, 2026 19:13
@trusted-contributions-gcf trusted-contributions-gcf Bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 12, 2026
@product-auto-label product-auto-label Bot added samples Issues that are directly related to samples. api: cloudfunctions Issues related to the Cloud Run functions API. api: secretmanager Issues related to the Secret Manager API. labels May 12, 2026
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 12, 2026
Copy link
Copy Markdown
Contributor

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

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 protobuf dependency to version 7.34.1 across several requirements.txt files. The review feedback indicates that this version is likely incorrect for the Python ecosystem and will cause VersionConflict or runtime errors due to incompatibilities with other pinned Google Cloud libraries, such as google-api-core, google-cloud-datastore, and google-cloud-secret-manager.

google-cloud-datastore==2.20.2
google-api-core==2.17.1
protobuf==4.25.8
protobuf==7.34.1
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.

high

The version 7.34.1 for the protobuf package is likely incorrect for a Python environment, as the current major version on PyPI is 5.x. This major version jump is incompatible with the pinned versions of google-api-core==2.17.1 and google-cloud-datastore==2.20.2 in this file, which will lead to VersionConflict errors during installation or runtime failures.

google-events==0.14.0
google-api-core==2.17.1
protobuf==4.25.6
protobuf==7.34.1
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.

high

Updating protobuf to 7.34.1 while keeping google-api-core==2.17.1 is expected to cause compatibility issues. Major version mismatches in the protobuf runtime are a common source of TypeError and AttributeError in Google Cloud client libraries, as the generated code API often changes between major versions.

Comment thread gemma2/requirements.txt
@@ -1,2 +1,2 @@
google-cloud-aiplatform[all]==1.64.0
protobuf==5.29.5
protobuf==7.34.1
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.

high

The version 7.34.1 for protobuf is non-standard for Python and likely incompatible with google-cloud-aiplatform[all]==1.64.0. This change will likely break the dependency resolution or cause runtime errors due to the significant version jump from the previous 5.29.5.

@@ -1,4 +1,4 @@
protobuf==5.29.4
protobuf==7.34.1
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.

high

The version 7.34.1 for protobuf is likely incorrect for a Python environment and incompatible with google-api-core==2.23.0. Major version mismatches in the protobuf runtime often result in VersionConflict during dependency resolution or runtime failures in the managedkafka snippets.

google-cloud-secret-manager==2.24.0
google-crc32c==1.6.0
protobuf==5.29.4
protobuf==7.34.1
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.

high

This update to protobuf==7.34.1 is likely to break compatibility with google-cloud-secret-manager==2.24.0. Major version bumps in protobuf typically require a coordinated update of all dependent Google Cloud libraries to ensure the generated code remains compatible with the runtime environment.

@renovate-bot renovate-bot changed the title chore(deps): update dependency protobuf to v7 chore(deps): update dependency protobuf to v7 - autoclosed May 13, 2026
@renovate-bot renovate-bot deleted the renovate/protobuf-7.x branch May 13, 2026 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: cloudfunctions Issues related to the Cloud Run functions API. api: secretmanager Issues related to the Secret Manager API. owlbot:run Add this label to trigger the Owlbot post processor. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants