Skip to content
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

chore(deps): update dependency google-cloud-storage to v3 #13114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
google-cloud-storage ==2.9.0 -> ==3.0.0 age adoption passing confidence
google-cloud-storage ==2.10.0 -> ==3.0.0 age adoption passing confidence
google-cloud-storage ==2.18.2 -> ==3.0.0 age adoption passing confidence
google-cloud-storage ==2.17.0 -> ==3.0.0 age adoption passing confidence
google-cloud-storage ==2.0.0 -> ==3.0.0 age adoption passing confidence
google-cloud-storage ==2.12.0 -> ==3.0.0 age adoption passing confidence
google-cloud-storage ==2.13.0 -> ==3.0.0 age adoption passing confidence
google-cloud-storage ==2.16.0 -> ==3.0.0 age adoption passing confidence
google-cloud-storage ~=2.10.0 -> ~=3.0.0 age adoption passing confidence
google-cloud-storage ==2.18.0 -> ==3.0.0 age adoption passing confidence

Release Notes

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

v3.0.0

Compare Source

⚠ BREAKING CHANGES

Please consult the README for details on this major version release.

  • The default checksum strategy for uploads has changed from None to "auto" (#​1383)
  • The default checksum strategy for downloads has changed from "md5" to "auto" (#​1383)
  • Deprecated positional argument "num_retries" has been removed (#​1377)
  • Deprecated argument "text_mode" has been removed (#​1379)
  • Blob.download_to_filename() now deletes the empty destination file on a 404 (#​1394)
  • Media operations now use the same retry backoff, timeout and custom predicate system as non-media operations, which may slightly impact default retry behavior (#​1385)
  • Retries are now enabled by default for uploads, blob deletes and blob metadata updates (#​1400)
Features
Bug Fixes
Documentation

v2.19.0

Compare Source

Features
Bug Fixes
  • Allow signed post policy v4 with service account and token (#​1356) (8ec02c0)
  • Do not spam the log with checksum related INFO messages when downloading using transfer_manager (#​1357) (42392ef)

v2.18.2

Compare Source

Bug Fixes
  • Add regression test for range read retry issue and bump dependency to fix (#​1338) (0323647)

v2.18.1

Compare Source

Bug Fixes

v2.18.0

Compare Source

Features
  • Add OpenTelemetry Tracing support as a preview feature (#​1288) (c2ab0e0)
Bug Fixes

v2.17.0

Compare Source

Features
Bug Fixes
Documentation

v2.16.0

Compare Source

Features

v2.15.0

Compare Source

Features
Bug Fixes

v2.14.0

Compare Source

Features
Bug Fixes

v2.13.0

Compare Source

Features
Bug Fixes
Documentation

v2.12.0

Compare Source

Features
Bug Fixes
  • Bump python-auth version to fix issue and remove workaround (#​1158) (28c02dd)
  • Mark _deprecate_threads_param as a wrapper to unblock introspection and docs (#​1122) (69bd4a9)
Documentation
  • Add snippets for upload_chunks_concurrently and add chunk_size (#​1135) (3a0f551)
  • Update formatting and wording in transfer_manager docstrings (#​1163) (9e460d8)

v2.11.0

Compare Source

Features
  • Add gccl-gcs-cmd field to X-Goog-API-Client header for Transfer Manager calls (#​1119) (14a1909)
  • Add transfer_manager.upload_chunks_concurrently using the XML MPU API (#​1115) (56aeb87)
  • Support configurable retries in upload_chunks_concurrently (#​1120) (1271686)
Bug Fixes
Documentation

v2.10.0

Compare Source

Features
Bug Fixes
  • Extend wait for bucket metadata consistency in system tests (#​1053) (d78586c)
Documentation

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 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 and engelke as code owners January 29, 2025 23:16
@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 Jan 29, 2025
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: appengine Issues related to the App Engine Admin API API. api: asset api: auth Issues related to the Google Authentication API api: automl Issues related to the AutoML API. api: batch Issues related to the Batch API. api: cloudfunctions Issues related to the Cloud Run functions API. api: composer Issues related to the Cloud Composer API. api: compute Issues related to the Compute Engine API. labels Jan 29, 2025
@product-auto-label product-auto-label bot added api: dataproc Issues related to the Dataproc API. api: dlp Issues related to the Sensitive Data Protection API. api: documentai Issues related to the Document AI API. labels Jan 29, 2025
Copy link

@code-review-assist code-review-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.

Hi team,

I'm currently reviewing this pull request and will provide my feedback in a few minutes. In the meantime, I'm providing this summary of the pull request's content to help you and other reviewers quickly understand the changes and intent.

This pull request, chore(deps): update dependency google-cloud-storage to v3, updates the google-cloud-storage dependency across numerous files within the repository. The intent is to upgrade the library to version 3.0.0 from various older versions (2.0.0, 2.9.0, 2.10.0, 2.12.0, 2.13.0, 2.16.0, 2.17.0, 2.18.0, 2.18.2). The changes are primarily reflected in the requirements.txt and requirements-test.txt files of various subdirectories. Note that version 3.0.0 contains breaking changes, as detailed in the PR description.

Here's a summary of the affected files:

File Old Version(s) New Version Notes
appengine/flexible/storage/requirements-test.txt 2.9.0 3.0.0
appengine/flexible/storage/requirements.txt 2.9.0 3.0.0
appengine/flexible_python37_and_earlier/storage/requirements-test.txt 2.9.0 3.0.0
appengine/flexible_python37_and_earlier/storage/requirements.txt 2.9.0 3.0.0
asset/snippets/requirements.txt 2.9.0 3.0.0
auth/api-client/requirements.txt 2.9.0 3.0.0
auth/cloud-client/requirements.txt 2.9.0 3.0.0
auth/downscoping/requirements-test.txt 2.9.0 3.0.0
auth/downscoping/requirements.txt 2.9.0 3.0.0
automl/snippets/requirements.txt 2.9.0 3.0.0
batch/requirements-test.txt 2.9.0 3.0.0
bigquery-migration/snippets/requirements-test.txt 2.9.0 3.0.0
composer/cicd_sample/utils/requirements.txt 2.9.0 3.0.0
compute/auth/requirements.txt 2.9.0 3.0.0
compute/client_library/requirements-test.txt 2.18.0 3.0.0
dataflow/custom-containers/miniconda/requirements-test.txt 2.9.0 3.0.0
dataflow/custom-containers/minimal/requirements-test.txt 2.9.0 3.0.0
dataflow/custom-containers/ubuntu/requirements-test.txt 2.9.0 3.0.0
dataflow/extensible-templates/requirements-test.txt 2.9.0 3.0.0
dataflow/flex-templates/streaming_beam/requirements-test.txt 2.9.0 3.0.0
dataflow/gemma-flex-template/requirements-test.txt 2.18.2 3.0.0
dataflow/gpu-examples/pytorch-minimal/requirements-test.txt 2.9.0 3.0.0
dataflow/gpu-examples/tensorflow-landsat-prime/requirements-test.txt 2.9.0 3.0.0
dataflow/gpu-examples/tensorflow-landsat/requirements-test.txt 2.9.0 3.0.0
dataflow/gpu-examples/tensorflow-minimal/requirements-test.txt 2.9.0 3.0.0
dataflow/run-inference/requirements-test.txt 2.10.0 3.0.0
dataproc/snippets/requirements.txt 2.9.0 3.0.0
dlp/snippets/requirements.txt 2.9.0 3.0.0
documentai/snippets/requirements.txt 2.16.0 3.0.0
functions/http/requirements.txt 2.9.0 3.0.0
functions/imagemagick/requirements.txt 2.9.0 3.0.0
functions/ocr/app/requirements.txt 2.9.0 3.0.0
functions/v2/deploy-function/requirements.txt 2.9.0 3.0.0
functions/v2/imagemagick/requirements.txt 2.9.0 3.0.0
functions/v2/ocr/requirements.txt 2.9.0 3.0.0
healthcare/api-client/v1/fhir/requirements.txt 2.9.0 3.0.0
healthcare/api-client/v1beta1/fhir/requirements.txt 2.9.0 3.0.0
logging/import-logs/requirements-test.txt 2.10.0 3.0.0
logging/import-logs/requirements.txt 2.10.0 3.0.0
notebooks/requirements.txt 2.9.0 3.0.0
optimization/snippets/requirements.txt 2.9.0 3.0.0
people-and-planet-ai/image-classification/requirements-test.txt 2.16.0 3.0.0
practice-folder/intermediate-sample/requirements-test.txt 2.13.0 3.0.0
practice-folder/intermediate-sample/requirements.txt 2.13.0 3.0.0
pubsublite/spark-connector/requirements-test.txt 2.9.0 3.0.0
retail/interactive-tutorials/events/requirements.txt 2.9.0 3.0.0
retail/interactive-tutorials/product/requirements.txt 2.9.0 3.0.0
retail/interactive-tutorials/search/requirements.txt 2.9.0 3.0.0
run/image-processing/requirements.txt 2.12.0 3.0.0
speech/snippets/requirements.txt 2.18.2 3.0.0
storage/s3-sdk/requirements-test.txt 2.9.0 3.0.0
storage/signed_urls/requirements.txt 2.0.0, 2.9.0 3.0.0
storagecontrol/requirements-test.txt 2.17.0 3.0.0
storagetransfer/requirements-test.txt 2.9.0 3.0.0
texttospeech/snippets/requirements.txt 2.18.2 3.0.0
translate/samples/snippets/requirements.txt 2.9.0 3.0.0
video/transcoder/requirements-test.txt 2.9.0 3.0.0
videointelligence/samples/analyze/requirements.txt 2.10.0 3.0.0
vision/snippets/detect/requirements.txt 2.9.0 3.0.0
vision/snippets/product_search/requirements.txt 2.9.0 3.0.0

Please review the release notes in the PR description for details on breaking changes.

Short poem:

Dependency's call,
Version three, a new dawn breaks,
Code flows, clean and bright.

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 29, 2025
Copy link

@code-review-assist code-review-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.

This pull request updates the google-cloud-storage dependency to version 3.0.0. Upgrading to major version releases can introduce breaking changes, so it's important to thoroughly test the code after merging this PR. The Renovate PR description includes a helpful summary of the breaking changes, features, bug fixes, and documentation updates in this release. I recommend reviewing the release notes and the library's README for more details.

It's great that Renovate has provided badges indicating the age, adoption, passing rate, and confidence of this update. This information can help you assess the risk of merging this PR.

Since this is a major version upgrade, it's crucial to ensure that all tests are passing and that the updated code functions as expected. Consider adding integration tests to verify the changes in default checksum behavior and retry logic. Also, review any code that uses the num_retries or text_mode arguments, as these have been removed in v3.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: appengine Issues related to the App Engine Admin API API. api: asset api: auth Issues related to the Google Authentication API api: automl Issues related to the AutoML API. api: batch Issues related to the Batch API. api: cloudfunctions Issues related to the Cloud Run functions API. api: composer Issues related to the Cloud Composer API. api: compute Issues related to the Compute Engine API. api: dataproc Issues related to the Dataproc API. api: dlp Issues related to the Sensitive Data Protection API. api: documentai Issues related to the Document AI 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.

3 participants