From a6ded17de02da8c2eecab08a1408096f3390865c Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Fri, 9 Jun 2023 16:54:20 +0000 Subject: [PATCH 1/4] update version constants for 27.2.0b1 release --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index ad716c684..6084924c9 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,13 +18,13 @@ import sys KUBERNETES_BRANCH = "release-1.27" # client version for packaging and releasing. -CLIENT_VERSION = "27.2.0a1" +CLIENT_VERSION = "27.2.0b1" # Name of the release package PACKAGE_NAME = "kubernetes" # Stage of development, mainly used in setup.py's classifiers. -DEVELOPMENT_STATUS = "3 - Alpha" +DEVELOPMENT_STATUS = "4 - Beta" # If called directly, return the constant value given From 84570c6f819a62734fe1abfdb14f36f8dc38c6f2 Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Fri, 9 Jun 2023 16:54:20 +0000 Subject: [PATCH 2/4] update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49748e171..1136d7a72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v27.2.0b1 + +Kubernetes API Version: v1.27.2 + + # v27.2.0a1 Kubernetes API Version: v1.27.2 From 432047b7693cab0cf3ea00880151fe9acf60bca9 Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Fri, 9 Jun 2023 16:54:43 +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 ee860ee7a..abcb955e2 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.27 -- Package version: 27.2.0a1 +- Package version: 27.2.0b1 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index fb87eb994..ad0ec9044 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__ = "27.2.0a1" +__version__ = "27.2.0b1" from . import client from . import config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 862676adf..10967bfd7 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "27.2.0a1" +__version__ = "27.2.0b1" # 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 e2adce649..3e2e0a9b8 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -78,7 +78,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/27.2.0a1/python' + self.user_agent = 'OpenAPI-Generator/27.2.0b1/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 571b48cc9..cbe4da0f2 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -350,7 +350,7 @@ class Configuration(object): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.27\n"\ - "SDK Package Version: 27.2.0a1".\ + "SDK Package Version: 27.2.0b1".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index 70f611cb0..5f16a54f8 100644 --- a/setup.py +++ b/setup.py @@ -16,9 +16,9 @@ from setuptools import setup # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "27.2.0a1" +CLIENT_VERSION = "27.2.0b1" PACKAGE_NAME = "kubernetes" -DEVELOPMENT_STATUS = "3 - Alpha" +DEVELOPMENT_STATUS = "4 - Beta" # To install the library, run the following # From 769d9f2923d8c2b738e146bf02c818bdd4763f0f Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Fri, 9 Jun 2023 16:59:39 +0000 Subject: [PATCH 4/4] updated compatibility matrix and maintenance status --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a89c20aba..c95000843 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ supported versions of Kubernetes clusters. - [client 24.y.z](https://pypi.org/project/kubernetes/24.2.0/): Kubernetes 1.23 or below (+-), Kubernetes 1.24 (✓), Kubernetes 1.25 or above (+-) - [client 25.y.z](https://pypi.org/project/kubernetes/25.3.0/): Kubernetes 1.24 or below (+-), Kubernetes 1.25 (✓), Kubernetes 1.26 or above (+-) - [client 26.y.z](https://pypi.org/project/kubernetes/26.1.0/): Kubernetes 1.25 or below (+-), Kubernetes 1.26 (✓), Kubernetes 1.27 or above (+-) -- [client 27.y.z](https://pypi.org/project/kubernetes/27.2.0a1/): Kubernetes 1.26 or below (+-), Kubernetes 1.27 (✓), Kubernetes 1.28 or above (+-) +- [client 27.y.z](https://pypi.org/project/kubernetes/27.2.0b1/): Kubernetes 1.26 or below (+-), Kubernetes 1.27 (✓), Kubernetes 1.28 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.