From 45eb341e2bd3964d166de0a3055528b62f9e440e Mon Sep 17 00:00:00 2001 From: yliao Date: Mon, 9 Jun 2025 15:34:24 +0000 Subject: [PATCH 1/4] update version constants for 33.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 34cc41a011..e9c1e5d454 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,13 +18,13 @@ KUBERNETES_BRANCH = "release-1.33" # client version for packaging and releasing. -CLIENT_VERSION = "33.1.0b1" +CLIENT_VERSION = "33.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 9d712b488e5d782c547c86271edc6c77fe4ee1d0 Mon Sep 17 00:00:00 2001 From: yliao Date: Mon, 9 Jun 2025 15:34:25 +0000 Subject: [PATCH 2/4] update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d401890c3..39c8c746c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v33.1.0 + +Kubernetes API Version: v1.33.1 + + # v33.1.0b1 Kubernetes API Version: v1.33.1 From f00d2b7a0efb46acd38b82ea3ec483357ce70a1f Mon Sep 17 00:00:00 2001 From: yliao Date: Mon, 9 Jun 2025 15:35:06 +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 88bd3e4eed..e4199ed71c 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.33 -- Package version: 33.1.0b1 +- Package version: 33.1.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 56d6bcd6f9..2101f0c63f 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__ = "33.1.0b1" +__version__ = "33.1.0" from . import client from . import config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 1949226dc6..b2e039dff7 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "33.1.0b1" +__version__ = "33.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 d628eb96cc..fff2e820a1 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/33.1.0b1/python' + self.user_agent = 'OpenAPI-Generator/33.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 15d17a7cf5..67ea667dc6 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.33\n"\ - "SDK Package Version: 33.1.0b1".\ + "SDK Package Version: 33.1.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index 4342412c08..6bc4a7a330 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 = "33.1.0b1" +CLIENT_VERSION = "33.1.0" PACKAGE_NAME = "kubernetes" -DEVELOPMENT_STATUS = "4 - Beta" +DEVELOPMENT_STATUS = "5 - Production/Stable" # To install the library, run the following # From 5a367e94d1b185fb31c1683a5c4d834a467293b7 Mon Sep 17 00:00:00 2001 From: yliao Date: Mon, 9 Jun 2025 15:38:01 +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 f0cfedab94..99e2b38e08 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ supported versions of Kubernetes clusters. - [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.0/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-) - [client 32.y.z](https://pypi.org/project/kubernetes/32.0.1/): Kubernetes 1.31 or below (+-), Kubernetes 1.32 (✓), Kubernetes 1.33 or above (+-) -- [client 33.y.z](https://pypi.org/project/kubernetes/33.1.0b1/): Kubernetes 1.32 or below (+-), Kubernetes 1.33 (✓), Kubernetes 1.34 or above (+-) +- [client 33.y.z](https://pypi.org/project/kubernetes/33.1.0/): Kubernetes 1.32 or below (+-), Kubernetes 1.33 (✓), Kubernetes 1.34 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. @@ -167,12 +167,13 @@ between client-python versions. | 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 | ✓ | +| 30.0 | Kubernetes main repo, 1.30 branch | ✗ | | 31.0 Alpha/Beta | Kubernetes main repo, 1.31 branch | ✗ | | 31.0 | Kubernetes main repo, 1.31 branch | ✓ | | 32.0 Alpha/Beta | Kubernetes main repo, 1.32 branch | ✗ | | 32.1 | Kubernetes main repo, 1.32 branch | ✓ | -| 33.0 Alpha/Beta | Kubernetes main repo, 1.33 branch | ✓ | +| 33.1 Alpha/Beta | Kubernetes main repo, 1.33 branch | ✗ | +| 33.1 | Kubernetes main repo, 1.33 branch | ✓ | > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.