From 3668674690ddf74e7843e1983a3aa51fb308ff37 Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 22 May 2024 00:32:05 +0000 Subject: [PATCH 1/4] update version constants for 30.1.0a1 release --- scripts/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/constants.py b/scripts/constants.py index 16d1d409ff..c34c081cab 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,7 +18,7 @@ KUBERNETES_BRANCH = "release-1.30" # client version for packaging and releasing. -CLIENT_VERSION = "30.0.0+snapshot" +CLIENT_VERSION = "30.1.0a1" # Name of the release package PACKAGE_NAME = "kubernetes" From 1ec1d08c60d9cda8ce9eaa851a38ccf25bd2da1e Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 22 May 2024 00:32:06 +0000 Subject: [PATCH 2/4] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1eeb65bde..7ac3eafe48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# v30.0.0+snapshot +# v30.1.0a1 Kubernetes API Version: v1.30.1 From 44d934e6b7f02aa7b289eb06a7f04c9231ffcc73 Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 22 May 2024 00:32:35 +0000 Subject: [PATCH 3/4] generated client change --- kubernetes/README.md | 2 +- kubernetes/__init__.py | 2 +- kubernetes/client/__init__.py | 2 +- kubernetes/client/api_client.py | 2 +- kubernetes/client/configuration.py | 2 +- setup.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index be850c0dcc..07f0f99d64 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: release-1.30 -- Package version: 30.0.0+snapshot +- Package version: 30.1.0a1 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 68c0260040..ee855b0e13 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "30.0.0+snapshot" +__version__ = "30.1.0a1" from . import client from . import config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 1b6c67d098..7557c5e606 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "30.0.0+snapshot" +__version__ = "30.1.0a1" # import apis into sdk package from kubernetes.client.api.well_known_api import WellKnownApi diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index f46bdb52a0..6a58934425 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/30.0.0+snapshot/python' + self.user_agent = 'OpenAPI-Generator/30.1.0a1/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index 0c7d3c1424..af5ff775e1 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -354,7 +354,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.30\n"\ - "SDK Package Version: 30.0.0+snapshot".\ + "SDK Package Version: 30.1.0a1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index cc62e71aa0..c05b9130cc 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "30.0.0+snapshot" +CLIENT_VERSION = "30.1.0a1" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "3 - Alpha" From d9e618f63c4e847ff0094badfeb04a0dc32a3e0e Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 22 May 2024 00:37:22 +0000 Subject: [PATCH 4/4] updated compatibility matrix and maintenance status in README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 1e164b091a..73829b9814 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,8 @@ supported versions of Kubernetes clusters. - [client 27.y.z](https://pypi.org/project/kubernetes/27.2.0/): Kubernetes 1.26 or below (+-), Kubernetes 1.27 (✓), Kubernetes 1.28 or above (+-) - [client 28.y.z](https://pypi.org/project/kubernetes/28.1.0/): Kubernetes 1.27 or below (+-), Kubernetes 1.28 (✓), Kubernetes 1.29 or above (+-) - [client 29.y.z](https://pypi.org/project/kubernetes/29.0.0/): Kubernetes 1.28 or below (+-), Kubernetes 1.29 (✓), Kubernetes 1.30 or above (+-) +- [client 30.y.z](https://pypi.org/project/kubernetes/30.1.0a1/): Kubernetes 1.29 or below (+-), Kubernetes 1.30 (✓), Kubernetes 1.31 or above (+-) + > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. @@ -161,6 +163,7 @@ between client-python versions. | 28.0 | Kubernetes main repo, 1.28 branch | ✓ | | 29.0 Alpha/Beta | Kubernetes main repo, 1.29 branch | ✗ | | 29.0 | Kubernetes main repo, 1.29 branch | ✓ | +| 30.0 Alpha/Beta | Kubernetes main repo, 1.30 branch | ✓ | > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.