apache-airflow-providers-cncf-kubernetes 5.3.0__tar.gz → 6.0.0rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of apache-airflow-providers-cncf-kubernetes might be problematic. Click here for more details.
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/MANIFEST.in +1 -2
- {apache-airflow-providers-cncf-kubernetes-5.3.0/apache_airflow_providers_cncf_kubernetes.egg-info → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/PKG-INFO +22 -4
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/README.rst +20 -2
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/get_provider_info.py +2 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/hooks/kubernetes.py +11 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/operators/pod.py +4 -2
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/utils/pod_manager.py +2 -16
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/utils/xcom_sidecar.py +10 -2
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1/apache_airflow_providers_cncf_kubernetes.egg-info}/PKG-INFO +22 -4
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/apache_airflow_providers_cncf_kubernetes.egg-info/requires.txt +1 -1
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/pyproject.toml +1 -4
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/setup.cfg +3 -3
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/setup.py +7 -2
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/LICENSE +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/NOTICE +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/__init__.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/backcompat/__init__.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/backcompat/backwards_compat_converters.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/decorators/__init__.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/decorators/kubernetes.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/hooks/__init__.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/operators/__init__.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/operators/spark_kubernetes.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/python_kubernetes_script.jinja2 +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/python_kubernetes_script.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/sensors/__init__.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/sensors/spark_kubernetes.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/triggers/__init__.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/triggers/kubernetes_pod.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/triggers/pod.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/airflow/providers/cncf/kubernetes/utils/__init__.py +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/apache_airflow_providers_cncf_kubernetes.egg-info/SOURCES.txt +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/apache_airflow_providers_cncf_kubernetes.egg-info/dependency_links.txt +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/apache_airflow_providers_cncf_kubernetes.egg-info/entry_points.txt +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/apache_airflow_providers_cncf_kubernetes.egg-info/not-zip-safe +0 -0
- {apache-airflow-providers-cncf-kubernetes-5.3.0 → apache-airflow-providers-cncf-kubernetes-6.0.0rc1}/apache_airflow_providers_cncf_kubernetes.egg-info/top_level.txt +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-airflow-providers-cncf-kubernetes
|
|
3
|
-
Version:
|
|
3
|
+
Version: 6.0.0rc1
|
|
4
4
|
Summary: Provider for Apache Airflow. Implements apache-airflow-providers-cncf-kubernetes package
|
|
5
5
|
Home-page: https://airflow.apache.org/
|
|
6
6
|
Download-URL: https://archive.apache.org/dist/airflow/providers
|
|
7
7
|
Author: Apache Software Foundation
|
|
8
8
|
Author-email: dev@airflow.apache.org
|
|
9
9
|
License: Apache License 2.0
|
|
10
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/
|
|
10
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/6.0.0/
|
|
11
11
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
12
12
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
13
13
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
@@ -52,7 +52,7 @@ License-File: NOTICE
|
|
|
52
52
|
|
|
53
53
|
Package ``apache-airflow-providers-cncf-kubernetes``
|
|
54
54
|
|
|
55
|
-
Release: ``
|
|
55
|
+
Release: ``6.0.0rc1``
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
`Kubernetes <https://kubernetes.io/>`__
|
|
@@ -65,7 +65,7 @@ This is a provider package for ``cncf.kubernetes`` provider. All classes for thi
|
|
|
65
65
|
are in ``airflow.providers.cncf.kubernetes`` python package.
|
|
66
66
|
|
|
67
67
|
You can find package information and changelog for the provider
|
|
68
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/
|
|
68
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/6.0.0/>`_.
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
Installation
|
|
@@ -116,6 +116,24 @@ PIP package Version required
|
|
|
116
116
|
Changelog
|
|
117
117
|
---------
|
|
118
118
|
|
|
119
|
+
6.0.0
|
|
120
|
+
.....
|
|
121
|
+
|
|
122
|
+
Breaking changes
|
|
123
|
+
~~~~~~~~~~~~~~~~
|
|
124
|
+
|
|
125
|
+
Use ``kubernetes_default`` connection by default in the ``KubernetesPodOperator``.
|
|
126
|
+
|
|
127
|
+
* ``Use default connection id for KubernetesPodOperator (#28848)``
|
|
128
|
+
|
|
129
|
+
Features
|
|
130
|
+
~~~~~~~~
|
|
131
|
+
|
|
132
|
+
* ``Allow to set limits for XCOM container (#28125)``
|
|
133
|
+
|
|
134
|
+
.. Review and move the new changes to one of the sections above:
|
|
135
|
+
* ``Add mechanism to suspend providers (#30422)``
|
|
136
|
+
|
|
119
137
|
5.3.0
|
|
120
138
|
.....
|
|
121
139
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
Package ``apache-airflow-providers-cncf-kubernetes``
|
|
21
21
|
|
|
22
|
-
Release: ``
|
|
22
|
+
Release: ``6.0.0rc1``
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
`Kubernetes <https://kubernetes.io/>`__
|
|
@@ -32,7 +32,7 @@ This is a provider package for ``cncf.kubernetes`` provider. All classes for thi
|
|
|
32
32
|
are in ``airflow.providers.cncf.kubernetes`` python package.
|
|
33
33
|
|
|
34
34
|
You can find package information and changelog for the provider
|
|
35
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/
|
|
35
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/6.0.0/>`_.
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
Installation
|
|
@@ -83,6 +83,24 @@ PIP package Version required
|
|
|
83
83
|
Changelog
|
|
84
84
|
---------
|
|
85
85
|
|
|
86
|
+
6.0.0
|
|
87
|
+
.....
|
|
88
|
+
|
|
89
|
+
Breaking changes
|
|
90
|
+
~~~~~~~~~~~~~~~~
|
|
91
|
+
|
|
92
|
+
Use ``kubernetes_default`` connection by default in the ``KubernetesPodOperator``.
|
|
93
|
+
|
|
94
|
+
* ``Use default connection id for KubernetesPodOperator (#28848)``
|
|
95
|
+
|
|
96
|
+
Features
|
|
97
|
+
~~~~~~~~
|
|
98
|
+
|
|
99
|
+
* ``Allow to set limits for XCOM container (#28125)``
|
|
100
|
+
|
|
101
|
+
.. Review and move the new changes to one of the sections above:
|
|
102
|
+
* ``Add mechanism to suspend providers (#30422)``
|
|
103
|
+
|
|
86
104
|
5.3.0
|
|
87
105
|
.....
|
|
88
106
|
|
|
@@ -27,7 +27,9 @@ def get_provider_info():
|
|
|
27
27
|
"package-name": "apache-airflow-providers-cncf-kubernetes",
|
|
28
28
|
"name": "Kubernetes",
|
|
29
29
|
"description": "`Kubernetes <https://kubernetes.io/>`__\n",
|
|
30
|
+
"suspended": False,
|
|
30
31
|
"versions": [
|
|
32
|
+
"6.0.0",
|
|
31
33
|
"5.3.0",
|
|
32
34
|
"5.2.2",
|
|
33
35
|
"5.2.1",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
import contextlib
|
|
20
|
+
import json
|
|
20
21
|
import tempfile
|
|
21
22
|
import warnings
|
|
22
23
|
from typing import TYPE_CHECKING, Any, Generator
|
|
@@ -101,6 +102,9 @@ class KubernetesHook(BaseHook):
|
|
|
101
102
|
"xcom_sidecar_container_image": StringField(
|
|
102
103
|
lazy_gettext("XCom sidecar image"), widget=BS3TextFieldWidget()
|
|
103
104
|
),
|
|
105
|
+
"xcom_sidecar_container_resources": StringField(
|
|
106
|
+
lazy_gettext("XCom sidecar resources (JSON format)"), widget=BS3TextFieldWidget()
|
|
107
|
+
),
|
|
104
108
|
}
|
|
105
109
|
|
|
106
110
|
@staticmethod
|
|
@@ -366,6 +370,13 @@ class KubernetesHook(BaseHook):
|
|
|
366
370
|
"""Returns the xcom sidecar image that defined in the connection"""
|
|
367
371
|
return self._get_field("xcom_sidecar_container_image")
|
|
368
372
|
|
|
373
|
+
def get_xcom_sidecar_container_resources(self):
|
|
374
|
+
"""Returns the xcom sidecar resources that defined in the connection"""
|
|
375
|
+
field = self._get_field("xcom_sidecar_container_resources")
|
|
376
|
+
if not field:
|
|
377
|
+
return None
|
|
378
|
+
return json.loads(field)
|
|
379
|
+
|
|
369
380
|
def get_pod_log_stream(
|
|
370
381
|
self,
|
|
371
382
|
pod_name: str,
|
|
@@ -245,7 +245,7 @@ class KubernetesPodOperator(BaseOperator):
|
|
|
245
245
|
def __init__(
|
|
246
246
|
self,
|
|
247
247
|
*,
|
|
248
|
-
kubernetes_conn_id: str | None =
|
|
248
|
+
kubernetes_conn_id: str | None = KubernetesHook.default_conn_name,
|
|
249
249
|
namespace: str | None = None,
|
|
250
250
|
image: str | None = None,
|
|
251
251
|
name: str | None = None,
|
|
@@ -810,7 +810,9 @@ class KubernetesPodOperator(BaseOperator):
|
|
|
810
810
|
if self.do_xcom_push:
|
|
811
811
|
self.log.debug("Adding xcom sidecar to task %s", self.task_id)
|
|
812
812
|
pod = xcom_sidecar.add_xcom_sidecar(
|
|
813
|
-
pod,
|
|
813
|
+
pod,
|
|
814
|
+
sidecar_container_image=self.hook.get_xcom_sidecar_container_image(),
|
|
815
|
+
sidecar_container_resources=self.hook.get_xcom_sidecar_container_resources(),
|
|
814
816
|
)
|
|
815
817
|
|
|
816
818
|
labels = self._get_ti_pod_labels(context)
|
|
@@ -39,7 +39,6 @@ from urllib3.exceptions import HTTPError as BaseHTTPError
|
|
|
39
39
|
from urllib3.response import HTTPResponse
|
|
40
40
|
|
|
41
41
|
from airflow.exceptions import AirflowException
|
|
42
|
-
from airflow.kubernetes.kube_client import get_kube_client
|
|
43
42
|
from airflow.kubernetes.pod_generator import PodDefaults
|
|
44
43
|
from airflow.utils.log.logging_mixin import LoggingMixin
|
|
45
44
|
from airflow.utils.timezone import utcnow
|
|
@@ -219,28 +218,15 @@ class PodManager(LoggingMixin):
|
|
|
219
218
|
|
|
220
219
|
def __init__(
|
|
221
220
|
self,
|
|
222
|
-
kube_client: client.CoreV1Api
|
|
223
|
-
in_cluster: bool = True,
|
|
224
|
-
cluster_context: str | None = None,
|
|
221
|
+
kube_client: client.CoreV1Api,
|
|
225
222
|
):
|
|
226
223
|
"""
|
|
227
224
|
Creates the launcher.
|
|
228
225
|
|
|
229
226
|
:param kube_client: kubernetes client
|
|
230
|
-
:param in_cluster: whether we are in cluster
|
|
231
|
-
:param cluster_context: context of the cluster
|
|
232
227
|
"""
|
|
233
228
|
super().__init__()
|
|
234
|
-
|
|
235
|
-
self._client = kube_client
|
|
236
|
-
else:
|
|
237
|
-
self._client = get_kube_client(in_cluster=in_cluster, cluster_context=cluster_context)
|
|
238
|
-
warnings.warn(
|
|
239
|
-
"`kube_client` not supplied to PodManager. "
|
|
240
|
-
"This will be a required argument in a future release. "
|
|
241
|
-
"Please use KubernetesHook to create the client before calling.",
|
|
242
|
-
DeprecationWarning,
|
|
243
|
-
)
|
|
229
|
+
self._client = kube_client
|
|
244
230
|
self._watch = watch.Watch()
|
|
245
231
|
|
|
246
232
|
def run_pod_async(self, pod: V1Pod, **kwargs) -> V1Pod:
|
|
@@ -42,12 +42,18 @@ class PodDefaults:
|
|
|
42
42
|
resources=k8s.V1ResourceRequirements(
|
|
43
43
|
requests={
|
|
44
44
|
"cpu": "1m",
|
|
45
|
-
|
|
45
|
+
"memory": "10Mi",
|
|
46
|
+
},
|
|
46
47
|
),
|
|
47
48
|
)
|
|
48
49
|
|
|
49
50
|
|
|
50
|
-
def add_xcom_sidecar(
|
|
51
|
+
def add_xcom_sidecar(
|
|
52
|
+
pod: k8s.V1Pod,
|
|
53
|
+
*,
|
|
54
|
+
sidecar_container_image: str | None = None,
|
|
55
|
+
sidecar_container_resources: k8s.V1ResourceRequirements | dict | None = None,
|
|
56
|
+
) -> k8s.V1Pod:
|
|
51
57
|
"""Adds sidecar"""
|
|
52
58
|
pod_cp = copy.deepcopy(pod)
|
|
53
59
|
pod_cp.spec.volumes = pod.spec.volumes or []
|
|
@@ -56,6 +62,8 @@ def add_xcom_sidecar(pod: k8s.V1Pod, *, sidecar_container_image=None) -> k8s.V1P
|
|
|
56
62
|
pod_cp.spec.containers[0].volume_mounts.insert(0, PodDefaults.VOLUME_MOUNT)
|
|
57
63
|
sidecar = copy.deepcopy(PodDefaults.SIDECAR_CONTAINER)
|
|
58
64
|
sidecar.image = sidecar_container_image or PodDefaults.SIDECAR_CONTAINER.image
|
|
65
|
+
if sidecar_container_resources:
|
|
66
|
+
sidecar.resources = sidecar_container_resources
|
|
59
67
|
pod_cp.spec.containers.append(sidecar)
|
|
60
68
|
|
|
61
69
|
return pod_cp
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-airflow-providers-cncf-kubernetes
|
|
3
|
-
Version:
|
|
3
|
+
Version: 6.0.0rc1
|
|
4
4
|
Summary: Provider for Apache Airflow. Implements apache-airflow-providers-cncf-kubernetes package
|
|
5
5
|
Home-page: https://airflow.apache.org/
|
|
6
6
|
Download-URL: https://archive.apache.org/dist/airflow/providers
|
|
7
7
|
Author: Apache Software Foundation
|
|
8
8
|
Author-email: dev@airflow.apache.org
|
|
9
9
|
License: Apache License 2.0
|
|
10
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/
|
|
10
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/6.0.0/
|
|
11
11
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
12
12
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
13
13
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
@@ -52,7 +52,7 @@ License-File: NOTICE
|
|
|
52
52
|
|
|
53
53
|
Package ``apache-airflow-providers-cncf-kubernetes``
|
|
54
54
|
|
|
55
|
-
Release: ``
|
|
55
|
+
Release: ``6.0.0rc1``
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
`Kubernetes <https://kubernetes.io/>`__
|
|
@@ -65,7 +65,7 @@ This is a provider package for ``cncf.kubernetes`` provider. All classes for thi
|
|
|
65
65
|
are in ``airflow.providers.cncf.kubernetes`` python package.
|
|
66
66
|
|
|
67
67
|
You can find package information and changelog for the provider
|
|
68
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/
|
|
68
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/6.0.0/>`_.
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
Installation
|
|
@@ -116,6 +116,24 @@ PIP package Version required
|
|
|
116
116
|
Changelog
|
|
117
117
|
---------
|
|
118
118
|
|
|
119
|
+
6.0.0
|
|
120
|
+
.....
|
|
121
|
+
|
|
122
|
+
Breaking changes
|
|
123
|
+
~~~~~~~~~~~~~~~~
|
|
124
|
+
|
|
125
|
+
Use ``kubernetes_default`` connection by default in the ``KubernetesPodOperator``.
|
|
126
|
+
|
|
127
|
+
* ``Use default connection id for KubernetesPodOperator (#28848)``
|
|
128
|
+
|
|
129
|
+
Features
|
|
130
|
+
~~~~~~~~
|
|
131
|
+
|
|
132
|
+
* ``Allow to set limits for XCOM container (#28125)``
|
|
133
|
+
|
|
134
|
+
.. Review and move the new changes to one of the sections above:
|
|
135
|
+
* ``Add mechanism to suspend providers (#30422)``
|
|
136
|
+
|
|
119
137
|
5.3.0
|
|
120
138
|
.....
|
|
121
139
|
|
|
@@ -139,10 +139,7 @@ known-third-party = [
|
|
|
139
139
|
|
|
140
140
|
# The Pydantic representations of SqlAlchemy Models are not parsed well with Pydantic
|
|
141
141
|
# when __future__.annotations is used so we need to skip them from upgrading
|
|
142
|
-
"airflow/
|
|
143
|
-
"airflow/models/pydantic/dag_run.py" = ["I002"]
|
|
144
|
-
"airflow/models/pydantic/dataset.py" = ["I002"]
|
|
145
|
-
"airflow/jobs/pydantic/base_job.py" = ["I002"]
|
|
142
|
+
"airflow/serialization/pydantic/*.py" = ["I002"]
|
|
146
143
|
|
|
147
144
|
# Ignore pydoc style from these
|
|
148
145
|
"*.pyi" = ["D"]
|
|
@@ -27,7 +27,7 @@ classifiers =
|
|
|
27
27
|
Programming Language :: Python :: 3.10
|
|
28
28
|
Topic :: System :: Monitoring
|
|
29
29
|
project_urls =
|
|
30
|
-
Documentation=https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/
|
|
30
|
+
Documentation=https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/6.0.0/
|
|
31
31
|
Bug Tracker=https://github.com/apache/airflow/issues
|
|
32
32
|
Source Code=https://github.com/apache/airflow
|
|
33
33
|
Slack Chat=https://s.apache.org/airflow-slack
|
|
@@ -46,7 +46,7 @@ setup_requires =
|
|
|
46
46
|
setuptools
|
|
47
47
|
wheel
|
|
48
48
|
install_requires =
|
|
49
|
-
apache-airflow>=2.3.0
|
|
49
|
+
apache-airflow>=2.3.0.dev0
|
|
50
50
|
asgiref>=3.5.2
|
|
51
51
|
cryptography>=2.0.0
|
|
52
52
|
kubernetes>=21.7.0,<24
|
|
@@ -60,6 +60,6 @@ apache_airflow_provider =
|
|
|
60
60
|
packages = airflow.providers.cncf.kubernetes
|
|
61
61
|
|
|
62
62
|
[egg_info]
|
|
63
|
-
tag_build =
|
|
63
|
+
tag_build = rc1
|
|
64
64
|
tag_date = 0
|
|
65
65
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
from setuptools import find_namespace_packages, setup
|
|
28
28
|
|
|
29
|
-
version = "
|
|
29
|
+
version = "6.0.0"
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def do_setup():
|
|
@@ -35,7 +35,12 @@ def do_setup():
|
|
|
35
35
|
version=version,
|
|
36
36
|
extras_require={},
|
|
37
37
|
packages=find_namespace_packages(
|
|
38
|
-
include=[
|
|
38
|
+
include=[
|
|
39
|
+
"airflow.providers.cncf.kubernetes",
|
|
40
|
+
"airflow.providers.cncf.kubernetes.*",
|
|
41
|
+
"airflow.providers.cncf.kubernetes_vendor",
|
|
42
|
+
"airflow.providers.cncf.kubernetes_vendor.*",
|
|
43
|
+
],
|
|
39
44
|
),
|
|
40
45
|
)
|
|
41
46
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|