From e8cf1554306030274dd4116561b078ac3d30cb59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 12:13:20 +0000 Subject: [PATCH 01/15] chore(deps): bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.11 to 1.8.14. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf...81e9d935c883d0b210363ab89cf05f3894778450) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5859fc6..4166c7c 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,7 +21,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf + uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} From a617dbbe47b5b0358c907a3354e2765ea08a8c82 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 12:49:15 +0000 Subject: [PATCH 02/15] chore(deps): bump cocogitto/cocogitto-action from 3.5 to 3.6 Bumps [cocogitto/cocogitto-action](https://github.com/cocogitto/cocogitto-action) from 3.5 to 3.6. - [Release notes](https://github.com/cocogitto/cocogitto-action/releases) - [Commits](https://github.com/cocogitto/cocogitto-action/compare/v3.5...v3.6) --- updated-dependencies: - dependency-name: cocogitto/cocogitto-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/compliance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 55ca7d6..4818feb 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -19,4 +19,4 @@ jobs: fetch-depth: 0 - name: Conventional commit check - uses: cocogitto/cocogitto-action@v3.5 + uses: cocogitto/cocogitto-action@v3.6 From 14adeeb88acff038f7d140390f525c85b12e896b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 12:11:11 +0000 Subject: [PATCH 03/15] chore(deps): bump github/codeql-action from 2 to 3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index d5f9387..1f1608c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -43,7 +43,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -54,7 +54,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,4 +68,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 From cddebbed3114a6f7e96accaa79449ac6781b6f5f Mon Sep 17 00:00:00 2001 From: Maxime Leroy <19607336+maxime1907@users.noreply.github.com> Date: Fri, 19 Apr 2024 15:44:03 +0200 Subject: [PATCH 04/15] fix(kubernetes_helper): correct typing for use_kubeconfig (#51) --- CHANGELOG.md | 4 ++++ VERSION | 2 +- src/wiremind_kubernetes/kubernetes_helper.py | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6eb64f..0d34164 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # wiremind-kubernetes +## v7.4.2 (2024-04-19) +### Fix +- kubernetes_helper: correct typing for `use_kubeconfig` + ## v7.4.1 (2023-11-23) ### Chore - tests: e2e: apply expecteddeploymentscales CRD from wiremind helm chart repository diff --git a/VERSION b/VERSION index 815da58..f8cb1fa 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.4.1 +7.4.2 diff --git a/src/wiremind_kubernetes/kubernetes_helper.py b/src/wiremind_kubernetes/kubernetes_helper.py index 98333b8..e3cb4ec 100644 --- a/src/wiremind_kubernetes/kubernetes_helper.py +++ b/src/wiremind_kubernetes/kubernetes_helper.py @@ -33,7 +33,7 @@ class KubernetesHelper: def __init__( self, - use_kubeconfig: bool = False, + use_kubeconfig: Optional[bool] = False, dry_run: bool = False, pretty: bool = True, should_load_kubernetes_config: bool = True, @@ -86,7 +86,7 @@ class NamespacedKubernetesHelper(KubernetesHelper): def __init__( self, - use_kubeconfig: bool = False, + use_kubeconfig: Optional[bool] = False, namespace: Union[None, str] = None, dry_run: bool = False, should_load_kubernetes_config: bool = True, From 793399ba70f61ea4e9098af85d4c32b9d60d13c6 Mon Sep 17 00:00:00 2001 From: Maxime Leroy <19607336+maxime1907@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:45:48 +0200 Subject: [PATCH 05/15] fix(typing): class attributes (#52) --- CHANGELOG.md | 4 ++ VERSION | 2 +- src/wiremind_kubernetes/exceptions.py | 2 + .../kubernetes_client_additional_arguments.py | 8 +++- src/wiremind_kubernetes/kubernetes_helper.py | 48 +++++++++++-------- 5 files changed, 40 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d34164..ae6436e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # wiremind-kubernetes +## v7.4.3 (2024-04-19) +### Fix +- correct class attributes typing + ## v7.4.2 (2024-04-19) ### Fix - kubernetes_helper: correct typing for `use_kubeconfig` diff --git a/VERSION b/VERSION index f8cb1fa..0f4a1d6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.4.2 +7.4.3 diff --git a/src/wiremind_kubernetes/exceptions.py b/src/wiremind_kubernetes/exceptions.py index d4ac964..a6b797d 100644 --- a/src/wiremind_kubernetes/exceptions.py +++ b/src/wiremind_kubernetes/exceptions.py @@ -6,6 +6,8 @@ class WiremindKubernetesException(Exception): Base wiremind-kubernetes Exception. """ + message: str + def __init__(self, message: Optional[str] = None): super().__init__() if message: diff --git a/src/wiremind_kubernetes/kubernetes_client_additional_arguments.py b/src/wiremind_kubernetes/kubernetes_client_additional_arguments.py index f80ca35..e749eca 100644 --- a/src/wiremind_kubernetes/kubernetes_client_additional_arguments.py +++ b/src/wiremind_kubernetes/kubernetes_client_additional_arguments.py @@ -10,15 +10,19 @@ class ClientWithArguments: Currently add dry_run support for write functions and pretty to all. """ + client: Any + read_additional_arguments: Dict[str, Any] + additional_arguments: Dict[str, Any] + def __init__(self, client: Any, dry_run: bool = False, pretty: bool = True): self.client = client() # like kubernetes.client.CoreV1Api - self.read_additional_arguments: Dict[str, Any] = {} + self.read_additional_arguments = {} # Only add it when its true because we set pretty client wide, # read_cluster_custom_object which accepts it will not have it set, but it's ok for now. if pretty: self.read_additional_arguments["pretty"] = pretty # Every request, either read or write, will have those arguments added - self.additional_arguments: Dict[str, Any] = self.read_additional_arguments.copy() + self.additional_arguments = self.read_additional_arguments.copy() if dry_run: # Dry run, in kube API, is not true or false, but either dry_run: All or not defined. self.additional_arguments["dry_run"] = "All" diff --git a/src/wiremind_kubernetes/kubernetes_helper.py b/src/wiremind_kubernetes/kubernetes_helper.py index e3cb4ec..3118639 100644 --- a/src/wiremind_kubernetes/kubernetes_helper.py +++ b/src/wiremind_kubernetes/kubernetes_helper.py @@ -29,7 +29,19 @@ class KubernetesHelper: A simple helper for Kubernetes manipulation. """ - SCALE_DOWN_MAX_WAIT_TIME = 3600 + SCALE_DOWN_MAX_WAIT_TIME: int = 3600 + + client_corev1_api: kubernetes.client.CoreV1Api + client_appsv1_api: kubernetes.client.AppsV1Api + client_batchv1_api: kubernetes.client.BatchV1Api + client_autoscalingv1_api: kubernetes.client.AutoscalingV1Api + client_custom_objects_api: kubernetes.client.CustomObjectsApi + client_rbac_authorization_v1_api: kubernetes.client.RbacAuthorizationV1Api + client_networking_v1_api: kubernetes.client.NetworkingV1Api + client_storage_v1_api: kubernetes.client.StorageV1Api + + dry_run: bool + pretty: bool def __init__( self, @@ -52,27 +64,17 @@ def __init__( """ if should_load_kubernetes_config: load_kubernetes_config(use_kubeconfig=use_kubeconfig, context=context) - self.client_corev1_api: kubernetes.client.CoreV1Api = CoreV1ApiWithArguments(dry_run=dry_run, pretty=pretty) - self.client_appsv1_api: kubernetes.client.AppsV1Api = AppV1ApiWithArguments(dry_run=dry_run, pretty=pretty) - self.client_batchv1_api: kubernetes.client.BatchV1Api = BatchV1ApiWithArguments(dry_run=dry_run, pretty=pretty) - self.client_autoscalingv1_api: kubernetes.client.AutoscalingV1Api = AutoscalingV1ApiWithArguments( - dry_run=dry_run, pretty=pretty - ) - self.client_custom_objects_api: kubernetes.client.CustomObjectsApi = CustomObjectsApiWithArguments( - dry_run=dry_run, pretty=pretty - ) - self.client_rbac_authorization_v1_api: kubernetes.client.RbacAuthorizationV1Api = ( - RbacAuthorizationV1ApiWithArguments(dry_run=dry_run, pretty=pretty) - ) - self.client_networking_v1_api: kubernetes.client.NetworkingV1Api = NetworkingV1ApiWithArguments( - dry_run=dry_run, pretty=pretty - ) - self.client_storage_v1_api: kubernetes.client.StorageV1Api = StorageV1ApiWithArguments( - dry_run=dry_run, pretty=pretty - ) + self.client_corev1_api = CoreV1ApiWithArguments(dry_run=dry_run, pretty=pretty) + self.client_appsv1_api = AppV1ApiWithArguments(dry_run=dry_run, pretty=pretty) + self.client_batchv1_api = BatchV1ApiWithArguments(dry_run=dry_run, pretty=pretty) + self.client_autoscalingv1_api = AutoscalingV1ApiWithArguments(dry_run=dry_run, pretty=pretty) + self.client_custom_objects_api = CustomObjectsApiWithArguments(dry_run=dry_run, pretty=pretty) + self.client_rbac_authorization_v1_api = RbacAuthorizationV1ApiWithArguments(dry_run=dry_run, pretty=pretty) + self.client_networking_v1_api = NetworkingV1ApiWithArguments(dry_run=dry_run, pretty=pretty) + self.client_storage_v1_api = StorageV1ApiWithArguments(dry_run=dry_run, pretty=pretty) - self.dry_run: bool = dry_run - self.pretty: bool = pretty + self.dry_run = dry_run + self.pretty = pretty def _get_namespace_from_kube() -> str: @@ -84,6 +86,8 @@ class NamespacedKubernetesHelper(KubernetesHelper): A simple helper for Kubernetes manipulation. """ + namespace: str + def __init__( self, use_kubeconfig: Optional[bool] = False, @@ -254,6 +258,8 @@ class KubernetesDeploymentManager(NamespacedKubernetesHelper): a.start_pods() """ + release_name: str + def __init__(self, release_name: str, **kwargs: Any): self.release_name = release_name super().__init__(**kwargs) From 2d046da480b6a449810f132b6b0c6f5f6d8377a3 Mon Sep 17 00:00:00 2001 From: Maxime Leroy <19607336+maxime1907@users.noreply.github.com> Date: Mon, 22 Apr 2024 12:07:01 +0200 Subject: [PATCH 06/15] chore: mark package as PEP 561 compliant (#53) --- CHANGELOG.md | 4 ++++ VERSION | 2 +- setup.py | 1 + src/wiremind_kubernetes/py.typed | 0 src/wiremind_kubernetes/utils.py | 0 5 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 src/wiremind_kubernetes/py.typed mode change 100755 => 100644 src/wiremind_kubernetes/utils.py diff --git a/CHANGELOG.md b/CHANGELOG.md index ae6436e..2b1a20d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # wiremind-kubernetes +## v7.4.4 (2024-04-22) +### Chore +- mark package as PEP 561-compliant for type hints + ## v7.4.3 (2024-04-19) ### Fix - correct class attributes typing diff --git a/VERSION b/VERSION index 0f4a1d6..4e61aee 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.4.3 +7.4.4 diff --git a/setup.py b/setup.py index 72d63fc..c69757e 100644 --- a/setup.py +++ b/setup.py @@ -44,6 +44,7 @@ license="LGPLv3+", packages=find_packages("src"), package_dir={"": "src"}, + package_data={"wiremind_kubernetes": ["py.typed"]}, include_package_data=True, zip_safe=True, install_requires=[ diff --git a/src/wiremind_kubernetes/py.typed b/src/wiremind_kubernetes/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/src/wiremind_kubernetes/utils.py b/src/wiremind_kubernetes/utils.py old mode 100755 new mode 100644 From 1586fe53195fda8c327d7d53b749ed74bfecdad7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 13:52:31 +0200 Subject: [PATCH 07/15] chore(deps): bump cocogitto/cocogitto-action from 3.6 to 3.7 (#54) Bumps [cocogitto/cocogitto-action](https://github.com/cocogitto/cocogitto-action) from 3.6 to 3.7. - [Release notes](https://github.com/cocogitto/cocogitto-action/releases) - [Commits](https://github.com/cocogitto/cocogitto-action/compare/v3.6...v3.7) --- updated-dependencies: - dependency-name: cocogitto/cocogitto-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/compliance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 4818feb..70fe4df 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -19,4 +19,4 @@ jobs: fetch-depth: 0 - name: Conventional commit check - uses: cocogitto/cocogitto-action@v3.6 + uses: cocogitto/cocogitto-action@v3.7 From c3fce6d162d0d2d9880a2d04be59af1cea2f04c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 14:11:55 +0200 Subject: [PATCH 08/15] chore(deps): bump helm/kind-action from 1.8.0 to 1.9.0 (#46) Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/helm/kind-action/releases) - [Commits](https://github.com/helm/kind-action/compare/v1.8.0...v1.9.0) --- updated-dependencies: - dependency-name: helm/kind-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/python-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 4fc69c1..0f425f0 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -47,7 +47,7 @@ jobs: find . -type f -regex '.*\.py$' -exec pyupgrade --py37-plus {} \; - name: Create k8s Kind Cluster - uses: helm/kind-action@v1.8.0 + uses: helm/kind-action@v1.9.0 - name: Test with pytest run: | From e50414661b9d3767e8eaae2d972539a31f0b0ca3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 14:36:56 +0200 Subject: [PATCH 09/15] chore(deps): bump idna from 3.4 to 3.7 (#50) Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7. - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst) - [Commits](https://github.com/kjd/idna/compare/v3.4...v3.7) --- updated-dependencies: - dependency-name: idna dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e4312f1..3cb4055 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ charset-normalizer==2.1.1 # via requests google-auth==2.11.1 # via kubernetes -idna==3.4 +idna==3.7 # via requests kubernetes==24.2.0 # via wiremind-kubernetes (setup.py) From d0ecceaf48fd56f19326fe28e9ef710c6bd9473b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 May 2024 17:57:48 +0200 Subject: [PATCH 10/15] chore(deps): bump helm/kind-action from 1.9.0 to 1.10.0 (#55) Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/helm/kind-action/releases) - [Commits](https://github.com/helm/kind-action/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: helm/kind-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/python-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 0f425f0..9d5d340 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -47,7 +47,7 @@ jobs: find . -type f -regex '.*\.py$' -exec pyupgrade --py37-plus {} \; - name: Create k8s Kind Cluster - uses: helm/kind-action@v1.9.0 + uses: helm/kind-action@v1.10.0 - name: Test with pytest run: | From 4e7343e73685316479f7762a44f93bfee66ae82b Mon Sep 17 00:00:00 2001 From: Maxime Leroy <19607336+maxime1907@users.noreply.github.com> Date: Fri, 31 May 2024 16:21:30 +0200 Subject: [PATCH 11/15] chore: drop python 3.7 and 3.8 support (#58) --- .github/workflows/python-test.yml | 6 ++++-- pyproject.toml | 2 +- requirements.txt | 6 +++--- setup.cfg | 4 ++-- setup.py | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 9d5d340..9f98f7b 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -18,7 +18,9 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: + - '3.9' + - '3.10' steps: - uses: actions/checkout@v4 @@ -44,7 +46,7 @@ jobs: - name: Check syntax with pyupgrade run: | - find . -type f -regex '.*\.py$' -exec pyupgrade --py37-plus {} \; + find . -type f -regex '.*\.py$' -exec pyupgrade --py39-plus {} \; - name: Create k8s Kind Cluster uses: helm/kind-action@v1.10.0 diff --git a/pyproject.toml b/pyproject.toml index fb89f97..e0f4985 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 120 -target-version = ['py37'] +target-version = ['py39'] exclude = ''' ( diff --git a/requirements.txt b/requirements.txt index 3cb4055..9294b4a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --no-emit-index-url setup.py # @@ -30,7 +30,7 @@ python-dateutil==2.8.2 # via kubernetes pyyaml==6.0 # via kubernetes -requests==2.31.0 +requests==2.32.3 # via # kubernetes # requests-oauthlib diff --git a/setup.cfg b/setup.cfg index 8c27ae9..3779b62 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [options] -python_requires = >= 3.7 +python_requires = >= 3.9 [flake8] max-line-length = 120 @@ -14,7 +14,7 @@ ignore = W503, E203, E231, E501, Q000 jobs = 4 [mypy] -python_version = 3.7 +python_version = 3.9 ignore_missing_imports = True check_untyped_defs = True disallow_untyped_defs = True diff --git a/setup.py b/setup.py index c69757e..6ea5d42 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ "mypy": extra_require_mypy, "test": extra_require_test, }, - python_requires=">=3.7.0", + python_requires=">=3.9.0", keywords=["kubernetes"], classifiers=[ "Development Status :: 5 - Production/Stable", From 03b779e60f96a9bfb292c314e3fdbfb1a876601e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 12:22:11 +0000 Subject: [PATCH 12/15] chore(deps): bump cocogitto/cocogitto-action from 3.7 to 3.8 Bumps [cocogitto/cocogitto-action](https://github.com/cocogitto/cocogitto-action) from 3.7 to 3.8. - [Release notes](https://github.com/cocogitto/cocogitto-action/releases) - [Commits](https://github.com/cocogitto/cocogitto-action/compare/v3.7...v3.8) --- updated-dependencies: - dependency-name: cocogitto/cocogitto-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/compliance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml index 70fe4df..b960f75 100644 --- a/.github/workflows/compliance.yml +++ b/.github/workflows/compliance.yml @@ -19,4 +19,4 @@ jobs: fetch-depth: 0 - name: Conventional commit check - uses: cocogitto/cocogitto-action@v3.7 + uses: cocogitto/cocogitto-action@v3.8 From a434599ab85f995ebb8d0d2381f15844d318d29e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 12:28:15 +0000 Subject: [PATCH 13/15] chore(deps): bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/81e9d935c883d0b210363ab89cf05f3894778450...ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 4166c7c..5e2e09e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,7 +21,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 + uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} From 6a6bfa32059613a851e6dd36f7c005344da75b8a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 01:33:08 +0000 Subject: [PATCH 14/15] chore(deps): bump urllib3 from 1.26.18 to 1.26.19 Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.18 to 1.26.19. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/1.26.19/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/1.26.18...1.26.19) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9294b4a..5562092 100644 --- a/requirements.txt +++ b/requirements.txt @@ -43,7 +43,7 @@ six==1.16.0 # google-auth # kubernetes # python-dateutil -urllib3==1.26.18 +urllib3==1.26.19 # via # kubernetes # requests From 4a84874f3e2b46e52c39df9ad4dcb11ca678b3dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:13:06 +0200 Subject: [PATCH 15/15] chore(deps): bump certifi from 2023.7.22 to 2024.7.4 (#63) Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2024.7.4. - [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2024.07.04) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5562092..9c264d0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ # cachetools==5.2.0 # via google-auth -certifi==2023.7.22 +certifi==2024.7.4 # via # kubernetes # requests