Skip to content

Commit

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

Co-authored-by: Jarek Potiuk <[email protected]>
  • Loading branch information
dirrao and potiuk authored Jan 29, 2024
1 parent 1197f2f commit c36c4db
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 @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
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 @@ -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]",
]
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit c36c4db

Please sign in to comment.