apache-airflow-providers-common-compat 1.7.1__py3-none-any.whl → 1.7.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.
- airflow/providers/common/compat/__init__.py +1 -1
- airflow/providers/common/compat/standard/operators.py +2 -1
- airflow/providers/common/compat/version_compat.py +12 -0
- {apache_airflow_providers_common_compat-1.7.1.dist-info → apache_airflow_providers_common_compat-1.7.2.dist-info}/METADATA +8 -9
- {apache_airflow_providers_common_compat-1.7.1.dist-info → apache_airflow_providers_common_compat-1.7.2.dist-info}/RECORD +7 -7
- {apache_airflow_providers_common_compat-1.7.1.dist-info → apache_airflow_providers_common_compat-1.7.2.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_common_compat-1.7.1.dist-info → apache_airflow_providers_common_compat-1.7.2.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.7.
|
|
32
|
+
__version__ = "1.7.2"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
35
|
"2.10.0"
|
|
@@ -46,5 +46,6 @@ else:
|
|
|
46
46
|
except (ImportError, ModuleNotFoundError):
|
|
47
47
|
from airflow.providers.standard.operators.python import get_current_context
|
|
48
48
|
|
|
49
|
+
from airflow.providers.common.compat.version_compat import BaseOperator
|
|
49
50
|
|
|
50
|
-
__all__ = ["PythonOperator", "_SERIALIZERS", "ShortCircuitOperator", "get_current_context"]
|
|
51
|
+
__all__ = ["BaseOperator", "PythonOperator", "_SERIALIZERS", "ShortCircuitOperator", "get_current_context"]
|
|
@@ -33,3 +33,15 @@ def get_base_airflow_version_tuple() -> tuple[int, int, int]:
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
AIRFLOW_V_3_0_PLUS = get_base_airflow_version_tuple() >= (3, 0, 0)
|
|
36
|
+
AIRFLOW_V_3_1_PLUS = get_base_airflow_version_tuple() >= (3, 1, 0)
|
|
37
|
+
|
|
38
|
+
if AIRFLOW_V_3_0_PLUS:
|
|
39
|
+
from airflow.sdk import BaseOperator
|
|
40
|
+
else:
|
|
41
|
+
from airflow.models import BaseOperator
|
|
42
|
+
|
|
43
|
+
__all__ = [
|
|
44
|
+
"AIRFLOW_V_3_0_PLUS",
|
|
45
|
+
"AIRFLOW_V_3_1_PLUS",
|
|
46
|
+
"BaseOperator",
|
|
47
|
+
]
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-common-compat
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2
|
|
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>
|
|
7
7
|
Maintainer-email: Apache Software Foundation <dev@airflow.apache.org>
|
|
8
|
-
Requires-Python: ~=3.
|
|
8
|
+
Requires-Python: ~=3.10
|
|
9
9
|
Description-Content-Type: text/x-rst
|
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
11
|
Classifier: Environment :: Console
|
|
@@ -15,7 +15,6 @@ Classifier: Intended Audience :: System Administrators
|
|
|
15
15
|
Classifier: Framework :: Apache Airflow
|
|
16
16
|
Classifier: Framework :: Apache Airflow :: Provider
|
|
17
17
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
20
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -24,8 +23,8 @@ Requires-Dist: apache-airflow>=2.10.0
|
|
|
24
23
|
Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
|
|
25
24
|
Requires-Dist: apache-airflow-providers-standard ; extra == "standard"
|
|
26
25
|
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.7.
|
|
28
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.
|
|
26
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.2/changelog.html
|
|
27
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.2
|
|
29
28
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
30
29
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
31
30
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
@@ -58,7 +57,7 @@ Provides-Extra: standard
|
|
|
58
57
|
|
|
59
58
|
Package ``apache-airflow-providers-common-compat``
|
|
60
59
|
|
|
61
|
-
Release: ``1.7.
|
|
60
|
+
Release: ``1.7.2``
|
|
62
61
|
|
|
63
62
|
|
|
64
63
|
Common Compatibility Provider - providing compatibility code for previous Airflow versions
|
|
@@ -71,7 +70,7 @@ This is a provider package for ``common.compat`` provider. All classes for this
|
|
|
71
70
|
are in ``airflow.providers.common.compat`` python package.
|
|
72
71
|
|
|
73
72
|
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.7.
|
|
73
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.2/>`_.
|
|
75
74
|
|
|
76
75
|
Installation
|
|
77
76
|
------------
|
|
@@ -80,7 +79,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
|
|
|
80
79
|
for the minimum Airflow version supported) via
|
|
81
80
|
``pip install apache-airflow-providers-common-compat``
|
|
82
81
|
|
|
83
|
-
The package supports the following python versions: 3.
|
|
82
|
+
The package supports the following python versions: 3.10,3.11,3.12
|
|
84
83
|
|
|
85
84
|
Requirements
|
|
86
85
|
------------
|
|
@@ -112,5 +111,5 @@ Dependent package
|
|
|
112
111
|
============================================================================================================== ===============
|
|
113
112
|
|
|
114
113
|
The changelog for the provider package can be found in the
|
|
115
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.
|
|
114
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.2/changelog.html>`_.
|
|
116
115
|
|
|
@@ -1,8 +1,8 @@
|
|
|
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=WfYK0E3c4UVGgN9ajsbWePazf5VsqAlvfMzw675sggc,1502
|
|
3
3
|
airflow/providers/common/compat/check.py,sha256=d6at8iFn_c2jbnmvswoMYz1DFUrAbQTVKMCA5PYAOrQ,4347
|
|
4
4
|
airflow/providers/common/compat/get_provider_info.py,sha256=BfscTzSrq5WxqTt4njI9WwvWyvE3JjYYfZEdrSRT6IU,1555
|
|
5
|
-
airflow/providers/common/compat/version_compat.py,sha256=
|
|
5
|
+
airflow/providers/common/compat/version_compat.py,sha256=4f4HIVNU9aCzHJO2HlKkm0nlr2gpIGmcLI46LeMqpBk,1805
|
|
6
6
|
airflow/providers/common/compat/assets/__init__.py,sha256=P1xX2Nw8LeS3u_Prz-SZL_jtTteHXqDd-0G8hZXD8oU,2079
|
|
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
|
|
@@ -18,10 +18,10 @@ airflow/providers/common/compat/openlineage/utils/utils.py,sha256=KB_1emJIEeYxPG
|
|
|
18
18
|
airflow/providers/common/compat/security/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
19
19
|
airflow/providers/common/compat/security/permissions.py,sha256=lkmW7IyE56sK0xPdc2dg7EeuS_EJBVfERoSD_Ct7lf0,1448
|
|
20
20
|
airflow/providers/common/compat/standard/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
|
21
|
-
airflow/providers/common/compat/standard/operators.py,sha256=
|
|
21
|
+
airflow/providers/common/compat/standard/operators.py,sha256=ejCz6PrgEWfHrHVNCqs7eEX1p1SwSnBnAr2mxjqR3VE,1811
|
|
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.7.
|
|
25
|
-
apache_airflow_providers_common_compat-1.7.
|
|
26
|
-
apache_airflow_providers_common_compat-1.7.
|
|
27
|
-
apache_airflow_providers_common_compat-1.7.
|
|
24
|
+
apache_airflow_providers_common_compat-1.7.2.dist-info/entry_points.txt,sha256=OdOClAuY8E82VvA-Zo6narFujtXdGihHKZH2HfmlPIo,109
|
|
25
|
+
apache_airflow_providers_common_compat-1.7.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
26
|
+
apache_airflow_providers_common_compat-1.7.2.dist-info/METADATA,sha256=H0MBb8zxyKIPaaEmtsLs7fzvEDx-SsqHAjeq0zDlbc8,5227
|
|
27
|
+
apache_airflow_providers_common_compat-1.7.2.dist-info/RECORD,,
|
|
File without changes
|