Skip to content

Commit

Permalink
Kubernetes version bump (#37040)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Jarek Potiuk <[email protected]>
(cherry picked from commit c36c4db)
  • Loading branch information
dirrao authored and ephraimbuddy committed Feb 22, 2024
1 parent b5dcd21 commit 009d954
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions airflow/providers/cncf/kubernetes/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,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:
Expand Down
4 changes: 2 additions & 2 deletions generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,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": [],
Expand Down
1 change: 0 additions & 1 deletion kubernetes_tests/test_kubernetes_pod_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,6 @@ def test_pod_template_file(
"kind: Pod",
"metadata:",
" annotations: {}",
" cluster_name: null",
" creation_timestamp: null",
" deletion_grace_period_seconds: null",
]
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ winrm = [
# If you want to modify these - modify the corresponding provider.yaml instead.
#############################################################################################################
# START OF GENERATED DEPENDENCIES
# Hash of dependencies: 7efdc45d025193c5ac05b945cd46f814
# Hash of dependencies: 416ddf60354a652260506e7befdc0435
airbyte = [ # source: airflow/providers/airbyte/provider.yaml
"apache-airflow[http]",
]
Expand Down Expand Up @@ -639,8 +639,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",
Expand Down

0 comments on commit 009d954

Please sign in to comment.