From 075e36ba7eeedfac9f1b7e25cf340034b09c0ecf Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Tue, 22 Feb 2022 09:45:58 -0800 Subject: [PATCH 1/6] updated annoucement mail to dev@kubernetes.io --- devel/release.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/release.md b/devel/release.md index c60f5eaca2..2b01d1e4c9 100644 --- a/devel/release.md +++ b/devel/release.md @@ -256,7 +256,7 @@ the target branch to "release-x.y". If the release is a pre-release, check the ## Announcement -Send an announcement email to kubernetes-dev@googlegroups.com with the subject: [ANNOUNCE] kubernetes python-client $VERSION is released +Send an announcement email to dev@kubernetes.io with the subject: [ANNOUNCE] kubernetes python-client $VERSION is released ## Cleanup From 5a7a133c786ed6eecb23464ca77066373517da6a Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Mon, 28 Feb 2022 09:15:33 -0800 Subject: [PATCH 2/6] update version constants for 23.3.0 release --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index 69e7ecd7e3..3ca925cc1d 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,13 +18,13 @@ KUBERNETES_BRANCH = "release-1.23" # client version for packaging and releasing. -CLIENT_VERSION = "23.3.0b1" +CLIENT_VERSION = "23.3.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 46c189c31c5b5dc2d5203b5a0392788b87460c67 Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Mon, 28 Feb 2022 09:15:33 -0800 Subject: [PATCH 3/6] update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 415c71680c..867a1c02e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v23.3.0 + +Kubernetes API Version: v1.23.4 + + # v23.3.0b1 Kubernetes API Version: v1.23.4 From 72a963c2a97cffcd9cdf39874145bfa4d3e428d2 Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Mon, 28 Feb 2022 09:19:22 -0800 Subject: [PATCH 4/6] generated API change --- kubernetes/swagger.json.unprocessed | 3 +-- scripts/swagger.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/kubernetes/swagger.json.unprocessed b/kubernetes/swagger.json.unprocessed index 7ad837724b..6ea57d5528 100644 --- a/kubernetes/swagger.json.unprocessed +++ b/kubernetes/swagger.json.unprocessed @@ -13849,8 +13849,7 @@ }, "selector": { "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector", - "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace.", - "x-kubernetes-patch-strategy": "replace" + "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace." } }, "type": "object" diff --git a/scripts/swagger.json b/scripts/swagger.json index 6e60c77b56..defafbdbf2 100644 --- a/scripts/swagger.json +++ b/scripts/swagger.json @@ -13934,8 +13934,7 @@ }, "selector": { "$ref": "#/definitions/v1.LabelSelector", - "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace.", - "x-kubernetes-patch-strategy": "replace" + "description": "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace." } }, "type": "object" From 2dffce0e695135bcc8614a188e2addea1ff332bb Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Mon, 28 Feb 2022 09:19:23 -0800 Subject: [PATCH 5/6] generated client change --- kubernetes/.openapi-generator/swagger.json.sha256 | 2 +- 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 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kubernetes/.openapi-generator/swagger.json.sha256 b/kubernetes/.openapi-generator/swagger.json.sha256 index 74f3c6fee7..feabff3b3a 100644 --- a/kubernetes/.openapi-generator/swagger.json.sha256 +++ b/kubernetes/.openapi-generator/swagger.json.sha256 @@ -1 +1 @@ -48483013793661c5a774ef4113bb711cc47128d06ff276e06c733bbd243deec5 \ No newline at end of file +2c67f8ba62257eed1612aa63351c8a769cb6bac8cf98bb42b91b50c6bf3eb6dc \ No newline at end of file diff --git a/kubernetes/README.md b/kubernetes/README.md index 65421f40ee..090efbb91a 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.23 -- Package version: 23.3.0b1 +- Package version: 23.3.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index b5a1d78a1b..0462cd1f5c 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__ = "23.3.0b1" +__version__ = "23.3.0" import kubernetes.client import kubernetes.config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 05cf4c0462..88fbbad747 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "23.3.0b1" +__version__ = "23.3.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 c4779ad174..72bac64a28 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/23.3.0b1/python' + self.user_agent = 'OpenAPI-Generator/23.3.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 9c2cd240f9..5871c00b11 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -350,7 +350,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.23\n"\ - "SDK Package Version: 23.3.0b1".\ + "SDK Package Version: 23.3.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index 170663e35b..3f30e6fdb3 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 = "23.3.0b1" +CLIENT_VERSION = "23.3.0" PACKAGE_NAME = "kubernetes" -DEVELOPMENT_STATUS = "4 - Beta" +DEVELOPMENT_STATUS = "5 - Production/Stable" # To install the library, run the following # From 1a5032713c86e5ac569590a02e6c1ec506ddbd41 Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Mon, 28 Feb 2022 09:23:27 -0800 Subject: [PATCH 6/6] updated compatibility matrix for 1.23.3 GA --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 248c7a721d..245fbb881d 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ supported versions of Kubernetes clusters. - [client 20.y.z](https://pypi.org/project/kubernetes/20.13.0/): Kubernetes 1.19 or below (+-), Kubernetes 1.20 (✓), Kubernetes 1.21 or above (+-) - [client 21.y.z](https://pypi.org/project/kubernetes/21.7.0/): Kubernetes 1.20 or below (+-), Kubernetes 1.21 (✓), Kubernetes 1.22 or above (+-) - [client 22.y.z](https://pypi.org/project/kubernetes/22.6.0/): Kubernetes 1.21 or below (+-), Kubernetes 1.22 (✓), Kubernetes 1.23 or above (+-) -- [client 23.y.z](https://pypi.org/project/kubernetes/23.3.0b1/): Kubernetes 1.22 or below (+-), Kubernetes 1.23 (✓), Kubernetes 1.24 or above (+-) +- [client 23.y.z](https://pypi.org/project/kubernetes/23.3.0/): Kubernetes 1.22 or below (+-), Kubernetes 1.23 (✓), Kubernetes 1.24 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.