Skip to content

Bump kubernetes from 36.0.3 to 37.0.0 - #1803

Draft
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/kubernetes-37.0.0
Draft

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/kubernetes-37.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps kubernetes from 36.0.3 to 37.0.0.

Release notes

Sourced from kubernetes's releases.

Kubernetes Python Client v37.0.0 Stable Release

Getting started:

pip install --pre --upgrade kubernetes

Or from source, download attached zip file, then

unzip client-python-v37.0.0.zip
cd client-python-v37.0.0
python setup-release.py install

Then follow examples in https://github.com/kubernetes-client/python/tree/release-37.0/examples

Changelog: https://github.com/kubernetes-client/python/blob/release-37.0/CHANGELOG.md

Kubernetes Python Client v37.0.0 Beta 1 Release

Getting started:

pip install --pre --upgrade kubernetes

Or from source, download attached zip file, then

unzip client-python-v37.0.0b1.zip
cd client-python-v37.0.0b1
python setup-release.py install

Then follow examples in https://github.com/kubernetes-client/python/tree/release-37.0/examples

Changelog: https://github.com/kubernetes-client/python/blob/release-37.0/CHANGELOG.md

Kubernetes Python Client v37.0.0 Alpha 1 Release

Getting started:

pip install --pre --upgrade kubernetes

Or from source, download attached zip file, then

unzip client-python-v37.0.0a1.zip
cd client-python-v37.0.0a1
</tr></table> 

... (truncated)

Changelog

Sourced from kubernetes's changelog.

v37.0.0

Kubernetes API Version: v1.37.1

Breaking Change from upgrading OpenAPI Generator to v7.24.0

Both clients now use the modern Python generator instead of python-legacy. The asynchronous client uses the generator's asyncio library and aiohttp transport. Existing endpoint names, model names, and wire aliases are preserved, but applications may need the following updates:

  • Synchronous runtime dependencies now require urllib3>=2.6.3,<3, pydantic>=2.11, lazy-imports>=1,<2, typing-extensions>=4.7.1, and python-dateutil>=2.8.2.
  • Asynchronous runtime dependencies now require aiohttp>=3.13.5,<4.0.0, aiohttp-retry>=2.8.3, pydantic>=2.11, lazy-imports>=1,<2, typing-extensions>=4.7.1, and python-dateutil>=2.8.2. certifi and six are no longer direct asynchronous dependencies. Python 3.10 remains the minimum supported version for both clients.
  • Models and API-call arguments now use Pydantic validation. Invalid, unknown, or previously coerced values can raise pydantic.ValidationError before a request is sent; models are keyword-only, reject unknown fields during construction, and validate assignments. The model local_vars_configuration argument and Configuration's discard_unknown_keys and disabled_client_side_validations arguments are removed. client_side_validation=False no longer disables generated validation.
  • Low-level synchronous transport interfaces changed. Direct callers of ApiClient.request, ApiClient.call_api, ApiClient.deserialize, or the RESTClientObject HTTP-verb helpers must migrate to the modern request/response interface. ApiException.body is now decoded text instead of bytes.
  • Low-level asynchronous transport interfaces also changed. Direct callers of ApiClient.call_api, ApiClient.param_serialize, ApiClient.response_deserialize, or RESTClientObject.request must migrate to the modern aiohttp request/response interface. HTTP sessions are created lazily; close an owned client with await client.close() or an async context manager. Interactive websocket streams use the generated _without_preload_content operations.
  • Individual resource-deletion methods that previously returned V1Status, including CoreV1Api.delete_namespace and BatchV1Api.delete_namespaced_job, now return decoded dictionaries in both clients. A successful deletion can return either the deleted resource or a Status; access response fields with dictionary keys instead of model attributes.

... (truncated)

Commits
  • 849c83d Merge pull request #2722 from yliaog/automated-release-of-37.0.0-upstream-rel...
  • 97da133 Update the compatibility matrix and maintenance status
  • fb4e48d generated client change
  • c824922 update changelog
  • 8f5d6b6 update version constants for 37.0.0 release
  • 35e3b97 Update coverage requirement from >=7.16.1 to >=7.16.2
  • 5ef25e4 Merge pull request #2716 from kubernetes-client/automated-release-of-37.0.0b1...
  • 3715c8b Update the compatibility matrix and maintenance status
  • aeb765c generated client change
  • 4a8f56b generated API change
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [kubernetes](https://github.com/kubernetes-client/python) from 36.0.3 to 37.0.0.
- [Release notes](https://github.com/kubernetes-client/python/releases)
- [Changelog](https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md)
- [Commits](kubernetes-client/python@v36.0.3...v37.0.0)

---
updated-dependencies:
- dependency-name: kubernetes
  dependency-version: 37.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Oct 14, 2026
barroco
barroco previously approved these changes Oct 14, 2026
@barroco
barroco dismissed their stale review October 14, 2026 18:19

CI error

@BenjaminPelletier

Copy link
Copy Markdown
Member

I believe there may be a better approach than this PR; I will put this PR into draft while I propose the alternative and give contributors a chance to evaluate that alternative.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants