apache-airflow-providers-cncf-kubernetes 10.4.1__py3-none-any.whl → 10.4.2__py3-none-any.whl

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.

@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "10.4.1"
32
+ __version__ = "10.4.2"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.9.0"
@@ -27,7 +27,17 @@ from typing import TYPE_CHECKING, Callable
27
27
  import dill
28
28
  from kubernetes.client import models as k8s
29
29
 
30
- from airflow.decorators.base import DecoratedOperator, TaskDecorator, task_decorator_factory
30
+ from airflow.providers.cncf.kubernetes.version_compat import AIRFLOW_V_3_0_PLUS
31
+
32
+ if AIRFLOW_V_3_0_PLUS:
33
+ from airflow.sdk.bases.decorator import DecoratedOperator, TaskDecorator, task_decorator_factory
34
+ else:
35
+ from airflow.decorators.base import ( # type: ignore[no-redef]
36
+ DecoratedOperator,
37
+ TaskDecorator,
38
+ task_decorator_factory,
39
+ )
40
+
31
41
  from airflow.providers.cncf.kubernetes.operators.pod import KubernetesPodOperator
32
42
  from airflow.providers.cncf.kubernetes.python_kubernetes_script import (
33
43
  write_python_script,
@@ -400,6 +400,7 @@ class AirflowKubernetesScheduler(LoggingMixin):
400
400
  "python",
401
401
  "-m",
402
402
  "airflow.sdk.execution_time.execute_workload",
403
+ "--json-path",
403
404
  "/tmp/execute/input.json",
404
405
  ]
405
406
  else:
@@ -26,83 +26,6 @@ def get_provider_info():
26
26
  "package-name": "apache-airflow-providers-cncf-kubernetes",
27
27
  "name": "Kubernetes",
28
28
  "description": "`Kubernetes <https://kubernetes.io/>`__\n",
29
- "state": "ready",
30
- "source-date-epoch": 1743835927,
31
- "versions": [
32
- "10.4.1",
33
- "10.4.0",
34
- "10.3.1",
35
- "10.3.0",
36
- "10.1.0",
37
- "10.0.1",
38
- "10.0.0",
39
- "9.0.1",
40
- "9.0.0",
41
- "8.4.2",
42
- "8.4.1",
43
- "8.4.0",
44
- "8.3.4",
45
- "8.3.3",
46
- "8.3.2",
47
- "8.3.1",
48
- "8.3.0",
49
- "8.2.0",
50
- "8.1.1",
51
- "8.1.0",
52
- "8.0.1",
53
- "8.0.0",
54
- "7.14.0",
55
- "7.13.0",
56
- "7.12.0",
57
- "7.11.0",
58
- "7.10.0",
59
- "7.9.0",
60
- "7.8.0",
61
- "7.7.0",
62
- "7.6.0",
63
- "7.5.1",
64
- "7.5.0",
65
- "7.4.2",
66
- "7.4.1",
67
- "7.4.0",
68
- "7.3.0",
69
- "7.2.0",
70
- "7.1.0",
71
- "7.0.0",
72
- "6.1.0",
73
- "6.0.0",
74
- "5.3.0",
75
- "5.2.2",
76
- "5.2.1",
77
- "5.2.0",
78
- "5.1.1",
79
- "5.1.0",
80
- "5.0.0",
81
- "4.4.0",
82
- "4.3.0",
83
- "4.2.0",
84
- "4.1.0",
85
- "4.0.2",
86
- "4.0.1",
87
- "4.0.0",
88
- "3.1.2",
89
- "3.1.1",
90
- "3.1.0",
91
- "3.0.2",
92
- "3.0.1",
93
- "3.0.0",
94
- "2.2.0",
95
- "2.1.0",
96
- "2.0.3",
97
- "2.0.2",
98
- "2.0.1",
99
- "2.0.0",
100
- "1.2.0",
101
- "1.1.0",
102
- "1.0.2",
103
- "1.0.1",
104
- "1.0.0",
105
- ],
106
29
  "integrations": [
107
30
  {
108
31
  "integration-name": "Kubernetes",
@@ -353,13 +276,4 @@ def get_provider_info():
353
276
  },
354
277
  },
355
278
  "executors": ["airflow.providers.cncf.kubernetes.kubernetes_executor.KubernetesExecutor"],
356
- "dependencies": [
357
- "aiofiles>=23.2.0",
358
- "apache-airflow>=2.9.0",
359
- "asgiref>=3.5.2",
360
- "cryptography>=41.0.0",
361
- "kubernetes>=29.0.0,<=31.0.0",
362
- "kubernetes_asyncio>=29.0.0,<=31.0.0",
363
- ],
364
- "devel-dependencies": [],
365
279
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-cncf-kubernetes
3
- Version: 10.4.1
3
+ Version: 10.4.2
4
4
  Summary: Provider package apache-airflow-providers-cncf-kubernetes for Apache Airflow
5
5
  Keywords: airflow-provider,cncf.kubernetes,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -27,8 +27,8 @@ Requires-Dist: cryptography>=41.0.0
27
27
  Requires-Dist: kubernetes>=29.0.0,<=31.0.0
28
28
  Requires-Dist: kubernetes_asyncio>=29.0.0,<=31.0.0
29
29
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
30
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.4.1/changelog.html
31
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.4.1
30
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.4.2/changelog.html
31
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.4.2
32
32
  Project-URL: Mastodon, https://fosstodon.org/@airflow
33
33
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
34
34
  Project-URL: Source Code, https://github.com/apache/airflow
@@ -59,7 +59,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
59
59
 
60
60
  Package ``apache-airflow-providers-cncf-kubernetes``
61
61
 
62
- Release: ``10.4.1``
62
+ Release: ``10.4.2``
63
63
 
64
64
 
65
65
  `Kubernetes <https://kubernetes.io/>`__
@@ -72,7 +72,7 @@ This is a provider package for ``cncf.kubernetes`` provider. All classes for thi
72
72
  are in ``airflow.providers.cncf.kubernetes`` python package.
73
73
 
74
74
  You can find package information and changelog for the provider
75
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.4.1/>`_.
75
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.4.2/>`_.
76
76
 
77
77
  Installation
78
78
  ------------
@@ -98,5 +98,5 @@ PIP package Version required
98
98
  ====================== =====================
99
99
 
100
100
  The changelog for the provider package can be found in the
101
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.4.1/changelog.html>`_.
101
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-cncf-kubernetes/10.4.2/changelog.html>`_.
102
102
 
@@ -1,8 +1,8 @@
1
1
  airflow/providers/cncf/kubernetes/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
2
- airflow/providers/cncf/kubernetes/__init__.py,sha256=YL_Bv_NH7lkJ3NBKsWI7SaIRwR_4R5NKa3u5Re4ZjlU,1503
2
+ airflow/providers/cncf/kubernetes/__init__.py,sha256=52kiWI08cAAtNNwjefMhvC0VPaskM3oCiII9ELhmYLk,1503
3
3
  airflow/providers/cncf/kubernetes/callbacks.py,sha256=5zGmQthojdT9iBEV3LIyBq-oKzjv2D4dOYCjYRbb61c,6076
4
4
  airflow/providers/cncf/kubernetes/exceptions.py,sha256=3cNEZTnrltBsqwzHiLfckwYYc_IWY1g4PcRs6zuMWWA,1137
5
- airflow/providers/cncf/kubernetes/get_provider_info.py,sha256=kzDYY5OFQxSlI_VTbSJS66v9Ap613U4pLHT2MdTjAag,17792
5
+ airflow/providers/cncf/kubernetes/get_provider_info.py,sha256=PqSjW28xplbuZqAX7AMYa1CHNk1w7naQfduN0rQJ8qI,15847
6
6
  airflow/providers/cncf/kubernetes/k8s_model.py,sha256=xmdFhX29DjegoZ-cq8-KDL9soVYXf4OpU6fAGr3cPTU,2101
7
7
  airflow/providers/cncf/kubernetes/kube_client.py,sha256=yflZxLousXA9d7t67KrEy55qzb1cUhEyy6yCPkEem28,5329
8
8
  airflow/providers/cncf/kubernetes/kube_config.py,sha256=3qWdCp2z4g8gX_sIOProgwp52UxM5kAIYabkxaX297g,5079
@@ -18,11 +18,11 @@ airflow/providers/cncf/kubernetes/backcompat/backwards_compat_converters.py,sha2
18
18
  airflow/providers/cncf/kubernetes/cli/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
19
19
  airflow/providers/cncf/kubernetes/cli/kubernetes_command.py,sha256=0n1Tj7w6jWfeRtf_VTn1dA5XN1MlOziXFDBA51nHquM,7252
20
20
  airflow/providers/cncf/kubernetes/decorators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
21
- airflow/providers/cncf/kubernetes/decorators/kubernetes.py,sha256=5DaSEgl2YLFntPPaLfUw-efwq4IBnqwFgeBb3IE6SHw,6174
21
+ airflow/providers/cncf/kubernetes/decorators/kubernetes.py,sha256=_OnebMazgYTJoCnkaMsRxwF6f2slKU_-ucrml8z8cq0,6449
22
22
  airflow/providers/cncf/kubernetes/executors/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
23
23
  airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py,sha256=t6nOCpR9VZRcPG5tel_lgQ1AJaEDoJch2jDBn2acu18,31765
24
24
  airflow/providers/cncf/kubernetes/executors/kubernetes_executor_types.py,sha256=L8_8HOHd_4O8WW6xT2tp49-yOj0EMKCYK5YqMOOx_bI,1973
25
- airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py,sha256=78xscmwmmcqAsnB0-Q_y-hGY5DZh6rtV9fW1PUm5gxs,24773
25
+ airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py,sha256=C-2EQcVKHqsELfzCHxqs4zK46hGSc1bPTD5Uw_K3ikk,24808
26
26
  airflow/providers/cncf/kubernetes/executors/local_kubernetes_executor.py,sha256=TuFRbs1zqKajJoZmo25kT4AGd-_-iD-UbhfOY30EOck,11591
27
27
  airflow/providers/cncf/kubernetes/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
28
28
  airflow/providers/cncf/kubernetes/hooks/kubernetes.py,sha256=Iyn_kXNYj3sVpjCBqxTnu8Ob7SNTLsQva80IZpKpYWg,36784
@@ -53,7 +53,7 @@ airflow/providers/cncf/kubernetes/utils/delete_from.py,sha256=poObZSoEJwQyaYWilE
53
53
  airflow/providers/cncf/kubernetes/utils/k8s_resource_iterator.py,sha256=DLypjkD_3YDixRTcsxEjgvHZNbbG9qamlz05eBqaWzU,1955
54
54
  airflow/providers/cncf/kubernetes/utils/pod_manager.py,sha256=fFyO5X9aK-Qh2T0FO73UI1E7PBG0_Nz2n4-2Til0f40,37047
55
55
  airflow/providers/cncf/kubernetes/utils/xcom_sidecar.py,sha256=k6bdmVJ21OrAwGmWwledRrAmaty9ZrmbuM-IbaI4mqo,2519
56
- apache_airflow_providers_cncf_kubernetes-10.4.1.dist-info/entry_points.txt,sha256=ByD3QJJyP9CfmTYtpNI1953akD38RUDgpGXLaq9vpOw,111
57
- apache_airflow_providers_cncf_kubernetes-10.4.1.dist-info/WHEEL,sha256=_2ozNFCLWc93bK4WKHCO-eDUENDlo-dgc9cU3qokYO4,82
58
- apache_airflow_providers_cncf_kubernetes-10.4.1.dist-info/METADATA,sha256=A7iQ-7-79HRf3vDvIrAghnKSUnwZQeHshPYUs2XHo7k,4306
59
- apache_airflow_providers_cncf_kubernetes-10.4.1.dist-info/RECORD,,
56
+ apache_airflow_providers_cncf_kubernetes-10.4.2.dist-info/entry_points.txt,sha256=ByD3QJJyP9CfmTYtpNI1953akD38RUDgpGXLaq9vpOw,111
57
+ apache_airflow_providers_cncf_kubernetes-10.4.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
58
+ apache_airflow_providers_cncf_kubernetes-10.4.2.dist-info/METADATA,sha256=AU_3AyvbJpgO2wuQCtrMlYsBhSA72k03bTeCfcB8fL0,4306
59
+ apache_airflow_providers_cncf_kubernetes-10.4.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.11.0
2
+ Generator: flit 3.12.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any