Skip to content

chore(deps): update dependency google-cloud-retail to v2 #13319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
google-cloud-retail (source) ==1.23.1 -> ==2.0.0 age adoption passing confidence

Release Notes

googleapis/google-cloud-python (google-cloud-retail)

v2.0.0: google-cloud-retail: v2.0.0

Compare Source

⚠ BREAKING CHANGES
  • An existing message LlmEmbeddingConfig is removed.
  • An existing field llm_embedding_config is removed from message .google.cloud.retail.v2alpha.Model
Features
  • add availability field to Localnventory (4e07ac3)
  • add new fields including language_code, region_code and place_id to SearchRequest. (4e07ac3)
  • add pin_control_metadata to SearchResponse. (4e07ac3)
Bug Fixes
  • An existing field llm_embedding_config is removed from message .google.cloud.retail.v2alpha.Model (4e07ac3)
  • An existing message LlmEmbeddingConfig is removed. (4e07ac3)
Documentation
  • keep the API doc up-to-date with recent changes (4e07ac3)

v1.25.1: google-cloud-retail: v1.25.1

Compare Source

Bug Fixes
  • [Many APIs] Allow Protobuf 6.x (784a3ca)
  • remove setup.cfg configuration for creating universal wheels (#​13659) (59bfd42)

v1.25.0: google-cloud-compute: v1.25.0

Compare Source

Features
  • Add REST Interceptors which support reading metadata (6142165)
  • Add support for reading selective GAPIC generation methods from service YAML (6142165)

v1.24.0: google-cloud-compute: v1.24.0

Compare Source

Features

Configuration

📅 Schedule: 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 this update 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 April 23, 2025 22:17
@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 Apr 23, 2025
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: retail Issues related to the Retail API API. labels Apr 23, 2025
Copy link
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.

Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request updates the google-cloud-retail dependency from version 1.23.1 to 2.0.0 in the requirements.txt files for the events, product, and search interactive tutorials. This is an automated update generated by Mend Renovate.

Highlights

  • Dependency Update: The primary change is updating the google-cloud-retail dependency to the latest major version, 2.0.0.
  • Interactive Tutorials: The update affects the requirements.txt files within the events, product, and search interactive tutorials, ensuring they use the latest version of the Retail API client library.

Changelog

  • retail/interactive-tutorials/events/requirements.txt
    • Updated google-cloud-retail dependency from 1.23.1 to 2.0.0.
  • retail/interactive-tutorials/product/requirements.txt
    • Updated google-cloud-retail dependency from 1.23.1 to 2.0.0.
  • retail/interactive-tutorials/search/requirements.txt
    • Updated google-cloud-retail dependency from 1.23.1 to 2.0.0.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


A version ascends,
Retail's cloud shifts and blends,
New features arise.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
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 PR updates the google-cloud-retail dependency to version 2.0.0 in several requirements.txt files. The update itself seems straightforward, but it's important to consider the potential impact of this major version upgrade on the existing code that relies on this library.

Summary of Findings

  • Potential Breaking Changes: The google-cloud-retail library is being updated from v1.23.1 to v2.0.0, which includes breaking changes as noted in the release notes. It's crucial to ensure that the existing code is compatible with these changes. Specifically, the removal of LlmEmbeddingConfig and the llm_embedding_config field from Model should be checked for impact on the codebase.

Merge Readiness

Given the breaking changes introduced in google-cloud-retail v2.0.0, I recommend a thorough review of the codebase to ensure compatibility before merging. While I am unable to directly approve this pull request, I suggest that other reviewers carefully examine the potential impact of these changes. At a minimum, the impact of the breaking changes should be assessed before merging.

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 23, 2025
@glasnt glasnt merged commit 8aad971 into GoogleCloudPlatform:main Apr 28, 2025
11 checks passed
@renovate-bot renovate-bot deleted the renovate/google-cloud-retail-2.x branch April 28, 2025 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: retail Issues related to the Retail API 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.

4 participants