Compare commits

...

17 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
bc8c6913f9
Merge pull request #2281 from yliaog/automated-release-of-31.0.0-upstream-release-31.0-1726263540
Some checks failed
Kubernetes Python Client - Validation / build (3.10) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.11) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.7) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.8) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.9, coverage) (push) Has been cancelled
Automated release of 31.0.0 upstream release 31.0 1726263540
2024-09-19 00:52:45 +01:00
yliao
dbdba2b6a8 Fixed CHANGELOG, the API version should be 1.31.0, the release tooling
mistook 1.31.1 API.
2024-09-18 20:59:41 +00:00
yliao
365dbaf55b Update the compatibility matrix and maintenance status 2024-09-13 21:48:17 +00:00
yliao
77a9bd01b6 generated client change 2024-09-13 21:48:17 +00:00
yliao
a15ecb1936 update changelog 2024-09-13 21:48:17 +00:00
yliao
173931a89b update version constants for 31.0.0 release 2024-09-13 21:48:16 +00:00
Kubernetes Prow Robot
d8ee677b52
Merge pull request #2277 from yliaog/automated-release-of-31.0.0b1-upstream-release-31.0-1725647903
Automated release of 31.0.0b1 upstream release 31.0 1725647903
2024-09-07 02:45:02 +01:00
yliao
7abc423ce2 updated compatibility matrix and maintenance status 2024-09-06 18:42:29 +00:00
yliao
2be6881b1d generated client change 2024-09-06 18:39:49 +00:00
yliao
e49c89a9e9 update changelog 2024-09-06 18:39:49 +00:00
yliao
c07f2a3261 update version constants for 31.0.0b1 release 2024-09-06 18:39:49 +00:00
Kavish Dahekar
1167585368 Update kube_config_test.py
fix missing method invocation
2024-09-06 18:39:49 +00:00
Kubernetes Prow Robot
7f228bcf9a
Merge pull request #2274 from yliaog/automated-release-of-31.0.0a1-upstream-release-31.0-1724971835
Automated release of 31.0.0a1 upstream release 31.0 1724971835
2024-08-30 00:07:31 +01:00
yliao
d57ab57d05 updated compatibility matrix and maintenance status in the README 2024-08-29 22:54:25 +00:00
yliao
689eaf8c0c generated client change 2024-08-29 22:51:09 +00:00
yliao
2cf4d6111c update changelog 2024-08-29 22:50:37 +00:00
yliao
fbda281116 update version constants for 31.0.0a1 release 2024-08-29 22:50:36 +00:00
10 changed files with 23 additions and 12 deletions

View File

@ -1,4 +1,12 @@
# v31.0.0+snapshot # v31.0.0
Kubernetes API Version: v1.31.0
# v31.0.0b1
Kubernetes API Version: v1.31.0
# v31.0.0a1
Kubernetes API Version: v1.31.0 Kubernetes API Version: v1.31.0

View File

@ -100,6 +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 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 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 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 (+-)
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.
@ -160,11 +161,13 @@ between client-python versions.
| 27.0 Alpha/Beta | Kubernetes main repo, 1.27 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 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 Alpha/Beta | Kubernetes main repo, 1.29 branch | ✗ |
| 29.0 | 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 | ✓ | | 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 | ✓ |
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.

View File

@ -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: This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: release-1.31 - API version: release-1.31
- Package version: 31.0.0+snapshot - Package version: 31.0.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen - Build package: org.openapitools.codegen.languages.PythonClientCodegen
## Requirements. ## Requirements.

View File

@ -14,7 +14,7 @@
__project__ = 'kubernetes' __project__ = 'kubernetes'
# The version is auto-updated. Please do not edit. # The version is auto-updated. Please do not edit.
__version__ = "31.0.0+snapshot" __version__ = "31.0.0"
from . import client from . import client
from . import config from . import config

View File

@ -1396,7 +1396,7 @@ class TestKubeConfigLoader(BaseTestCase):
temp_file_path=tmp_path) temp_file_path=tmp_path)
self.assertFalse(True if not os.listdir(tmp_path) else False) self.assertFalse(True if not os.listdir(tmp_path) else False)
self.assertEqual(expected, actual) self.assertEqual(expected, actual)
_cleanup_temp_files _cleanup_temp_files()
def test_load_kube_config_from_empty_file_like_object(self): def test_load_kube_config_from_empty_file_like_object(self):
config_file_like_object = io.StringIO() config_file_like_object = io.StringIO()

View File

@ -14,7 +14,7 @@
from __future__ import absolute_import from __future__ import absolute_import
__version__ = "31.0.0+snapshot" __version__ = "31.0.0"
# import apis into sdk package # import apis into sdk package
from kubernetes.client.api.well_known_api import WellKnownApi from kubernetes.client.api.well_known_api import WellKnownApi

View File

@ -78,7 +78,7 @@ class ApiClient(object):
self.default_headers[header_name] = header_value self.default_headers[header_name] = header_value
self.cookie = cookie self.cookie = cookie
# Set default User-Agent. # Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/31.0.0+snapshot/python' self.user_agent = 'OpenAPI-Generator/31.0.0/python'
self.client_side_validation = configuration.client_side_validation self.client_side_validation = configuration.client_side_validation
def __enter__(self): def __enter__(self):

View File

@ -354,7 +354,7 @@ class Configuration(object):
"OS: {env}\n"\ "OS: {env}\n"\
"Python Version: {pyversion}\n"\ "Python Version: {pyversion}\n"\
"Version of the API: release-1.31\n"\ "Version of the API: release-1.31\n"\
"SDK Package Version: 31.0.0+snapshot".\ "SDK Package Version: 31.0.0".\
format(env=sys.platform, pyversion=sys.version) format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self): def get_host_settings(self):

View File

@ -18,13 +18,13 @@ import sys
KUBERNETES_BRANCH = "release-1.31" KUBERNETES_BRANCH = "release-1.31"
# client version for packaging and releasing. # client version for packaging and releasing.
CLIENT_VERSION = "31.0.0+snapshot" CLIENT_VERSION = "31.0.0"
# Name of the release package # Name of the release package
PACKAGE_NAME = "kubernetes" PACKAGE_NAME = "kubernetes"
# Stage of development, mainly used in setup.py's classifiers. # Stage of development, mainly used in setup.py's classifiers.
DEVELOPMENT_STATUS = "3 - Alpha" DEVELOPMENT_STATUS = "5 - Production/Stable"
# If called directly, return the constant value given # If called directly, return the constant value given

View File

@ -16,9 +16,9 @@ from setuptools import setup
# Do not edit these constants. They will be updated automatically # Do not edit these constants. They will be updated automatically
# by scripts/update-client.sh. # by scripts/update-client.sh.
CLIENT_VERSION = "31.0.0+snapshot" CLIENT_VERSION = "31.0.0"
PACKAGE_NAME = "kubernetes" PACKAGE_NAME = "kubernetes"
DEVELOPMENT_STATUS = "3 - Alpha" DEVELOPMENT_STATUS = "5 - Production/Stable"
# To install the library, run the following # To install the library, run the following
# #