From bf4e9319e218165c3dbb39612dfc6bf0c6b42ffa Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 5 Jun 2024 20:34:54 +0000 Subject: [PATCH 1/4] update version constants for 30.1.0 release --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index 946f263d13..ab63dc56ad 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,13 +18,13 @@ KUBERNETES_BRANCH = "release-1.30" # client version for packaging and releasing. -CLIENT_VERSION = "30.1.0b1" +CLIENT_VERSION = "30.1.0" # Name of the release package PACKAGE_NAME = "kubernetes" # Stage of development, mainly used in setup.py's classifiers. -DEVELOPMENT_STATUS = "4 - Beta" +DEVELOPMENT_STATUS = "5 - Production/Stable" # If called directly, return the constant value given From 2fb261c61fdeebfba37d9e93d96086d1fed7f3c0 Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 5 Jun 2024 20:34:55 +0000 Subject: [PATCH 2/4] update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cef05b3c89..b433f4d259 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v30.1.0 + +Kubernetes API Version: v1.30.1 + + # v30.1.0b1 Kubernetes API Version: v1.30.1 From 9ca7bbe9bea49a0f856444d1fa3c4521d7ddc5fe Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 5 Jun 2024 20:35:24 +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 | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index 7397147eae..eeeb10c593 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.1.0b1 +- Package version: 30.1.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 3b914bd280..175ef1bc8f 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.1.0b1" +__version__ = "30.1.0" from . import client from . import config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 2396fe6664..abe65e3b06 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "30.1.0b1" +__version__ = "30.1.0" # 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 c996f9ac0f..0324e122ae 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.1.0b1/python' + self.user_agent = 'OpenAPI-Generator/30.1.0/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 b789efbdce..e098b02b21 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.1.0b1".\ + "SDK Package Version: 30.1.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index 813b788db2..dcf7b98674 100644 --- a/setup.py +++ b/setup.py @@ -16,9 +16,9 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "30.1.0b1" +CLIENT_VERSION = "30.1.0" PACKAGE_NAME = "kubernetes" -DEVELOPMENT_STATUS = "4 - Beta" +DEVELOPMENT_STATUS = "5 - Production/Stable" # To install the library, run the following # From 58e29d0d3a3d5fc82aef8e89886e3b6cb200ec6c Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 5 Jun 2024 20:53:57 +0000 Subject: [PATCH 4/4] updated compatibility matrix and maintenance status --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4198f5f4b7..c85e670f97 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ 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.0b1/): Kubernetes 1.29 or below (+-), Kubernetes 1.30 (✓), Kubernetes 1.31 or above (+-) +- [client 30.y.z](https://pypi.org/project/kubernetes/30.1.0/): 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. @@ -158,12 +158,13 @@ between client-python versions. | 26.0 Alpha/Beta | Kubernetes main repo, 1.26 branch | ✗ | | 26.0 | Kubernetes main repo, 1.26 branch | ✗ | | 27.0 Alpha/Beta | Kubernetes main repo, 1.27 branch | ✗ | -| 27.0 | Kubernetes main repo, 1.27 branch | ✓ | +| 27.0 | Kubernetes main repo, 1.27 branch | ✗ | | 28.0 Alpha/Beta | Kubernetes main repo, 1.28 branch | ✗ | | 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 | ✓ | +| 30.0 Alpha/Beta | Kubernetes main repo, 1.30 branch | ✗ | +| 30.0 | 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.