diff --git a/CHANGELOG.md b/CHANGELOG.md index 243274abd6..009730b99f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# v36.0.0a2 + +Kubernetes API Version: v1.36.0 + + # v36.0.0a1 Kubernetes API Version: v1.36.0 diff --git a/README.md b/README.md index b013653552..277f149676 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ supported versions of Kubernetes clusters. - [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 (+-) - [client 34.y.z](https://pypi.org/project/kubernetes/34.1.0/): Kubernetes 1.33 or below (+-), Kubernetes 1.34 (✓), Kubernetes 1.35 or above (+-) - [client 35.y.z](https://pypi.org/project/kubernetes/35.0.0/): Kubernetes 1.34 or below (+-), Kubernetes 1.35 (✓), Kubernetes 1.36 or above (+-) -- [client 36.y.z](https://pypi.org/project/kubernetes/36.0.0a1/): Kubernetes 1.35 or below (+-), Kubernetes 1.36 (✓), Kubernetes 1.37 or above (+-) +- [client 36.y.z](https://pypi.org/project/kubernetes/36.0.0a2/): Kubernetes 1.35 or below (+-), Kubernetes 1.36 (✓), Kubernetes 1.37 or above (+-) > See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release. diff --git a/kubernetes/README.md b/kubernetes/README.md index 41373c282a..86c1b2c422 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.36 -- Package version: 36.0.0a1 +- Package version: 36.0.0a2 - Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index c00af7efbf..896db73efa 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__ = "36.0.0a1" +__version__ = "36.0.0a2" from . import client from . import config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 76669baf4a..7c4e25b555 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "36.0.0a1" +__version__ = "36.0.0a2" # 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 d2fdd6bda7..0d6d5203ce 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/36.0.0a1/python' + self.user_agent = 'OpenAPI-Generator/36.0.0a2/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 fe8e1a2083..6390786093 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -426,7 +426,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.36\n"\ - "SDK Package Version: 36.0.0a1".\ + "SDK Package Version: 36.0.0a2".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes_asyncio/README.md b/kubernetes_asyncio/README.md index d3d2deeb80..650f9e1045 100644 --- a/kubernetes_asyncio/README.md +++ b/kubernetes_asyncio/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.36 -- Package version: 36.0.0a1 +- Package version: 36.0.0a2 - Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen ## Requirements. diff --git a/kubernetes_asyncio/__init__.py b/kubernetes_asyncio/__init__.py index 9860b02854..0b0782271e 100644 --- a/kubernetes_asyncio/__init__.py +++ b/kubernetes_asyncio/__init__.py @@ -14,7 +14,7 @@ __project__ = "kubernetes_asyncio" # The version is auto-updated. Please do not edit. -__version__ = "36.0.0a1" +__version__ = "36.0.0a2" import kubernetes_asyncio.client as client diff --git a/kubernetes_asyncio/client/__init__.py b/kubernetes_asyncio/client/__init__.py index 2d9bc96af9..cf622726d0 100644 --- a/kubernetes_asyncio/client/__init__.py +++ b/kubernetes_asyncio/client/__init__.py @@ -14,7 +14,7 @@ from __future__ import absolute_import -__version__ = "36.0.0a1" +__version__ = "36.0.0a2" # import apis into sdk package from kubernetes_asyncio.client.api.well_known_api import WellKnownApi diff --git a/kubernetes_asyncio/client/api_client.py b/kubernetes_asyncio/client/api_client.py index 60bc8f5e37..5374315ad3 100644 --- a/kubernetes_asyncio/client/api_client.py +++ b/kubernetes_asyncio/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/36.0.0a1/python' + self.user_agent = 'OpenAPI-Generator/36.0.0a2/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/kubernetes_asyncio/client/api_client.py.orig b/kubernetes_asyncio/client/api_client.py.orig index fff27f376d..a365d2274d 100644 --- a/kubernetes_asyncio/client/api_client.py.orig +++ b/kubernetes_asyncio/client/api_client.py.orig @@ -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/36.0.0a1/python' + self.user_agent = 'OpenAPI-Generator/36.0.0a2/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/kubernetes_asyncio/client/configuration.py b/kubernetes_asyncio/client/configuration.py index ba8c16a0d0..743bc3caac 100644 --- a/kubernetes_asyncio/client/configuration.py +++ b/kubernetes_asyncio/client/configuration.py @@ -435,7 +435,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.36\n"\ - "SDK Package Version: 36.0.0a1".\ + "SDK Package Version: 36.0.0a2".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes_asyncio/client/configuration.py.orig b/kubernetes_asyncio/client/configuration.py.orig index 2290944af0..8bb178e54a 100644 --- a/kubernetes_asyncio/client/configuration.py.orig +++ b/kubernetes_asyncio/client/configuration.py.orig @@ -432,7 +432,7 @@ conf = client.Configuration( "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.36\n"\ - "SDK Package Version: 36.0.0a1".\ + "SDK Package Version: 36.0.0a2".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes_asyncio/setup.py b/kubernetes_asyncio/setup.py index 15c1eedad2..740e9792f5 100644 --- a/kubernetes_asyncio/setup.py +++ b/kubernetes_asyncio/setup.py @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "client" -VERSION = "36.0.0a1" +VERSION = "36.0.0a2" # To install the library, run the following # # python setup.py install diff --git a/scripts/constants.py b/scripts/constants.py index 0831522c8a..c85e42c064 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,7 +18,7 @@ KUBERNETES_BRANCH = "release-1.36" # client version for packaging and releasing. -CLIENT_VERSION = "36.0.0a1" +CLIENT_VERSION = "36.0.0a2" # Name of the release package PACKAGE_NAME = "kubernetes" diff --git a/setup-asyncio.py b/setup-asyncio.py index 0bf1f8f233..39beacb14a 100644 --- a/setup-asyncio.py +++ b/setup-asyncio.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "36.0.0a1" +CLIENT_VERSION = "36.0.0a2" PACKAGE_NAME = "kubernetes_asyncio" DEVELOPMENT_STATUS = "3 - Alpha" @@ -43,10 +43,11 @@ url="https://github.com/kubernetes-client/kubernetes_asyncio", keywords=["Swagger", "OpenAPI", "Kubernetes"], install_requires=REQUIRES, - python_requires=">=3.8", + python_requires=">=3.10", tests_require=TESTS_REQUIRES, packages=[ 'kubernetes_asyncio', + 'kubernetes_asyncio.config', 'kubernetes_asyncio.client', 'kubernetes_asyncio.client.api', 'kubernetes_asyncio.client.models'], @@ -65,5 +66,6 @@ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ], ) diff --git a/setup-release.py b/setup-release.py new file mode 100644 index 0000000000..46cbd14eda --- /dev/null +++ b/setup-release.py @@ -0,0 +1,99 @@ +# Copyright 2016 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from setuptools import setup + +# Do not edit these constants. They will be updated automatically +# by scripts/update-client.sh. +CLIENT_VERSION = "36.0.0+snapshot" +PACKAGE_NAME = "kubernetes" +DEVELOPMENT_STATUS = "3 - Alpha" + +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +EXTRAS = { + 'google-auth': ['google-auth>=1.0.1'] +} +REQUIRES = [] +with open('requirements.txt') as f: + for line in f: + line, _, _ = line.partition('#') + line = line.strip() + if not line or line.startswith('setuptools'): + continue + elif ';' in line: + requirement, _, specifier = line.partition(';') + for_specifier = EXTRAS.setdefault(':{}'.format(specifier), []) + for_specifier.append(requirement) + else: + REQUIRES.append(line) + +with open('test-requirements.txt') as f: + TESTS_REQUIRES = f.readlines() + +with open('requirements-asyncio.txt') as f: + REQUIRES_ASYNCIO = f.readlines() + +with open('test-requirements-asyncio.txt') as f: + TESTS_REQUIRES_ASYNCIO = f.readlines() + + +setup( + name=PACKAGE_NAME, + version=CLIENT_VERSION, + description="Kubernetes python client", + author_email="", + author="Kubernetes", + license="Apache License Version 2.0", + url="https://github.com/kubernetes-client/python", + keywords=["Swagger", "OpenAPI", "Kubernetes"], + install_requires=REQUIRES+REQUIRES_ASYNCIO, + tests_require=TESTS_REQUIRES+TESTS_REQUIRES_ASYNCIO, + extras_require=EXTRAS, + packages=['kubernetes', 'kubernetes.client', 'kubernetes.config', + 'kubernetes.watch', 'kubernetes.client.api', + 'kubernetes.stream', 'kubernetes.client.models', + 'kubernetes.utils', 'kubernetes.client.apis', + 'kubernetes.dynamic', 'kubernetes.leaderelection', + 'kubernetes.leaderelection.resourcelock', + 'kubernetes_asyncio', + 'kubernetes_asyncio.config', + 'kubernetes_asyncio.client', + 'kubernetes_asyncio.client.api', + 'kubernetes_asyncio.client.models' + ], + include_package_data=True, + long_description="Python client for kubernetes http://kubernetes.io/", + python_requires='>=3.10', + classifiers=[ + "Development Status :: %s" % DEVELOPMENT_STATUS, + "Topic :: Utilities", + "Intended Audience :: Developers", + "Intended Audience :: Information Technology", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + ], +) diff --git a/setup.py b/setup.py index fb248f5220..004972a2e6 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "36.0.0a1" +CLIENT_VERSION = "36.0.0a2" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "3 - Alpha" @@ -67,7 +67,7 @@ 'kubernetes.leaderelection.resourcelock'], include_package_data=True, long_description="Python client for kubernetes http://kubernetes.io/", - python_requires='>=3.6', + python_requires='>=3.10', classifiers=[ "Development Status :: %s" % DEVELOPMENT_STATUS, "Topic :: Utilities", @@ -77,8 +77,6 @@ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",