apache-airflow-providers-common-compat 1.6.0rc1__py3-none-any.whl → 1.6.1rc1__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-common-compat might be problematic. Click here for more details.
- airflow/providers/common/compat/__init__.py +1 -1
- airflow/providers/common/compat/get_provider_info.py +1 -10
- airflow/providers/common/compat/notifier/__init__.py +2 -2
- airflow/providers/common/compat/openlineage/utils/spark.py +20 -20
- {apache_airflow_providers_common_compat-1.6.0rc1.dist-info → apache_airflow_providers_common_compat-1.6.1rc1.dist-info}/METADATA +7 -7
- {apache_airflow_providers_common_compat-1.6.0rc1.dist-info → apache_airflow_providers_common_compat-1.6.1rc1.dist-info}/RECORD +8 -8
- {apache_airflow_providers_common_compat-1.6.0rc1.dist-info → apache_airflow_providers_common_compat-1.6.1rc1.dist-info}/WHEEL +1 -1
- {apache_airflow_providers_common_compat-1.6.0rc1.dist-info → apache_airflow_providers_common_compat-1.6.1rc1.dist-info}/entry_points.txt +0 -0
|
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
|
29
29
|
|
|
30
30
|
__all__ = ["__version__"]
|
|
31
31
|
|
|
32
|
-
__version__ = "1.6.
|
|
32
|
+
__version__ = "1.6.1"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
35
|
"2.9.0"
|
|
@@ -25,10 +25,7 @@ def get_provider_info():
|
|
|
25
25
|
return {
|
|
26
26
|
"package-name": "apache-airflow-providers-common-compat",
|
|
27
27
|
"name": "Common Compat",
|
|
28
|
-
"description": "
|
|
29
|
-
"state": "ready",
|
|
30
|
-
"source-date-epoch": 1742480214,
|
|
31
|
-
"versions": ["1.6.0", "1.5.1", "1.5.0", "1.3.0", "1.2.2", "1.2.1", "1.2.0", "1.1.0", "1.0.0"],
|
|
28
|
+
"description": "Common Compatibility Provider - providing compatibility code for previous Airflow versions\n",
|
|
32
29
|
"integrations": [
|
|
33
30
|
{
|
|
34
31
|
"integration-name": "Common Compat",
|
|
@@ -36,10 +33,4 @@ def get_provider_info():
|
|
|
36
33
|
"tags": ["software"],
|
|
37
34
|
}
|
|
38
35
|
],
|
|
39
|
-
"dependencies": ["apache-airflow>=2.9.0"],
|
|
40
|
-
"optional-dependencies": {
|
|
41
|
-
"openlineage": ["apache-airflow-providers-openlineage"],
|
|
42
|
-
"standard": ["apache-airflow-providers-standard"],
|
|
43
|
-
},
|
|
44
|
-
"devel-dependencies": [],
|
|
45
36
|
}
|
|
@@ -22,9 +22,9 @@ from typing import TYPE_CHECKING
|
|
|
22
22
|
from airflow.providers.common.compat.version_compat import AIRFLOW_V_3_0_PLUS
|
|
23
23
|
|
|
24
24
|
if TYPE_CHECKING:
|
|
25
|
-
from airflow.sdk.
|
|
25
|
+
from airflow.sdk.bases.notifier import BaseNotifier
|
|
26
26
|
elif AIRFLOW_V_3_0_PLUS:
|
|
27
|
-
from airflow.sdk.
|
|
27
|
+
from airflow.sdk.bases.notifier import BaseNotifier
|
|
28
28
|
else:
|
|
29
29
|
from airflow.notifications.basenotifier import BaseNotifier
|
|
30
30
|
|
|
@@ -27,27 +27,27 @@ if TYPE_CHECKING:
|
|
|
27
27
|
inject_parent_job_information_into_spark_properties,
|
|
28
28
|
inject_transport_information_into_spark_properties,
|
|
29
29
|
)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
from airflow.sdk import Context
|
|
31
|
+
try:
|
|
32
|
+
from airflow.providers.openlineage.utils.spark import (
|
|
33
|
+
inject_parent_job_information_into_spark_properties,
|
|
34
|
+
inject_transport_information_into_spark_properties,
|
|
35
|
+
)
|
|
36
|
+
except ImportError:
|
|
37
|
+
|
|
38
|
+
def inject_parent_job_information_into_spark_properties(properties: dict, context: Context) -> dict:
|
|
39
|
+
log.warning(
|
|
40
|
+
"Could not import `airflow.providers.openlineage.plugins.macros`."
|
|
41
|
+
"Skipping the injection of OpenLineage parent job information into Spark properties."
|
|
42
|
+
)
|
|
43
|
+
return properties
|
|
44
|
+
|
|
45
|
+
def inject_transport_information_into_spark_properties(properties: dict, context: Context) -> dict:
|
|
46
|
+
log.warning(
|
|
47
|
+
"Could not import `airflow.providers.openlineage.plugins.listener`."
|
|
48
|
+
"Skipping the injection of OpenLineage transport information into Spark properties."
|
|
35
49
|
)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
def inject_parent_job_information_into_spark_properties(properties: dict, context) -> dict:
|
|
39
|
-
log.warning(
|
|
40
|
-
"Could not import `airflow.providers.openlineage.plugins.macros`."
|
|
41
|
-
"Skipping the injection of OpenLineage parent job information into Spark properties."
|
|
42
|
-
)
|
|
43
|
-
return properties
|
|
44
|
-
|
|
45
|
-
def inject_transport_information_into_spark_properties(properties: dict, context) -> dict:
|
|
46
|
-
log.warning(
|
|
47
|
-
"Could not import `airflow.providers.openlineage.plugins.listener`."
|
|
48
|
-
"Skipping the injection of OpenLineage transport information into Spark properties."
|
|
49
|
-
)
|
|
50
|
-
return properties
|
|
50
|
+
return properties
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
__all__ = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-common-compat
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.1rc1
|
|
4
4
|
Summary: Provider package apache-airflow-providers-common-compat for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,common.compat,airflow,integration
|
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
@@ -24,8 +24,8 @@ Requires-Dist: apache-airflow>=2.9.0rc0
|
|
|
24
24
|
Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
|
|
25
25
|
Requires-Dist: apache-airflow-providers-standard ; extra == "standard"
|
|
26
26
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
27
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.
|
|
28
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.
|
|
27
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1/changelog.html
|
|
28
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1
|
|
29
29
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
30
30
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
31
31
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
@@ -58,10 +58,10 @@ Provides-Extra: standard
|
|
|
58
58
|
|
|
59
59
|
Package ``apache-airflow-providers-common-compat``
|
|
60
60
|
|
|
61
|
-
Release: ``1.6.
|
|
61
|
+
Release: ``1.6.1``
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
Common Compatibility Provider - providing compatibility code for previous Airflow versions
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
Provider package
|
|
@@ -71,7 +71,7 @@ This is a provider package for ``common.compat`` provider. All classes for this
|
|
|
71
71
|
are in ``airflow.providers.common.compat`` python package.
|
|
72
72
|
|
|
73
73
|
You can find package information and changelog for the provider
|
|
74
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.
|
|
74
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1/>`_.
|
|
75
75
|
|
|
76
76
|
Installation
|
|
77
77
|
------------
|
|
@@ -112,5 +112,5 @@ Dependent package
|
|
|
112
112
|
============================================================================================================== ===============
|
|
113
113
|
|
|
114
114
|
The changelog for the provider package can be found in the
|
|
115
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.
|
|
115
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1/changelog.html>`_.
|
|
116
116
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
airflow/providers/common/compat/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
|
2
|
-
airflow/providers/common/compat/__init__.py,sha256=
|
|
2
|
+
airflow/providers/common/compat/__init__.py,sha256=eZ0SlfQ8f7lr3w1UAUACl8T219AZZah95gcBDPIjgmI,1500
|
|
3
3
|
airflow/providers/common/compat/check.py,sha256=d6at8iFn_c2jbnmvswoMYz1DFUrAbQTVKMCA5PYAOrQ,4347
|
|
4
|
-
airflow/providers/common/compat/get_provider_info.py,sha256=
|
|
4
|
+
airflow/providers/common/compat/get_provider_info.py,sha256=BfscTzSrq5WxqTt4njI9WwvWyvE3JjYYfZEdrSRT6IU,1555
|
|
5
5
|
airflow/providers/common/compat/version_compat.py,sha256=aHg90_DtgoSnQvILFICexMyNlHlALBdaeWqkX3dFDug,1605
|
|
6
6
|
airflow/providers/common/compat/assets/__init__.py,sha256=73zbqrAVBepkL83xpjRjzLQF7LzI-uA-3pBu5n7-g80,2202
|
|
7
7
|
airflow/providers/common/compat/lineage/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
8
8
|
airflow/providers/common/compat/lineage/entities.py,sha256=otob45spY8YSa5fMx3XXg-JWNZttS8g4WrkvYte2HFY,2651
|
|
9
9
|
airflow/providers/common/compat/lineage/hook.py,sha256=0ujOAFXc3U0zqAJfKVgSRAHCa6lKwlNd7yMacUyNdD8,3977
|
|
10
|
-
airflow/providers/common/compat/notifier/__init__.py,sha256=
|
|
10
|
+
airflow/providers/common/compat/notifier/__init__.py,sha256=ENJCBUjdRT68heVSfI8fhMs4hi6bUh5CYUkQTwTaqxM,1189
|
|
11
11
|
airflow/providers/common/compat/openlineage/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
12
12
|
airflow/providers/common/compat/openlineage/check.py,sha256=jcrz1xgqsUd9TCF564U_JGvU8Vyrss7qpiMaQz_ZIqA,4672
|
|
13
13
|
airflow/providers/common/compat/openlineage/facet.py,sha256=_3YHsRP39vx6FPePFQCLjNHP9kzisNH5v97o-PWzwLk,6529
|
|
14
14
|
airflow/providers/common/compat/openlineage/utils/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
15
|
-
airflow/providers/common/compat/openlineage/utils/spark.py,sha256
|
|
15
|
+
airflow/providers/common/compat/openlineage/utils/spark.py,sha256=yyybMD8Nrts0LpjkjyO7DPh3gW1bd0gzkAdpyTbvOsM,2172
|
|
16
16
|
airflow/providers/common/compat/openlineage/utils/sql.py,sha256=bQdfjBgkHNt0cFKdA2BM7myapb_WVM_F2RkVoPZVfoU,3286
|
|
17
17
|
airflow/providers/common/compat/openlineage/utils/utils.py,sha256=KB_1emJIEeYxPG7YscYHmIEDIx9VNmUPtDFz81UuhQk,1617
|
|
18
18
|
airflow/providers/common/compat/security/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
@@ -21,7 +21,7 @@ airflow/providers/common/compat/standard/__init__.py,sha256=9hdXHABrVpkbpjZgUft3
|
|
|
21
21
|
airflow/providers/common/compat/standard/operators.py,sha256=1jsiu8Cc6S2Xhhfo2Rh5PqJCnQ1CBH_UW5q7s3Y0Mpc,1712
|
|
22
22
|
airflow/providers/common/compat/standard/triggers.py,sha256=XBi9KE-cAY_TlIyKVqr1-EU7xZNqgCVTugXZObV3gaQ,1177
|
|
23
23
|
airflow/providers/common/compat/standard/utils.py,sha256=SvTXThqYRKVfmRRpq-D5eNcxQjY9TESrTyl3n670QM8,1289
|
|
24
|
-
apache_airflow_providers_common_compat-1.6.
|
|
25
|
-
apache_airflow_providers_common_compat-1.6.
|
|
26
|
-
apache_airflow_providers_common_compat-1.6.
|
|
27
|
-
apache_airflow_providers_common_compat-1.6.
|
|
24
|
+
apache_airflow_providers_common_compat-1.6.1rc1.dist-info/entry_points.txt,sha256=OdOClAuY8E82VvA-Zo6narFujtXdGihHKZH2HfmlPIo,109
|
|
25
|
+
apache_airflow_providers_common_compat-1.6.1rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
26
|
+
apache_airflow_providers_common_compat-1.6.1rc1.dist-info/METADATA,sha256=aQF_7-GQmVF3vzcQoBUztgoxcgZiOSM5UKvjDpURg_U,5284
|
|
27
|
+
apache_airflow_providers_common_compat-1.6.1rc1.dist-info/RECORD,,
|