diff --git a/.github/workflows/e2e-master.yaml b/.github/workflows/e2e-master.yaml index 73102f968e..f86958b513 100644 --- a/.github/workflows/e2e-master.yaml +++ b/.github/workflows/e2e-master.yaml @@ -19,7 +19,7 @@ jobs: with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@1544676c07bb3570fcb70166beaa07c4528fd4aa + uses: helm/kind-action@ea822c7bf1874f08e5a491df991c228edffc3376 with: cluster_name: kubernetes-python-e2e-master-${{ matrix.python-version }} # The kind version to be used to spin the cluster up diff --git a/.github/workflows/e2e-release-35.0.yaml b/.github/workflows/e2e-release-35.0.yaml index 3efe8149d6..b6809ba605 100644 --- a/.github/workflows/e2e-release-35.0.yaml +++ b/.github/workflows/e2e-release-35.0.yaml @@ -19,7 +19,7 @@ jobs: with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@1544676c07bb3570fcb70166beaa07c4528fd4aa + uses: helm/kind-action@ea822c7bf1874f08e5a491df991c228edffc3376 with: cluster_name: kubernetes-python-e2e-release-35.0-${{ matrix.python-version }} # The kind version to be used to spin the cluster up diff --git a/CHANGELOG.md b/CHANGELOG.md index 56bffc8dcf..b60dd3b041 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# v37.0.3 + +Kubernetes API Version: v1.37.2 + +- python-dateutil requirement is relaxed to python-dateutil>=2.8.2, so the client can be installed alongside applications that uses botocore. + + # v37.0.2 Kubernetes API Version: v1.37.2 diff --git a/README.md b/README.md index c1b759aab6..89acea6540 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ supported versions of Kubernetes clusters. - [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.3/): Kubernetes 1.35 or below (+-), Kubernetes 1.36 (✓), Kubernetes 1.37 or above (+-) -- [client 37.y.z](https://pypi.org/project/kubernetes/37.0.2/): Kubernetes 1.36 or below (+-), Kubernetes 1.37 (✓), Kubernetes 1.38 or above (+-) +- [client 37.y.z](https://pypi.org/project/kubernetes/37.0.3/): Kubernetes 1.36 or below (+-), Kubernetes 1.37 (✓), Kubernetes 1.38 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 69275345af..2982b8847d 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.37 -- Package version: 37.0.2 +- Package version: 37.0.3 - Generator version: 7.25.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 7b2b1c6997..84278ee9a0 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__ = "37.0.2" +__version__ = "37.0.3" from . import client from . import config diff --git a/kubernetes/aio/README.md b/kubernetes/aio/README.md index 47ad1f63d0..c327159e9e 100644 --- a/kubernetes/aio/README.md +++ b/kubernetes/aio/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.37 -- Package version: 37.0.2 +- Package version: 37.0.3 - Generator version: 7.25.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen diff --git a/kubernetes/aio/__init__.py b/kubernetes/aio/__init__.py index d8d4cee972..7a87c62e88 100644 --- a/kubernetes/aio/__init__.py +++ b/kubernetes/aio/__init__.py @@ -14,7 +14,7 @@ __project__ = "kubernetes_aio" # The version is auto-updated. Please do not edit. -__version__ = "37.0.2" +__version__ = "37.0.3" import kubernetes.aio.client as client import kubernetes.aio.config as config diff --git a/kubernetes/aio/client/__init__.py b/kubernetes/aio/client/__init__.py index 1c905d3fb7..20d5c51f72 100644 --- a/kubernetes/aio/client/__init__.py +++ b/kubernetes/aio/client/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "37.0.2" +__version__ = "37.0.3" # Define package exports __all__ = [ diff --git a/kubernetes/aio/client/api_client.py b/kubernetes/aio/client/api_client.py index 36b657ff3f..f9c7c03068 100644 --- a/kubernetes/aio/client/api_client.py +++ b/kubernetes/aio/client/api_client.py @@ -122,7 +122,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/37.0.2/python' + self.user_agent = 'OpenAPI-Generator/37.0.3/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/kubernetes/aio/client/configuration.py b/kubernetes/aio/client/configuration.py index abb2b49c7a..89cc052299 100644 --- a/kubernetes/aio/client/configuration.py +++ b/kubernetes/aio/client/configuration.py @@ -612,7 +612,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.37\n"\ - "SDK Package Version: 37.0.2".\ + "SDK Package Version: 37.0.3".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index a643ddce03..e0a6ad73e4 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "37.0.2" +__version__ = "37.0.3" # Define package exports __all__ = [ diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index bed517449c..b5f3d5292a 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -129,7 +129,7 @@ def __init__( self.pool_threads = pool_threads self._pool_lock = Lock() # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/37.0.2/python' + self.user_agent = 'OpenAPI-Generator/37.0.3/python' self.client_side_validation = configuration.client_side_validation def close(self): diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index 770788ae15..b489efa129 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -613,7 +613,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: release-1.37\n"\ - "SDK Package Version: 37.0.2".\ + "SDK Package Version: 37.0.3".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/requirements-asyncio.txt b/requirements-asyncio.txt index baa9483c33..f37711b96f 100644 --- a/requirements-asyncio.txt +++ b/requirements-asyncio.txt @@ -1,4 +1,4 @@ -python-dateutil>=3.0.0 # BSD +python-dateutil>=2.8.2 # BSD PyYAML>=6.0.3 # MIT urllib3>=2.8.0 # MIT aiohttp>=3.14.5,<4.0.0 # Apache-2.0 diff --git a/requirements.txt b/requirements.txt index 25341f983f..8705a086e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ certifi>=2024.7.4 # MPL -- oldest release without a known advisory (CVE-2024-39689) -python-dateutil>=3.0.0 # BSD +python-dateutil>=2.8.2 # BSD pydantic>=2.14.2 # MIT setuptools>=84.2.1 # PSF/ZPL PyYAML>=6.0.3 # MIT diff --git a/scripts/constants.py b/scripts/constants.py index 42c8943961..ed457016f1 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,7 +18,7 @@ KUBERNETES_BRANCH = "release-1.37" # client version for packaging and releasing. -CLIENT_VERSION = "37.0.2" +CLIENT_VERSION = "37.0.3" # Name of the release package PACKAGE_NAME = "kubernetes" diff --git a/setup-asyncio.py b/setup-asyncio.py index d2359a13f7..84ee382219 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-asyncio.sh. -CLIENT_VERSION = "37.0.2" +CLIENT_VERSION = "37.0.3" PACKAGE_NAME = "kubernetes.aio" DEVELOPMENT_STATUS = "5 - Production/Stable" diff --git a/setup-release.py b/setup-release.py index d0ff5f5eb1..0b2b447038 100644 --- a/setup-release.py +++ b/setup-release.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "37.0.2" +CLIENT_VERSION = "37.0.3" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "5 - Production/Stable" diff --git a/setup.py b/setup.py index 6bfec0c349..541a099b29 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 = "37.0.2" +CLIENT_VERSION = "37.0.3" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "5 - Production/Stable"