-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore(migration): Migrate code from googleapis/python-cloud-core into packages/google-cloud-core #15542
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
base: main
Are you sure you want to change the base?
chore(migration): Migrate code from googleapis/python-cloud-core into packages/google-cloud-core #15542
Conversation
* blacken api_core and core
* remove iam module from core
* Release 0.29.0
* Release 0.29.1
Previously, the URLs would redirect using JavaScript, which would either be slow or not work at all (in case JavaScript is disabled on the browser)
* Remove classifier for Python 3.4 for end-of-life. * Update supported versions in Client README, Contributing Guide
* Add 'user_agent' and 'extra_headers' properties to 'Connection'. Deprecate the 'USER_AGENT' and '_EXTRA_HEADERS' class-level attributes. * Add 'client_info' parameter to 'Connection' ctor. * Implement 'Connection.user_agent' via its '_client_info'. * Ensure 'X-Goog-API-Client' header is always passed. * Create/use non-GAPIC-specific 'ClientInfo' class FBO HTTP/JSON clients. Derive the existing GAPIC class from it.
Needed for new 'client_info' support.
Also, pin grpcio < 2.0dev. Closes #5410.
…t.o. (#8207) * Prevent requests from hanging on SSL handshake issue by adding a max timeout of 5 minutes * rename and reuse constant * use named arg
… with type checkers (#8546)
* chore(python): update dependencies in .kokoro/docker/docs Source-Link: googleapis/synthtool@59171c8 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2ed982f884312e4883e01b5ab8af8b6935f0216a5a2d82928d273081fc3be562 * Enable testing for Python 3.13 --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
#312) * chore(python): Update the python version in docs presubmit to use 3.10 Source-Link: googleapis/synthtool@de3def6 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:a1c5112b81d645f5bbc4d4bbc99d7dcb5089a52216c0e3fb1203a0eeabadd7d5 * fix lint presubmit * fix lint build * fix lint build * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * exclude .github/workflows/lint.yml * fix lint build --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
…fig (#314) Source-Link: googleapis/synthtool@106d292 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:8ff1efe878e18bd82a0fb7b70bb86f77e7ab6901fed394440b6135db0ba8d84a Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Source-Link: googleapis/synthtool@bd9ede2 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:04c35dc5f49f0f503a306397d6d043685f8d2bb822ab515818c4208d7fb2db3a Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](pallets/jinja@3.1.4...3.1.5) --- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.26.3 to 20.26.6. - [Release notes](https://github.com/pypa/virtualenv/releases) - [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst) - [Commits](pypa/virtualenv@20.26.3...20.26.6) --- updated-dependencies: - dependency-name: virtualenv dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
* Feat: Client should pass client_options.api_key to auth library * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * bump auth requirement * bump api core requirement * bump requirements yet again * only enable feature if auth library has support * fix bare except lint issue * add skipped files * add skipped files again --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* chore(main): release 2.4.2 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Source-Link: googleapis/synthtool@93e1685 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:631b4a35a4f9dd5e97740a97c4c117646eb85b35e103844dc49d152bd18694cd Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
Source-Link: googleapis/synthtool@1fb7b51 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:58dd193e1be3f5f02276cdf222ed7f8dfc3be1f163488aea767bcf35a0e2b0cd Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
Source-Link: googleapis/synthtool@aa69fb7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:f016446d6e520e5fb552c45b110cba3f217bffdd3d06bdddd076e9e6d13266cf Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
…talled (#329) Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
* feat(ci): Add Python 3.14 support to owlbot.py * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat(ci): Add Python 3.14 support to core files * Apply suggestion from @chalmerlowe 3.7 is not supported in this repo. * Apply suggestion from @chalmerlowe * Apply suggestion from @chalmerlowe 3.7 is not supported in this repo. * fix(ci): Remove unit (3.7) from required checks * fix(coverage): Remove obsolete Python < 3.8 import logic * fix(coverage): Add no cover pragma for api_key import * fix(ci): Correct lint errors and coverage pragma case --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This PR onboards `google-cloud-core` to librarian. Blocked on googleapis/python-cloud-core#330 Fixes googleapis/librarian#2453 🦕 --------- Co-authored-by: Anthonios Partheniou <partheniou@google.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | major | `v4` → `v6` | | [actions/setup-python](https://redirect.github.com/actions/setup-python) | action | major | `v5` → `v6` | | [python](https://redirect.github.com/actions/python-versions) | uses-with | minor | `3.8` → `3.14` | | [python](https://redirect.github.com/actions/python-versions) | uses-with | minor | `3.10` → `3.14` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v6`](https://redirect.github.com/actions/checkout/compare/v5...v6) [Compare Source](https://redirect.github.com/actions/checkout/compare/v5...v6) ### [`v5`](https://redirect.github.com/actions/checkout/compare/v4...v5) [Compare Source](https://redirect.github.com/actions/checkout/compare/v4...v5) </details> <details> <summary>actions/setup-python (actions/setup-python)</summary> ### [`v6`](https://redirect.github.com/actions/setup-python/compare/v5...v6) [Compare Source](https://redirect.github.com/actions/setup-python/compare/v5...v6) </details> <details> <summary>actions/python-versions (python)</summary> ### [`v3.14.2`](https://redirect.github.com/actions/python-versions/releases/tag/3.14.2-20014991423): 3.14.2 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.14.1-19879739908...3.14.2-20014991423) Python 3.14.2 ### [`v3.14.1`](https://redirect.github.com/actions/python-versions/releases/tag/3.14.1-19879739908): 3.14.1 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.14.0-18313368925...3.14.1-19879739908) Python 3.14.1 ### [`v3.14.0`](https://redirect.github.com/actions/python-versions/releases/tag/3.14.0-18313368925): 3.14.0 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.11-20014977833...3.14.0-18313368925) Python 3.14.0 ### [`v3.13.11`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.11-20014977833): 3.13.11 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.10-19879712315...3.13.11-20014977833) Python 3.13.11 ### [`v3.13.10`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.10-19879712315): 3.13.10 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.9-18515951191...3.13.10-19879712315) Python 3.13.10 ### [`v3.13.9`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.9-18515951191): 3.13.9 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.8-18331000654...3.13.9-18515951191) Python 3.13.9 ### [`v3.13.8`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.8-18331000654): 3.13.8 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.7-16980743123...3.13.8-18331000654) Python 3.13.8 ### [`v3.13.7`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.7-16980743123): 3.13.7 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.6-16792117939...3.13.7-16980743123) Python 3.13.7 ### [`v3.13.6`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.6-16792117939): 3.13.6 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.5-15601068749...3.13.6-16792117939) Python 3.13.6 ### [`v3.13.5`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.5-15601068749): 3.13.5 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.4-15433317575...3.13.5-15601068749) Python 3.13.5 ### [`v3.13.4`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.4-15433317575): 3.13.4 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.3-14344076652...3.13.4-15433317575) Python 3.13.4 ### [`v3.13.3`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.3-14344076652): 3.13.3 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.2-13708744326...3.13.3-14344076652) Python 3.13.3 ### [`v3.13.2`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.2-13708744326): 3.13.2 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.1-13437882550...3.13.2-13708744326) Python 3.13.2 ### [`v3.13.1`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.1-13437882550): 3.13.1 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.13.0-13707372259...3.13.1-13437882550) Python 3.13.1 ### [`v3.13.0`](https://redirect.github.com/actions/python-versions/releases/tag/3.13.0-13707372259): 3.13.0 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.12-18393146713...3.13.0-13707372259) Python 3.13.0 ### [`v3.12.12`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.12-18393146713): 3.12.12 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.11-15433310049...3.12.12-18393146713) Python 3.12.12 ### [`v3.12.11`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.11-15433310049): 3.12.11 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.10-14343898437...3.12.11-15433310049) Python 3.12.11 ### [`v3.12.10`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.10-14343898437): 3.12.10 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.9-13149478207...3.12.10-14343898437) Python 3.12.10 ### [`v3.12.9`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.9-13149478207): 3.12.9 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.8-12154062663...3.12.9-13149478207) Python 3.12.9 ### [`v3.12.8`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.8-12154062663): 3.12.8 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.7-11128208086...3.12.8-12154062663) Python 3.12.8 ### [`v3.12.7`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.7-11128208086): 3.12.7 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.6-10765725458...3.12.7-11128208086) Python 3.12.7 ### [`v3.12.6`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.6-10765725458): 3.12.6 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.5-10375840348...3.12.6-10765725458) Python 3.12.6 ### [`v3.12.5`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.5-10375840348): 3.12.5 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.4-9947065640...3.12.5-10375840348) Python 3.12.5 ### [`v3.12.4`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.4-9947065640): 3.12.4 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.3-11057844995...3.12.4-9947065640) Python 3.12.4 ### [`v3.12.3`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.3-11057844995): 3.12.3 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.2-11057786931...3.12.3-11057844995) Python 3.12.3 ### [`v3.12.2`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.2-11057786931): 3.12.2 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.1-11057762749...3.12.2-11057786931) Python 3.12.2 ### [`v3.12.1`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.1-11057762749): 3.12.1 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.12.0-11057302691...3.12.1-11057762749) Python 3.12.1 ### [`v3.12.0`](https://redirect.github.com/actions/python-versions/releases/tag/3.12.0-11057302691): 3.12.0 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.14-18393181605...3.12.0-11057302691) Python 3.12.0 ### [`v3.11.14`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.14-18393181605): 3.11.14 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.13-15433298024...3.11.14-18393181605) Python 3.11.14 ### [`v3.11.13`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.13-15433298024): 3.11.13 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.12-14343939122...3.11.13-15433298024) Python 3.11.13 ### [`v3.11.12`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.12-14343939122): 3.11.12 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.11-12160100664...3.11.12-14343939122) Python 3.11.12 ### [`v3.11.11`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.11-12160100664): 3.11.11 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.10-10765870205...3.11.11-12160100664) Python 3.11.11 ### [`v3.11.10`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.10-10765870205): 3.11.10 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.9-9947079978...3.11.10-10765870205) Python 3.11.10 ### [`v3.11.9`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.9-9947079978): 3.11.9 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.8-11113201752...3.11.9-9947079978) Python 3.11.9 ### [`v3.11.8`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.8-11113201752): 3.11.8 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.7-11113197120...3.11.8-11113201752) Python 3.11.8 ### [`v3.11.7`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.7-11113197120): 3.11.7 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.6-11113179737...3.11.7-11113197120) Python 3.11.7 ### [`v3.11.6`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.6-11113179737): 3.11.6 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.5-11113174019...3.11.6-11113179737) Python 3.11.6 ### [`v3.11.5`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.5-11113174019): 3.11.5 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.4-11113170699...3.11.5-11113174019) Python 3.11.5 ### [`v3.11.4`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.4-11113170699): 3.11.4 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.3-11059198104...3.11.4-11113170699) Python 3.11.4 ### [`v3.11.3`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.3-11059198104): 3.11.3 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.2-11059137522...3.11.3-11059198104) Python 3.11.3 ### [`v3.11.2`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.2-11059137522): 3.11.2 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.1-11058799881...3.11.2-11059137522) Python 3.11.2 ### [`v3.11.1`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.1-11058799881): 3.11.1 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.11.0-11058707212...3.11.1-11058799881) Python 3.11.1 ### [`v3.11.0`](https://redirect.github.com/actions/python-versions/releases/tag/3.11.0-11058707212): 3.11.0 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.19-18393196481...3.11.0-11058707212) Python 3.11.0 ### [`v3.10.19`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.19-18393196481): 3.10.19 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.18-15433209320...3.10.19-18393196481) Python 3.10.19 ### [`v3.10.18`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.18-15433209320): 3.10.18 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.17-14343836466...3.10.18-15433209320) Python 3.10.18 ### [`v3.10.17`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.17-14343836466): 3.10.17 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.16-12302993382...3.10.17-14343836466) Python 3.10.17 ### [`v3.10.16`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.16-12302993382): 3.10.16 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.15-10765692022...3.10.16-12302993382) Python 3.10.16 ### [`v3.10.15`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.15-10765692022): 3.10.15 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.14-9962525809...3.10.15-10765692022) Python 3.10.15 ### [`v3.10.14`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.14-9962525809): 3.10.14 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.13-11113412466...3.10.14-9962525809) Python 3.10.14 ### [`v3.10.13`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.13-11113412466): 3.10.13 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.12-11114375244...3.10.13-11113412466) Python 3.10.13 ### [`v3.10.12`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.12-11114375244): 3.10.12 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.11-11114431484...3.10.12-11114375244) Python 3.10.12 ### [`v3.10.11`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.11-11114431484): 3.10.11 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.10-11156136298...3.10.11-11114431484) Python 3.10.11 ### [`v3.10.10`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.10-11156136298): 3.10.10 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.9-11156110083...3.10.10-11156136298) Python 3.10.10 ### [`v3.10.9`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.9-11156110083): 3.10.9 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.8-11157050441...3.10.9-11156110083) Python 3.10.9 ### [`v3.10.8`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.8-11157050441): 3.10.8 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.7-11156088973...3.10.8-11157050441) Python 3.10.8 ### [`v3.10.7`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.7-11156088973): 3.10.7 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.6-11156080153...3.10.7-11156088973) Python 3.10.7 ### [`v3.10.6`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.6-11156080153): 3.10.6 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.5-11156057491...3.10.6-11156080153) Python 3.10.6 ### [`v3.10.5`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.5-11156057491): 3.10.5 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.4-11156037683...3.10.5-11156057491) Python 3.10.5 ### [`v3.10.4`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.4-11156037683): 3.10.4 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.3-2000219088...3.10.4-11156037683) Python 3.10.4 ### [`v3.10.3`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.3-2000219088): 3.10.3 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.2-1805098134...3.10.3-2000219088) Python 3.10.3 ### [`v3.10.2`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.2-1805098134): 3.10.2 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.1-120613...3.10.2-1805098134) Python 3.10.2 ### [`v3.10.1`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.1-120613): 3.10.1 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.10.0-117927...3.10.1-120613) Python 3.10.1 ### [`v3.10.0`](https://redirect.github.com/actions/python-versions/releases/tag/3.10.0-117927): 3.10.0 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.25-19039189640...3.10.0-117927) Python 3.10.0 ### [`v3.9.25`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.25-19039189640): 3.9.25 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.24-18393164954...3.9.25-19039189640) Python 3.9.25 ### [`v3.9.24`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.24-18393164954): 3.9.24 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.23-15433290661...3.9.24-18393164954) Python 3.9.24 ### [`v3.9.23`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.23-15433290661): 3.9.23 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.22-14344111503...3.9.23-15433290661) Python 3.9.23 ### [`v3.9.22`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.22-14344111503): 3.9.22 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.21-12303000710...3.9.22-14344111503) Python 3.9.22 ### [`v3.9.21`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.21-12303000710): 3.9.21 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.20-10765735733...3.9.21-12303000710) Python 3.9.21 ### [`v3.9.20`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.20-10765735733): 3.9.20 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.19-9962534424...3.9.20-10765735733) Python 3.9.20 ### [`v3.9.19`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.19-9962534424): 3.9.19 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.18-11183952707...3.9.19-9962534424) Python 3.9.19 ### [`v3.9.18`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.18-11183952707): 3.9.18 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.17-11183917965...3.9.18-11183952707) Python 3.9.18 ### [`v3.9.17`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.17-11183917965): 3.9.17 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.16-11183815643...3.9.17-11183917965) Python 3.9.17 ### [`v3.9.16`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.16-11183815643): 3.9.16 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.15-11183782044...3.9.16-11183815643) Python 3.9.16 ### [`v3.9.15`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.15-11183782044): 3.9.15 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.14-11183735553...3.9.15-11183782044) Python 3.9.15 ### [`v3.9.14`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.14-11183735553): 3.9.14 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.13-11183687820...3.9.14-11183735553) Python 3.9.14 ### [`v3.9.13`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.13-11183687820): 3.9.13 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.12-11183622568...3.9.13-11183687820) Python 3.9.13 ### [`v3.9.12`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.12-11183622568): 3.9.12 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.11-2018436241...3.9.12-11183622568) Python 3.9.12 ### [`v3.9.11`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.11-2018436241): 3.9.11 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.10-1788162477...3.9.11-2018436241) Python 3.9.11 ### [`v3.9.10`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.10-1788162477): 3.9.10 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.9-119268...3.9.10-1788162477) Python 3.9.10 ### [`v3.9.9`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.9-119268): 3.9.9 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.8-118810...3.9.9-119268) Python 3.9.9 ### [`v3.9.8`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.8-118810): 3.9.8 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.7-1812317133...3.9.8-118810) Python 3.9.8 ### [`v3.9.7`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.7-1812317133): 3.9.7 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.6-117960...3.9.7-1812317133) Python 3.9.7 ### [`v3.9.6`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.6-117960): 3.9.6 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.5-109482...3.9.6-117960) Python 3.9.6 ### [`v3.9.5`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.5-109482): 3.9.5 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.4-103698...3.9.5-109482) Python 3.9.5 ### [`v3.9.4`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.4-103698): 3.9.4 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.3-103669...3.9.4-103698) Python 3.9.4 ### [`v3.9.3`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.3-103669): 3.9.3 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.2-99799...3.9.3-103669) Python 3.9.3 ### [`v3.9.2`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.2-99799): 3.9.2 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.1-96692...3.9.2-99799) Python 3.9.2 ### [`v3.9.1`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.1-96692): 3.9.1 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.9.0-96741...3.9.1-96692) Python 3.9.1 ### [`v3.9.0`](https://redirect.github.com/actions/python-versions/releases/tag/3.9.0-96741): 3.9.0 [Compare Source](https://redirect.github.com/actions/python-versions/compare/3.8.18-12303122501...3.9.0-96741) Python 3.9.0 </details> --- ### 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**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/python-cloud-core). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuNzQuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Automated: Migrate {target_path} from gsutil to gcloud storage
This CL is part of the on going effort to migrate from the legacy
`gsutil` tool to the new and improved `gcloud storage` command-line
interface.
`gcloud storage` is the recommended and modern tool for interacting with
Google Cloud Storage, offering better performance, unified
authentication, and a more consistent command structure with other
`gcloud` components. 🚀
### Automation Details
This change was **generated automatically** by an agent that targets
users of `gsutil`.
The transformations applied are based on the [gsutil to gcloud storage
migration guide](http://go/gsutil-gcloud-storage-migration-guide).
### ⚠️ Action Required: Please Review and Test Carefully
While we have based the automation on the migration guide, every use
case is unique.
**It is crucial that you thoroughly test these changes in environments
appropriate to your use-case before merging.**
Be aware of potential differences between `gsutil` and `gcloud storage`
that could impact your workflows.
For instance, the structure of command output may have changed,
requiring updates to any scripts that parse it. Similarly, command
behavior can differ subtly; the `gcloud storage rsync` command has a
different file deletion logic than `gsutil rsync`, which could lead to
unintended file deletions.
Our migration guides can help guide you through a list of mappings and
some notable differences between the two tools.
Standard presubmit tests are run as part of this CL's workflow. **If you
need to target an additional test workflow or require assistance with
testing, please let us know.**
Please verify that all your Cloud Storage operations continue to work as
expected to avoid any potential disruptions in production.
### Support and Collaboration
The `GCS CLI` team is here to help! If you encounter any issues, have a
complex use case that this automated change doesn't cover, or face any
other blockers, please don't hesitate to reach out.
We are happy to work with you to test and adjust these changes as
needed.
**Contact:** `gcs-cli-hyd@google.com`
We appreciate your partnership in this important migration effort!
#gsutil-migration
…n' into migration.python-cloud-core.migration.2026-02-09_17-15-38.migrate
Summary of ChangesHello @parthea, 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! This pull request completes a significant architectural change by migrating the Highlights
Changelog
Activity
Using Gemini Code AssistThe 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 by creating a comment using either
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 Limitations & Feedback Gemini Code Assist 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. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. 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. Footnotes
|
There was a problem hiding this 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 migrates the python-cloud-core library into this repository. The changes are extensive, involving the addition of the library's source code, tests, documentation, and various configuration files for CI/CD and development tooling. My review focused on the overall structure and correctness of the newly added files. The migration appears to be well-executed. I've added a couple of suggestions for minor improvements regarding mypy configuration and a security best practice in a utility script.
| @@ -0,0 +1,7 @@ | |||
| [mypy] | |||
| python_version = 3.6 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| jinja_env.globals["get_help"] = get_help | ||
|
|
||
| with io.open(source, "r") as f: | ||
| config = yaml.load(f) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The use of yaml.load() is unsafe and can lead to arbitrary code execution if processing untrusted YAML data. It is strongly recommended to use yaml.safe_load() instead. Although this script is used internally, adhering to security best practices is important for overall code health.
| config = yaml.load(f) | |
| config = yaml.safe_load(f) |
See #11000.
This PR should be merged with a merge-commit, not a squash-commit, in order to preserve the git history.