Skip to content

feat(sdk): loosen kubernetes dependency upper bound#13395

Open
aniketpati1121 wants to merge 2 commits into
kubeflow:masterfrom
aniketpati1121:loosen-kubernetes-35-sdk
Open

feat(sdk): loosen kubernetes dependency upper bound#13395
aniketpati1121 wants to merge 2 commits into
kubeflow:masterfrom
aniketpati1121:loosen-kubernetes-35-sdk

Conversation

@aniketpati1121
Copy link
Copy Markdown
Contributor

Updated Kubernetes Python client dependency upper bound to allow newer compatible versions (tested with kubernetes 35.0.0). Verified SDK import and tests pass successfully. fixes #13390

Signed-off-by: Aniket Patil <aniketpatil2027@gmail.com>
Signed-off-by: Aniket Patil <aniketpatil2027@gmail.com>
Copilot AI review requested due to automatic review settings May 13, 2026 04:53
@google-oss-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign mprahl for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow Bot requested review from droctothorpe and nsingla May 13, 2026 04:53
@google-oss-prow
Copy link
Copy Markdown

Hi @aniketpati1121. Thanks for your PR.

I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Python SDK’s Kubernetes Python client dependency range to allow newer kubernetes client versions, addressing the constraint raised in #13390.

Changes:

  • Relax kubernetes upper bound in sdk/python/requirements.in from <31 to <37.
  • Add an autogenerated-file header to sdk/python/requirements.txt.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
sdk/python/requirements.in Relaxes the allowed kubernetes dependency range for the SDK package install requirements.
sdk/python/requirements.txt Adds a pip-compile header, but currently still pins an older kubernetes client version.
Comments suppressed due to low confidence (1)

sdk/python/requirements.txt:6

  • requirements.txt is marked as autogenerated, but it hasn’t been re-resolved to reflect the updated requirements.in constraint (it still pins kubernetes==30.1.0). Regenerate this file with pip-compile (upgrading the kubernetes package during resolution if needed) so the lockfile matches the intended dependency range.
cachetools==6.2.2
    # via google-auth
certifi==2025.11.12
    # via
    #   kfp-server-api
    #   kubernetes

Comment on lines 22 to +24
# kfp-server-api
kfp-server-api>=2.15.0,<3
kubernetes>=8.0.0,<31
kubernetes>=8.0.0,<37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(python-sdk): loosen python kubernetes to 35 version requirement

2 participants