Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v36.0.0a2

Kubernetes API Version: v1.36.0


# v36.0.0a1

Kubernetes API Version: v1.36.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion kubernetes_asyncio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion kubernetes_asyncio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion kubernetes_asyncio/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion kubernetes_asyncio/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion kubernetes_asyncio/client/api_client.py.orig
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion kubernetes_asyncio/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion kubernetes_asyncio/client/configuration.py.orig
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion kubernetes_asyncio/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 4 additions & 2 deletions setup-asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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'],
Expand All @@ -65,5 +66,6 @@
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
],
)
99 changes: 99 additions & 0 deletions setup-release.py
Original file line number Diff line number Diff line change
@@ -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",
],
)
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down