Skip to content

Conversation

@renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Confidence
kubernetes ==33.1.0 -> ==34.1.0 age confidence

Release Notes

kubernetes-client/python (kubernetes)

v34.1.0

Compare Source

Kubernetes API Version: v1.34.1


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 September 30, 2025 00:49
@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 Sep 30, 2025
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Sep 30, 2025
@gemini-code-assist
Copy link
Contributor

Summary of Changes

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!

This pull request updates the kubernetes Python client library to its latest stable version, 34.1.0. This ensures that the project benefits from the most recent features, bug fixes, and API compatibility provided by the Kubernetes client, maintaining the stability and security of the application's interaction with Kubernetes clusters.

Highlights

  • Dependency Update: The kubernetes Python client library has been updated from version 33.1.0 to 34.1.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 by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

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 pull request 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 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

  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.

@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 30, 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.

Code Review

This pull request updates the kubernetes Python client from version 33.1.0 to 34.1.0. While keeping dependencies current is important, this major version bump aligns the client with Kubernetes API version 1.34. This creates a significant version skew with the GKE clusters used in the integration tests, which are created with a default version that is likely much older. This incompatibility is likely to cause test failures. My review comment highlights this risk and suggests updating the test environment to ensure compatibility.

google-cloud-gke-connect-gateway==0.10.4
google-auth==2.38.0
kubernetes==33.1.0
kubernetes==34.1.0
Copy link
Contributor

Choose a reason for hiding this comment

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

high

Updating to kubernetes client v34.1.0 targets Kubernetes API v1.34. The integration tests in get_namespace_test.py create a GKE cluster with a default version, which may be significantly older (e.g., v1.28 or v1.29). This large client/server version skew is unsupported (the Kubernetes API officially supports a skew of +/- 1 minor version) and will likely cause the tests to fail.

To fix this, the test setup in get_namespace_test.py should be updated to explicitly create a GKE cluster with a Kubernetes version compatible with this client, for example by setting initial_cluster_version to a 1.34.x version.

@glasnt glasnt merged commit a057729 into GoogleCloudPlatform:main Oct 3, 2025
11 checks passed
@renovate-bot renovate-bot deleted the renovate/kubernetes-34.x branch October 3, 2025 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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