From 173931a89b3e86d7d4c5ce9ba45dfeed14419174 Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 13 Sep 2024 21:39:03 +0000 Subject: [PATCH 1/5] update version constants for 31.0.0 release --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index ae18a12c6..5b34142d8 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,13 +18,13 @@ KUBERNETES_BRANCH = "release-1.31" # client version for packaging and releasing. -CLIENT_VERSION = "31.0.0b1" +CLIENT_VERSION = "31.0.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 a15ecb1936361ab74da964b4d8fa714f057fc755 Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 13 Sep 2024 21:39:03 +0000 Subject: [PATCH 2/5] update changelog --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14edd7981..59c6c468d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# v31.0.0 + +Kubernetes API Version: v1.31.1 + +### API Change +- The resource/v1alpha3.ResourceSliceList filed which should have been named "metadata" but was instead named "listMeta" is now properly "metadata". ([kubernetes/kubernetes#126761](https://github.com/kubernetes/kubernetes/pull/126761), [@thockin](https://github.com/thockin)) [SIG API Machinery] + + # v31.0.0b1 Kubernetes API Version: v1.31.0 From 77a9bd01b6a597b1c3ff3ed71ae42c2b1c757ad3 Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 13 Sep 2024 21:39:37 +0000 Subject: [PATCH 3/5] 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 e7f1c4d97..710a581aa 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.31 -- Package version: 31.0.0b1 +- Package version: 31.0.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 074e0149c..a6031b6ce 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__ = "31.0.0b1" +__version__ = "31.0.0" from . import client from . import config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 044137d6e..d08cb798a 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "31.0.0b1" +__version__ = "31.0.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 fe5bf521b..11f6169f3 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/31.0.0b1/python' + self.user_agent = 'OpenAPI-Generator/31.0.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 6d8f21b1a..a7767caba 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.31\n"\ - "SDK Package Version: 31.0.0b1".\ + "SDK Package Version: 31.0.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index cf0b30dbc..f3651f394 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 = "31.0.0b1" +CLIENT_VERSION = "31.0.0" PACKAGE_NAME = "kubernetes" -DEVELOPMENT_STATUS = "4 - Beta" +DEVELOPMENT_STATUS = "5 - Production/Stable" # To install the library, run the following # From 365dbaf55be253c6f1e2d25f8d85c02ece9e094d Mon Sep 17 00:00:00 2001 From: yliao Date: Fri, 13 Sep 2024 21:46:10 +0000 Subject: [PATCH 4/5] Update the compatibility matrix and maintenance status --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6574e74a9..6fb1b4a03 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ supported versions of Kubernetes clusters. - [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.0/): Kubernetes 1.29 or below (+-), Kubernetes 1.30 (✓), Kubernetes 1.31 or above (+-) -- [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0b1/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) +- [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. @@ -161,12 +161,13 @@ between client-python versions. | 27.0 Alpha/Beta | 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 | ✓ | +| 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 | Kubernetes main repo, 1.30 branch | ✓ | -| 31.0 Alpha/Beta | Kubernetes main repo, 1.31 branch | ✓ | +| 31.0 Alpha/Beta | Kubernetes main repo, 1.31 branch | ✗ | +| 31.0 | Kubernetes main repo, 1.31 branch | ✓ | > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. From dbdba2b6a881a088eddb96da6ed92a91a2a28364 Mon Sep 17 00:00:00 2001 From: yliao Date: Wed, 18 Sep 2024 20:59:09 +0000 Subject: [PATCH 5/5] Fixed CHANGELOG, the API version should be 1.31.0, the release tooling mistook 1.31.1 API. --- CHANGELOG.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59c6c468d..fee0b75e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,11 @@ # v31.0.0 -Kubernetes API Version: v1.31.1 - -### API Change -- The resource/v1alpha3.ResourceSliceList filed which should have been named "metadata" but was instead named "listMeta" is now properly "metadata". ([kubernetes/kubernetes#126761](https://github.com/kubernetes/kubernetes/pull/126761), [@thockin](https://github.com/thockin)) [SIG API Machinery] - +Kubernetes API Version: v1.31.0 # v31.0.0b1 Kubernetes API Version: v1.31.0 - # v31.0.0a1 Kubernetes API Version: v1.31.0