Skip to content

fix(python): support Kubernetes client v36 - #6

Merged
stellan-lee merged 1 commit into
mainfrom
codex/fix-kubernetes-v36-compat
Jul 17, 2026
Merged

fix(python): support Kubernetes client v36#6
stellan-lee merged 1 commit into
mainfrom
codex/fix-kubernetes-v36-compat

Conversation

@jajajhhz

Copy link
Copy Markdown
Collaborator

Summary

Installing the Python SDK with Kubernetes client v36 no longer causes EdgeDevice GET and PUT operations to fail before sending an HTTP request. The SDK selects the response-deserialization argument supported by the installed client and declares the verified range as kubernetes>=28.1.0,<37, preventing an untested future major from resolving silently.

Fixes #5.

Validation

  • Kubernetes client 28.1.0: 4 compatibility tests passed, including real ApiClient GET and PUT calls through a fake transport.
  • Kubernetes client 36.0.0: 4 compatibility tests passed through the same path.
  • Existing ConfigMap tests plus the compatibility suite: 9 tests passed on v36.
  • Python source distribution and wheel built successfully.

@jajajhhz
jajajhhz requested review from stellan-lee and tomqin93 July 17, 2026 06:05

@stellan-lee stellan-lee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@stellan-lee
stellan-lee merged commit f8a4177 into main Jul 17, 2026
4 checks passed
@stellan-lee
stellan-lee deleted the codex/fix-kubernetes-v36-compat branch July 17, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(python): handle Kubernetes client v36 call_api breaking change

2 participants