Skip to content

Update kubernetes requirement from <37,>=12.0.1 to >=12.0.1,<38 - #5647

Merged
mr-c merged 3 commits into
masterfrom
dependabot/pip/kubernetes-gte-37.0.0-and-lt-38
Oct 15, 2026
Merged

mr-c merged 3 commits into
masterfrom
dependabot/pip/kubernetes-gte-37.0.0-and-lt-38

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Updates the requirements on kubernetes to permit the latest version.

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

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

You can trigger a rebase of this PR 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)

Updates the requirements on [kubernetes](https://github.com/kubernetes-client/python) to permit the latest version.
- [Release notes](https://github.com/kubernetes-client/python/releases)
- [Changelog](https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md)
- [Commits](kubernetes-client/python@v12.0.1...v37.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 12, 2026
@mr-c mr-c changed the title Update kubernetes requirement from <37,>=12.0.1 to >=37.0.0,<38 Update kubernetes requirement from <37,>=12.0.1 to >=12.0.1,<38 Oct 12, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

A newer version of kubernetes exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@mr-c
mr-c force-pushed the dependabot/pip/kubernetes-gte-37.0.0-and-lt-38 branch from 5c7df26 to 3411ea4 Compare October 15, 2026 07:21
@mr-c
mr-c enabled auto-merge (squash) October 15, 2026 07:23
@mr-c
mr-c merged commit b43e31f into master Oct 15, 2026
3 checks passed
@mr-c
mr-c deleted the dependabot/pip/kubernetes-gte-37.0.0-and-lt-38 branch October 15, 2026 09:00
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 Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant