feat(sdk): loosen kubernetes dependency upper bound#13395
feat(sdk): loosen kubernetes dependency upper bound#13395aniketpati1121 wants to merge 2 commits into
Conversation
Signed-off-by: Aniket Patil <aniketpatil2027@gmail.com>
Signed-off-by: Aniket Patil <aniketpatil2027@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
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 Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
There was a problem hiding this comment.
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
kubernetesupper bound insdk/python/requirements.infrom<31to<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.txtis marked as autogenerated, but it hasn’t been re-resolved to reflect the updatedrequirements.inconstraint (it still pinskubernetes==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
| # kfp-server-api | ||
| kfp-server-api>=2.15.0,<3 | ||
| kubernetes>=8.0.0,<31 | ||
| kubernetes>=8.0.0,<37 |
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