diff --git a/airflow/providers/cncf/kubernetes/provider.yaml b/airflow/providers/cncf/kubernetes/provider.yaml index a27ac011565a9..787d94828a5d2 100644 --- a/airflow/providers/cncf/kubernetes/provider.yaml +++ b/airflow/providers/cncf/kubernetes/provider.yaml @@ -89,13 +89,13 @@ dependencies: # limiting minimum airflow version supported in cncf.kubernetes provider, due to the # potential breaking changes in Airflow Core as well (kubernetes is added as extra, so Airflow # core is not hard-limited via install-requirements, only by extra). - - kubernetes>=21.7.0,<24 + - kubernetes>=28.1.0,<=29.0.0 # The Kubernetes_asyncio package is used for providing Asynchronous (AsyncIO) client library for # standard Kubernetes API. The version is limited by minimum 18.20.1 because of introducing the ability to # load kubernetes config file from dictionary in that release and is limited to the next MAJOR version # (started from current 24.2.2 version) to prevent introducing some problems that could be due to some # major changes in the package. - - kubernetes_asyncio>=18.20.1,<25 + - kubernetes_asyncio>=28.1.0,<=29.0.0 - google-re2>=1.0 integrations: diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 933feca19a10b..b4f9e53d8e746 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -315,8 +315,8 @@ "asgiref>=3.5.2", "cryptography>=2.0.0", "google-re2>=1.0", - "kubernetes>=21.7.0,<24", - "kubernetes_asyncio>=18.20.1,<25" + "kubernetes>=28.1.0,<=29.0.0", + "kubernetes_asyncio>=28.1.0,<=29.0.0" ], "devel-deps": [], "cross-providers-deps": [], diff --git a/kubernetes_tests/test_kubernetes_pod_operator.py b/kubernetes_tests/test_kubernetes_pod_operator.py index eb50adda687ed..147c354dfc1c9 100644 --- a/kubernetes_tests/test_kubernetes_pod_operator.py +++ b/kubernetes_tests/test_kubernetes_pod_operator.py @@ -942,7 +942,6 @@ def test_pod_template_file( "kind: Pod", "metadata:", " annotations: {}", - " cluster_name: null", " creation_timestamp: null", " deletion_grace_period_seconds: null", ] diff --git a/pyproject.toml b/pyproject.toml index e82b5897f9f4a..204fc9b69770e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -524,7 +524,7 @@ winrm = [ # If you want to modify these - modify the corresponding provider.yaml instead. ############################################################################################################# # START OF GENERATED DEPENDENCIES -# Hash of dependencies: 6e486f782b4745afd1f0f19dabe1253c +# Hash of dependencies: ee123f98f7863f010cb52314e9c76927 airbyte = [ # source: airflow/providers/airbyte/provider.yaml "apache-airflow[http]", ] @@ -635,8 +635,8 @@ cncf-kubernetes = [ # source: airflow/providers/cncf/kubernetes/provider.yaml "asgiref>=3.5.2", "cryptography>=2.0.0", "google-re2>=1.0", - "kubernetes>=21.7.0,<24", - "kubernetes_asyncio>=18.20.1,<25", + "kubernetes>=28.1.0,<=29.0.0", + "kubernetes_asyncio>=28.1.0,<=29.0.0", ] cohere = [ # source: airflow/providers/cohere/provider.yaml "cohere>=4.37",