apache-airflow-providers-common-compat 1.6.1__tar.gz → 1.7.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-common-compat might be problematic. Click here for more details.

Files changed (54) hide show
  1. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/PKG-INFO +8 -8
  2. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/README.rst +4 -4
  3. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/docs/changelog.rst +19 -0
  4. apache_airflow_providers_common_compat-1.7.0rc1/docs/commits.rst +35 -0
  5. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/docs/index.rst +5 -5
  6. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/provider.yaml +6 -2
  7. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/pyproject.toml +4 -4
  8. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/__init__.py +3 -3
  9. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/assets/__init__.py +2 -7
  10. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/lineage/hook.py +2 -4
  11. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/standard/operators.py +5 -5
  12. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/version_compat.py +0 -1
  13. apache_airflow_providers_common_compat-1.6.1/docs/commits.rst +0 -204
  14. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/docs/.latest-doc-only-change.txt +0 -0
  15. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/docs/conf.py +0 -0
  16. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/docs/installing-providers-from-sources.rst +0 -0
  17. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/docs/security.rst +0 -0
  18. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/__init__.py +0 -0
  19. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/__init__.py +0 -0
  20. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/__init__.py +0 -0
  21. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/LICENSE +0 -0
  22. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/check.py +0 -0
  23. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/get_provider_info.py +0 -0
  24. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/lineage/__init__.py +0 -0
  25. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/lineage/entities.py +0 -0
  26. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/notifier/__init__.py +0 -0
  27. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/openlineage/__init__.py +0 -0
  28. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/openlineage/check.py +0 -0
  29. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/openlineage/facet.py +0 -0
  30. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/openlineage/utils/__init__.py +0 -0
  31. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/openlineage/utils/spark.py +0 -0
  32. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/openlineage/utils/sql.py +0 -0
  33. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/openlineage/utils/utils.py +0 -0
  34. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/security/__init__.py +0 -0
  35. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/security/permissions.py +0 -0
  36. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/standard/__init__.py +0 -0
  37. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/standard/triggers.py +0 -0
  38. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/src/airflow/providers/common/compat/standard/utils.py +0 -0
  39. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/conftest.py +0 -0
  40. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/__init__.py +0 -0
  41. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/__init__.py +0 -0
  42. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/__init__.py +0 -0
  43. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/lineage/__init__.py +0 -0
  44. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/lineage/test_hook.py +0 -0
  45. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/openlineage/__init__.py +0 -0
  46. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/openlineage/test_check.py +0 -0
  47. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/openlineage/test_facet.py +0 -0
  48. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/openlineage/utils/__init__.py +0 -0
  49. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/openlineage/utils/test_spark.py +0 -0
  50. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/openlineage/utils/test_sql.py +0 -0
  51. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/openlineage/utils/test_utils.py +0 -0
  52. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/security/__init__.py +0 -0
  53. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/security/test_permissions.py +0 -0
  54. {apache_airflow_providers_common_compat-1.6.1 → apache_airflow_providers_common_compat-1.7.0rc1}/tests/unit/common/compat/test_check.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-common-compat
3
- Version: 1.6.1
3
+ Version: 1.7.0rc1
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>
@@ -20,12 +20,12 @@ Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Topic :: System :: Monitoring
23
- Requires-Dist: apache-airflow>=2.9.0
23
+ Requires-Dist: apache-airflow>=2.10.0rc1
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.1/changelog.html
28
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1
27
+ Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-common-compat/1.7.0/changelog.html
28
+ Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-common-compat/1.7.0
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,7 +58,7 @@ Provides-Extra: standard
58
58
 
59
59
  Package ``apache-airflow-providers-common-compat``
60
60
 
61
- Release: ``1.6.1``
61
+ Release: ``1.7.0``
62
62
 
63
63
 
64
64
  Common Compatibility Provider - providing compatibility code for previous Airflow versions
@@ -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.1/>`_.
74
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.0/>`_.
75
75
 
76
76
  Installation
77
77
  ------------
@@ -88,7 +88,7 @@ Requirements
88
88
  ================== ==================
89
89
  PIP package Version required
90
90
  ================== ==================
91
- ``apache-airflow`` ``>=2.9.0``
91
+ ``apache-airflow`` ``>=2.10.0``
92
92
  ================== ==================
93
93
 
94
94
  Cross provider package dependencies
@@ -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.1/changelog.html>`_.
115
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.0/changelog.html>`_.
116
116
 
@@ -23,7 +23,7 @@
23
23
 
24
24
  Package ``apache-airflow-providers-common-compat``
25
25
 
26
- Release: ``1.6.1``
26
+ Release: ``1.7.0``
27
27
 
28
28
 
29
29
  Common Compatibility Provider - providing compatibility code for previous Airflow versions
@@ -36,7 +36,7 @@ This is a provider package for ``common.compat`` provider. All classes for this
36
36
  are in ``airflow.providers.common.compat`` python package.
37
37
 
38
38
  You can find package information and changelog for the provider
39
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1/>`_.
39
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.0/>`_.
40
40
 
41
41
  Installation
42
42
  ------------
@@ -53,7 +53,7 @@ Requirements
53
53
  ================== ==================
54
54
  PIP package Version required
55
55
  ================== ==================
56
- ``apache-airflow`` ``>=2.9.0``
56
+ ``apache-airflow`` ``>=2.10.0``
57
57
  ================== ==================
58
58
 
59
59
  Cross provider package dependencies
@@ -77,4 +77,4 @@ Dependent package
77
77
  ============================================================================================================== ===============
78
78
 
79
79
  The changelog for the provider package can be found in the
80
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1/changelog.html>`_.
80
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.7.0/changelog.html>`_.
@@ -25,6 +25,25 @@
25
25
  Changelog
26
26
  ---------
27
27
 
28
+ 1.7.0
29
+ .....
30
+
31
+ .. note::
32
+ This release of provider is only available for Airflow 2.10+ as explained in the
33
+ Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>_.
34
+
35
+ Misc
36
+ ~~~~
37
+
38
+ * ``Remove AIRFLOW_2_10_PLUS conditions (#49877)``
39
+ * ``Bump min Airflow version in providers to 2.10 (#49843)``
40
+
41
+ .. Below changes are excluded from the changelog. Move them to
42
+ appropriate section above if needed. Do not delete the lines(!):
43
+ * ``Fix Breeze unit test (#50395)``
44
+ * ``Update description of provider.yaml dependencies (#50231)``
45
+ * ``Avoid committing history for providers (#49907)``
46
+
28
47
  1.6.1
29
48
  .....
30
49
 
@@ -0,0 +1,35 @@
1
+
2
+ .. Licensed to the Apache Software Foundation (ASF) under one
3
+ or more contributor license agreements. See the NOTICE file
4
+ distributed with this work for additional information
5
+ regarding copyright ownership. The ASF licenses this file
6
+ to you under the Apache License, Version 2.0 (the
7
+ "License"); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+
10
+ .. http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ .. Unless required by applicable law or agreed to in writing,
13
+ software distributed under the License is distributed on an
14
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ KIND, either express or implied. See the License for the
16
+ specific language governing permissions and limitations
17
+ under the License.
18
+
19
+ .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
20
+
21
+ .. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
22
+ `PROVIDER_COMMITS_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
23
+
24
+ .. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN!
25
+
26
+ Package apache-airflow-providers-common-compat
27
+ ------------------------------------------------------
28
+
29
+ Common Compatibility Provider - providing compatibility code for previous Airflow versions
30
+
31
+
32
+ This is detailed commit list of changes for versions provider package: ``common.compat``.
33
+ For high-level changelog, see :doc:`package information including changelog <index>`.
34
+
35
+ .. airflow-providers-commits::
@@ -62,7 +62,7 @@ apache-airflow-providers-common-compat package
62
62
  Common Compatibility Provider - providing compatibility code for previous Airflow versions
63
63
 
64
64
 
65
- Release: 1.6.1
65
+ Release: 1.7.0
66
66
 
67
67
  Provider package
68
68
  ----------------
@@ -80,12 +80,12 @@ For the minimum Airflow version supported, see ``Requirements`` below.
80
80
  Requirements
81
81
  ------------
82
82
 
83
- The minimum Apache Airflow version supported by this provider distribution is ``2.9.0``.
83
+ The minimum Apache Airflow version supported by this provider distribution is ``2.10.0``.
84
84
 
85
85
  ================== ==================
86
86
  PIP package Version required
87
87
  ================== ==================
88
- ``apache-airflow`` ``>=2.9.0``
88
+ ``apache-airflow`` ``>=2.10.0``
89
89
  ================== ==================
90
90
 
91
91
  Cross provider package dependencies
@@ -114,5 +114,5 @@ Downloading official packages
114
114
  You can download officially released packages and verify their checksums and signatures from the
115
115
  `Official Apache Download site <https://downloads.apache.org/airflow/providers/>`_
116
116
 
117
- * `The apache-airflow-providers-common-compat 1.6.1 sdist package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.6.1.tar.gz>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.6.1.tar.gz.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.6.1.tar.gz.sha512>`__)
118
- * `The apache-airflow-providers-common-compat 1.6.1 wheel package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.6.1-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.6.1-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.6.1-py3-none-any.whl.sha512>`__)
117
+ * `The apache-airflow-providers-common-compat 1.7.0 sdist package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.7.0.tar.gz>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.7.0.tar.gz.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.7.0.tar.gz.sha512>`__)
118
+ * `The apache-airflow-providers-common-compat 1.7.0 wheel package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.7.0-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.7.0-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_common_compat-1.7.0-py3-none-any.whl.sha512>`__)
@@ -22,9 +22,13 @@ description: |
22
22
  Common Compatibility Provider - providing compatibility code for previous Airflow versions
23
23
 
24
24
  state: ready
25
- source-date-epoch: 1743477800
26
- # note that those versions are maintained by release manager - do not update them manually
25
+ source-date-epoch: 1747132145
26
+ # Note that those versions are maintained by release manager - do not update them manually
27
+ # with the exception of case where other provider in sources has >= new provider version.
28
+ # In such case adding >= NEW_VERSION and bumping to NEW_VERSION in a provider have
29
+ # to be done in the same PR
27
30
  versions:
31
+ - 1.7.0
28
32
  - 1.6.1
29
33
  - 1.6.0
30
34
  - 1.5.1
@@ -25,7 +25,7 @@ build-backend = "flit_core.buildapi"
25
25
 
26
26
  [project]
27
27
  name = "apache-airflow-providers-common-compat"
28
- version = "1.6.1"
28
+ version = "1.7.0rc1"
29
29
  description = "Provider package apache-airflow-providers-common-compat for Apache Airflow"
30
30
  readme = "README.rst"
31
31
  authors = [
@@ -57,7 +57,7 @@ requires-python = "~=3.9"
57
57
  # Make sure to run ``breeze static-checks --type update-providers-dependencies --all-files``
58
58
  # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build``
59
59
  dependencies = [
60
- "apache-airflow>=2.9.0",
60
+ "apache-airflow>=2.10.0rc1",
61
61
  ]
62
62
 
63
63
  # The optional dependencies should be modified in place in the generated file
@@ -106,8 +106,8 @@ apache-airflow-providers-common-sql = {workspace = true}
106
106
  apache-airflow-providers-standard = {workspace = true}
107
107
 
108
108
  [project.urls]
109
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1"
110
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-common-compat/1.6.1/changelog.html"
109
+ "Documentation" = "https://airflow.staged.apache.org/docs/apache-airflow-providers-common-compat/1.7.0"
110
+ "Changelog" = "https://airflow.staged.apache.org/docs/apache-airflow-providers-common-compat/1.7.0/changelog.html"
111
111
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
112
112
  "Source Code" = "https://github.com/apache/airflow"
113
113
  "Slack Chat" = "https://s.apache.org/airflow-slack"
@@ -29,11 +29,11 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "1.6.1"
32
+ __version__ = "1.7.0"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
- "2.9.0"
35
+ "2.10.0"
36
36
  ):
37
37
  raise RuntimeError(
38
- f"The package `apache-airflow-providers-common-compat:{__version__}` needs Apache Airflow 2.9.0+"
38
+ f"The package `apache-airflow-providers-common-compat:{__version__}` needs Apache Airflow 2.10.0+"
39
39
  )
@@ -20,7 +20,6 @@ from __future__ import annotations
20
20
  from typing import TYPE_CHECKING
21
21
 
22
22
  from airflow.providers.common.compat.version_compat import (
23
- AIRFLOW_V_2_10_PLUS,
24
23
  AIRFLOW_V_3_0_PLUS,
25
24
  )
26
25
 
@@ -38,16 +37,12 @@ else:
38
37
  from airflow.auth.managers.models.resource_details import DatasetDetails as AssetDetails
39
38
  from airflow.datasets import (
40
39
  Dataset as Asset,
40
+ DatasetAlias as AssetAlias,
41
41
  DatasetAll as AssetAll,
42
42
  DatasetAny as AssetAny,
43
+ expand_alias_to_datasets as expand_alias_to_assets,
43
44
  )
44
45
 
45
- if AIRFLOW_V_2_10_PLUS:
46
- from airflow.datasets import (
47
- DatasetAlias as AssetAlias,
48
- expand_alias_to_datasets as expand_alias_to_assets,
49
- )
50
-
51
46
 
52
47
  __all__ = [
53
48
  "Asset",
@@ -16,7 +16,7 @@
16
16
  # under the License.
17
17
  from __future__ import annotations
18
18
 
19
- from airflow.providers.common.compat.version_compat import AIRFLOW_V_2_10_PLUS, AIRFLOW_V_3_0_PLUS
19
+ from airflow.providers.common.compat.version_compat import AIRFLOW_V_3_0_PLUS
20
20
 
21
21
 
22
22
  def _get_asset_compat_hook_lineage_collector():
@@ -85,9 +85,7 @@ def get_hook_lineage_collector():
85
85
 
86
86
  return get_hook_lineage_collector()
87
87
 
88
- # HookLineageCollector added in 2.10
89
- if AIRFLOW_V_2_10_PLUS:
90
- return _get_asset_compat_hook_lineage_collector()
88
+ return _get_asset_compat_hook_lineage_collector()
91
89
 
92
90
  # For the case that airflow has not yet upgraded to 2.10 or higher,
93
91
  # but using the providers that already uses `get_hook_lineage_collector`
@@ -19,8 +19,6 @@ from __future__ import annotations
19
19
 
20
20
  from typing import TYPE_CHECKING
21
21
 
22
- from airflow.providers.common.compat.version_compat import AIRFLOW_V_2_10_PLUS
23
-
24
22
  if TYPE_CHECKING:
25
23
  from airflow.providers.standard.operators.python import (
26
24
  _SERIALIZERS,
@@ -38,13 +36,15 @@ else:
38
36
  )
39
37
  except ModuleNotFoundError:
40
38
  from airflow.operators.python import (
39
+ _SERIALIZERS,
41
40
  PythonOperator,
42
41
  ShortCircuitOperator,
43
- get_current_context,
44
42
  )
45
43
 
46
- if AIRFLOW_V_2_10_PLUS:
47
- from airflow.operators.python import _SERIALIZERS
44
+ try:
45
+ from airflow.sdk import get_current_context
46
+ except (ImportError, ModuleNotFoundError):
47
+ from airflow.providers.standard.operators.python import get_current_context
48
48
 
49
49
 
50
50
  __all__ = ["PythonOperator", "_SERIALIZERS", "ShortCircuitOperator", "get_current_context"]
@@ -32,5 +32,4 @@ def get_base_airflow_version_tuple() -> tuple[int, int, int]:
32
32
  return airflow_version.major, airflow_version.minor, airflow_version.micro
33
33
 
34
34
 
35
- AIRFLOW_V_2_10_PLUS = get_base_airflow_version_tuple() >= (2, 10, 0)
36
35
  AIRFLOW_V_3_0_PLUS = get_base_airflow_version_tuple() >= (3, 0, 0)
@@ -1,204 +0,0 @@
1
-
2
- .. Licensed to the Apache Software Foundation (ASF) under one
3
- or more contributor license agreements. See the NOTICE file
4
- distributed with this work for additional information
5
- regarding copyright ownership. The ASF licenses this file
6
- to you under the Apache License, Version 2.0 (the
7
- "License"); you may not use this file except in compliance
8
- with the License. You may obtain a copy of the License at
9
-
10
- .. http://www.apache.org/licenses/LICENSE-2.0
11
-
12
- .. Unless required by applicable law or agreed to in writing,
13
- software distributed under the License is distributed on an
14
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- KIND, either express or implied. See the License for the
16
- specific language governing permissions and limitations
17
- under the License.
18
-
19
- .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
20
-
21
- .. IF YOU WANT TO MODIFY THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
22
- `PROVIDER_COMMITS_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
23
-
24
- .. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN!
25
-
26
- Package apache-airflow-providers-common-compat
27
- ------------------------------------------------------
28
-
29
- Common Compatibility Provider - providing compatibility code for previous Airflow versions
30
-
31
-
32
- This is detailed commit list of changes for versions provider package: ``common.compat``.
33
- For high-level changelog, see :doc:`package information including changelog <index>`.
34
-
35
-
36
-
37
- 1.6.1
38
- .....
39
-
40
- Latest change: 2025-04-23
41
-
42
- ================================================================================================== =========== ==================================================================================
43
- Commit Committed Subject
44
- ================================================================================================== =========== ==================================================================================
45
- `405fbf3418 <https://github.com/apache/airflow/commit/405fbf341806e96f84dfd8ad5e2bf4df37140262>`__ 2025-04-23 ``Prepare documentation to release common.compat 1.6.1 (#49624)``
46
- `7bd0f8324c <https://github.com/apache/airflow/commit/7bd0f8324cfd8a9f5eb60af659b87c52cea3dad8>`__ 2025-04-22 ``Add backwards compatibility provider tests for Airflow 3.0.0 (#49562)``
47
- `ca3e4e75c6 <https://github.com/apache/airflow/commit/ca3e4e75c634afdceb23a86b7e0b0ff74614a7f1>`__ 2025-04-16 ``Prepare docs for Apr 3rd wave of providers (#49338)``
48
- `4a8567b20b <https://github.com/apache/airflow/commit/4a8567b20bdd6555cbdc936d6674bf4fa390b0d5>`__ 2025-04-10 ``Prepare docs for Apr 2nd wave of providers (#49051)``
49
- `7b2ec33c7a <https://github.com/apache/airflow/commit/7b2ec33c7ad4998d9c9735b79593fcdcd3b9dd1f>`__ 2025-04-08 ``Remove unnecessary entries in get_provider_info and update the schema (#48849)``
50
- `139673d3ce <https://github.com/apache/airflow/commit/139673d3ce5552c2cf8bcb2d202e97342c4b237c>`__ 2025-04-07 ``Remove fab from preinstalled providers (#48457)``
51
- `3461b3a259 <https://github.com/apache/airflow/commit/3461b3a259663efd6f392fba203801aee4d90a09>`__ 2025-04-07 ``Fix common-io and common-compat provider description format (#48864)``
52
- `67858fd7e7 <https://github.com/apache/airflow/commit/67858fd7e7ac82788854844c1e6ef5a35f1d0d23>`__ 2025-04-06 ``Improve documentation building iteration (#48760)``
53
- `adbb062b50 <https://github.com/apache/airflow/commit/adbb062b50e2e128fe475a76b7ce10ec93c39ee2>`__ 2025-04-06 ``Prepare docs for Apr 1st wave of providers (#48828)``
54
- `d4473555c0 <https://github.com/apache/airflow/commit/d4473555c0e7022e073489b7163d49102881a1a6>`__ 2025-04-02 ``Simplify tooling by switching completely to uv (#48223)``
55
- `fde5051eac <https://github.com/apache/airflow/commit/fde5051eaca10b81364cca43307c30f49bc7e529>`__ 2025-03-28 ``Move bases classes to 'airflow.sdk.bases' (#48487)``
56
- ================================================================================================== =========== ==================================================================================
57
-
58
- 1.6.0
59
- .....
60
-
61
- Latest change: 2025-03-26
62
-
63
- ================================================================================================== =========== =========================================================================
64
- Commit Committed Subject
65
- ================================================================================================== =========== =========================================================================
66
- `c762e17820 <https://github.com/apache/airflow/commit/c762e17820cae6b162caa3eec5123760e07d56cc>`__ 2025-03-26 ``Prepare docs for Mar 2nd wave of providers (#48383)``
67
- `6b32358673 <https://github.com/apache/airflow/commit/6b32358673af89f598009dfb3f280c957a5f2da4>`__ 2025-03-26 ``Move BaseNotifier to Task SDK (#48008)``
68
- `6adb2dbae4 <https://github.com/apache/airflow/commit/6adb2dbae47341eb61dbc62dbc56176d9aa83fd9>`__ 2025-03-25 ``Upgrade providers flit build requirements to 3.12.0 (#48362)``
69
- `b96547dedc <https://github.com/apache/airflow/commit/b96547dedc497bc3001fb3a3f30682b046dc7735>`__ 2025-03-22 ``serialize http transports contained in composite transport (#47444)``
70
- `243fe86d4b <https://github.com/apache/airflow/commit/243fe86d4b3e59bb12977b3e36ca3f2ed27ca0f8>`__ 2025-03-21 ``Move airflow sources to airflow-core package (#47798)``
71
- `1a5eb7a29c <https://github.com/apache/airflow/commit/1a5eb7a29c777009f2196678a67af0cfe352faab>`__ 2025-03-20 ``Bump various providers in preparation for Airflow 3.0.0b4 (#48013)``
72
- `84c5579fc9 <https://github.com/apache/airflow/commit/84c5579fc9edf4b5295581af428e98ae2c63d2b4>`__ 2025-03-20 ``fix: compat test test_provider_not_installed failing on main (#48012)``
73
- `4174bc7d39 <https://github.com/apache/airflow/commit/4174bc7d39fb336c329d887878ac327d4e283f6d>`__ 2025-03-20 ``feat: Add helper for any provider version check (#47909)``
74
- `a993db24f7 <https://github.com/apache/airflow/commit/a993db24f790784a0b43b8a33c28565ed0412d82>`__ 2025-03-18 ``feat: Add helper for OpenLineage version check (#47897)``
75
- `935d2831fe <https://github.com/apache/airflow/commit/935d2831fe8fd509b618a738bf00e0c34e186e11>`__ 2025-03-15 ``Remove links to x/twitter.com (#47801)``
76
- `d5ea56ae4b <https://github.com/apache/airflow/commit/d5ea56ae4be04ebccb12d13fa2cb2be994cf51ac>`__ 2025-03-14 ``AIP-84 Add Auth for DAG Versioning (#47553)``
77
- `46759a355d <https://github.com/apache/airflow/commit/46759a355d603167535591745c70037d691c866a>`__ 2025-03-13 ``AIP-84 Add Auth for backfill (#47482)``
78
- `1e2660b3fc <https://github.com/apache/airflow/commit/1e2660b3fcab69ae52577e59d1c1bebe95a3f548>`__ 2025-03-10 ``AIP 84 - Add auth for asset alias (#47241)``
79
- ================================================================================================== =========== =========================================================================
80
-
81
- 1.5.1
82
- .....
83
-
84
- Latest change: 2025-03-09
85
-
86
- ================================================================================================== =========== =====================================================================
87
- Commit Committed Subject
88
- ================================================================================================== =========== =====================================================================
89
- `492ecfe5c0 <https://github.com/apache/airflow/commit/492ecfe5c03102bfb710108038ebd5fc50cb55b5>`__ 2025-03-09 ``Prepare docs for Mar 1st wave of providers (#47545)``
90
- `8cc9f1fca9 <https://github.com/apache/airflow/commit/8cc9f1fca9343768e9aa7bb4c802e7d2fc109719>`__ 2025-03-07 ``Relocate airflow.auth to airflow.api_fastapi.auth (#47492)``
91
- `e4002c3305 <https://github.com/apache/airflow/commit/e4002c3305a757f5926f96c996e701e8f998a042>`__ 2025-03-05 ``Move tests_common package to devel-common project (#47281)``
92
- `1addb55154 <https://github.com/apache/airflow/commit/1addb55154fbef31bfa021537cfbd4395696381c>`__ 2025-02-28 ``Improve documentation for updating provider dependencies (#47203)``
93
- `c6c4f95ed9 <https://github.com/apache/airflow/commit/c6c4f95ed9e3220133815b9126c135e805637022>`__ 2025-02-25 ``Add legacy namespace packages to airflow.providers (#47064)``
94
- `dbf8bb4092 <https://github.com/apache/airflow/commit/dbf8bb409223687c7d2ad10649a92d02c24bb3b4>`__ 2025-02-24 ``Remove extra whitespace in provider readme template (#46975)``
95
- `b28c336e8b <https://github.com/apache/airflow/commit/b28c336e8b7aa1d69c0f9520b182b1b661377337>`__ 2025-02-21 ``Upgrade flit to 3.11.0 (#46938)``
96
- ================================================================================================== =========== =====================================================================
97
-
98
- 1.5.0
99
- .....
100
-
101
- Latest change: 2025-02-21
102
-
103
- ================================================================================================== =========== =========================================================================
104
- Commit Committed Subject
105
- ================================================================================================== =========== =========================================================================
106
- `0653ffe78e <https://github.com/apache/airflow/commit/0653ffe78e4a0acaf70801a5ceef8dbabdac8b15>`__ 2025-02-21 ``Prepare docs for Feb 1st wave of providers (fixed) (#46962)``
107
- `5d87bddf0a <https://github.com/apache/airflow/commit/5d87bddf0aa5f485f3684c909fb95f461e5a2ab6>`__ 2025-02-21 ``Prepare docs for Feb 1st wave of providers (#46893)``
108
- `4d5846f58f <https://github.com/apache/airflow/commit/4d5846f58fe0de9b43358c0be75dd72e968dacc4>`__ 2025-02-16 ``Move provider_tests to unit folder in provider tests (#46800)``
109
- `e027457a24 <https://github.com/apache/airflow/commit/e027457a24d0c6235bfed9c2a8399f75342e82f1>`__ 2025-02-15 ``Removed the unused provider's distribution (#46608)``
110
- `3004da95e9 <https://github.com/apache/airflow/commit/3004da95e97ba79eba2ab6b743a75e3f3f8dc170>`__ 2025-02-03 ``fix: OL sql parsing add try-except for sqlalchemy engine (#46366)``
111
- `0bcebe341d <https://github.com/apache/airflow/commit/0bcebe341d74bbdea1682962f6f90f9484e908d1>`__ 2025-01-27 ``moving common-compat provider (#46063)``
112
- `a3294cc627 <https://github.com/apache/airflow/commit/a3294cc6272b132b9ecc2873a570fe5d1d480e03>`__ 2025-01-25 ``Remove old lineage stuff (#45260)``
113
- `ac2de474fb <https://github.com/apache/airflow/commit/ac2de474fbf9980242599116cff4d1064cf81531>`__ 2025-01-09 ``feat: automatically inject OL transport info into spark jobs (#45326)``
114
- `ab730b1b5f <https://github.com/apache/airflow/commit/ab730b1b5fa3d3a5ad383f1f6dde9f74cefcf121>`__ 2025-01-08 ``feat: Add OpenLineage support for some SQL to GCS operators (#45242)``
115
- ================================================================================================== =========== =========================================================================
116
-
117
- 1.3.0
118
- .....
119
-
120
- Latest change: 2024-12-20
121
-
122
- ================================================================================================== =========== =============================================================================================================
123
- Commit Committed Subject
124
- ================================================================================================== =========== =============================================================================================================
125
- `2723508345 <https://github.com/apache/airflow/commit/2723508345d5cf074aeb673955ce72996785f2bc>`__ 2024-12-20 ``Prepare docs for Nov 1st wave of providers Dec 2024 (#45042)``
126
- `04ccef9b3a <https://github.com/apache/airflow/commit/04ccef9b3a4073eaf313db3905803e7ef3f910fb>`__ 2024-12-19 ``feat: automatically inject OL info into spark job in DataprocSubmitJobOperator (#44477)``
127
- `2a33da0246 <https://github.com/apache/airflow/commit/2a33da0246c811a98d5cdaf0af2bcca0dee8556a>`__ 2024-12-18 ``Remove references to AIRFLOW_V_2_9_PLUS (#44987)``
128
- `4b38bed76c <https://github.com/apache/airflow/commit/4b38bed76c1ea5fe84a6bc678ce87e20d563adc0>`__ 2024-12-16 ``Bump min version of Providers to 2.9 (#44956)``
129
- `490b5e816b <https://github.com/apache/airflow/commit/490b5e816b804f338b0eb97f240ae874d4e15810>`__ 2024-12-10 ``Consistent way of checking Airflow version in providers (#44686)``
130
- `3d421f78d7 <https://github.com/apache/airflow/commit/3d421f78d7046474c5684580a744f87160378935>`__ 2024-12-06 ``Bumping common compat to 1.3.0 (#44728)``
131
- `bcc8a4abd1 <https://github.com/apache/airflow/commit/bcc8a4abd148455042d4d56408ff0565cc901bf3>`__ 2024-12-06 ``Prevent __init__.py in providers from being modified (#44713)``
132
- `450132bc85 <https://github.com/apache/airflow/commit/450132bc859ad4ec1686d4e521efc1efe79a47b8>`__ 2024-12-06 ``Remove unnecessary compatibility code in S3 asset import (#44714)``
133
- `5f4a30117d <https://github.com/apache/airflow/commit/5f4a30117d82e5981a36cec99a0bbda2bddb54d9>`__ 2024-12-06 ``Make AssetAliasEvent a class context.py (#44709)``
134
- `d9001cd14a <https://github.com/apache/airflow/commit/d9001cd14aaf8c35e22de3290bbe01ea3513979d>`__ 2024-12-06 ``Fix accidental db tests in Task SDK (#44690)``
135
- `b9ab0b5ffc <https://github.com/apache/airflow/commit/b9ab0b5ffcbf551fcad3f6e7e0382a78db23a23a>`__ 2024-12-05 ``fix(providers/common/compat): add back add_input_dataset and add_output_dataset to NoOpCollector (#44681)``
136
- `cac2d1dfda <https://github.com/apache/airflow/commit/cac2d1dfdab471d0dbd152951ce6dc6b3ca5c63b>`__ 2024-12-05 ``Fix name of private function in compat provider (#44680)``
137
- `4404e64247 <https://github.com/apache/airflow/commit/4404e64247daf37b350bc7cd835d397256507ad1>`__ 2024-11-25 ``Move triggers to standard provider (#43608)``
138
- `a0f3353c47 <https://github.com/apache/airflow/commit/a0f3353c471e4d9a2cd4b23f0c358d0ae908580a>`__ 2024-11-20 ``Move Asset user facing components to task_sdk (#43773)``
139
- ================================================================================================== =========== =============================================================================================================
140
-
141
- 1.2.2
142
- .....
143
-
144
- Latest change: 2024-11-14
145
-
146
- ================================================================================================== =========== ================================================================================================
147
- Commit Committed Subject
148
- ================================================================================================== =========== ================================================================================================
149
- `a53d9f6d25 <https://github.com/apache/airflow/commit/a53d9f6d257f193ea5026ba4cd007d5ddeab968f>`__ 2024-11-14 ``Prepare docs for Nov 1st wave of providers (#44011)``
150
- `73f2eab680 <https://github.com/apache/airflow/commit/73f2eab68081e966fd808bfaca923eed1f81bc43>`__ 2024-11-05 ``serialize asset/dataset timetable conditions in OpenLineage info also for Airflow 2 (#43434)``
151
- `06088a3abc <https://github.com/apache/airflow/commit/06088a3abcbb46533e74de360746db766d50cf66>`__ 2024-10-31 ``Standard provider python operator (#42081)``
152
- `68f8164a36 <https://github.com/apache/airflow/commit/68f8164a36db66e7096c1205abead183d34b8ae6>`__ 2024-10-18 ``Fix provider title in documentation (#43157)``
153
- `857ca4c06c <https://github.com/apache/airflow/commit/857ca4c06c9008593674cabdd28d3c30e3e7f97b>`__ 2024-10-09 ``Split providers out of the main "airflow/" tree into a UV workspace project (#42505)``
154
- ================================================================================================== =========== ================================================================================================
155
-
156
- 1.2.1
157
- .....
158
-
159
- Latest change: 2024-10-09
160
-
161
- ================================================================================================== =========== ==================================================================
162
- Commit Committed Subject
163
- ================================================================================================== =========== ==================================================================
164
- `2bb8628463 <https://github.com/apache/airflow/commit/2bb862846358d1c5a59b354adb39bc68d5aeae5e>`__ 2024-10-09 ``Prepare docs for Oct 1st adhoc wave of providers (#42862)``
165
- `ede7cb27fd <https://github.com/apache/airflow/commit/ede7cb27fd39e233889d127490a2255df8c5d27d>`__ 2024-09-30 ``Rename dataset related python variable names to asset (#41348)``
166
- ================================================================================================== =========== ==================================================================
167
-
168
- 1.2.0
169
- .....
170
-
171
- Latest change: 2024-08-19
172
-
173
- ================================================================================================== =========== =======================================================================
174
- Commit Committed Subject
175
- ================================================================================================== =========== =======================================================================
176
- `75fb7acbac <https://github.com/apache/airflow/commit/75fb7acbaca09a040067f0a5a37637ff44eb9e14>`__ 2024-08-19 ``Prepare docs for Aug 2nd wave of providers (#41559)``
177
- `fcbff15bda <https://github.com/apache/airflow/commit/fcbff15bda151f70db0ca13fdde015bace5527c4>`__ 2024-08-12 ``Bump minimum Airflow version in providers to Airflow 2.8.0 (#41396)``
178
- ================================================================================================== =========== =======================================================================
179
-
180
- 1.1.0
181
- .....
182
-
183
- Latest change: 2024-08-03
184
-
185
- ================================================================================================== =========== ===================================================================================================================
186
- Commit Committed Subject
187
- ================================================================================================== =========== ===================================================================================================================
188
- `d23881c648 <https://github.com/apache/airflow/commit/d23881c6489916113921dcedf85077441b44aaf3>`__ 2024-08-03 ``Prepare docs for Aug 1st wave of providers (#41230)``
189
- `0206a4cbcf <https://github.com/apache/airflow/commit/0206a4cbcfbf85ab035c25533b12f022c22cae3a>`__ 2024-07-23 ``openlineage: migrate OpenLineage provider to V2 facets. (#39530)``
190
- `0212f67192 <https://github.com/apache/airflow/commit/0212f671921fc5da15085eefbde8b0a76db40fd9>`__ 2024-07-22 ``openlineage: add support for hook lineage for S3Hook (#40819)``
191
- `6366204458 <https://github.com/apache/airflow/commit/63662044583031fc27d98af02f2913d324245db0>`__ 2024-07-17 ``openlineage: add method to common.compat to not force hooks to try/except every 2.10 hook lineage call (#40812)``
192
- ================================================================================================== =========== ===================================================================================================================
193
-
194
- 1.0.0
195
- .....
196
-
197
- Latest change: 2024-06-22
198
-
199
- ================================================================================================== =========== ============================================
200
- Commit Committed Subject
201
- ================================================================================================== =========== ============================================
202
- `6e5ae26382 <https://github.com/apache/airflow/commit/6e5ae26382b328e88907e8301d4b2352ef8524c5>`__ 2024-06-22 ``Prepare docs 2nd wave June 2024 (#40273)``
203
- `0019c9b35a <https://github.com/apache/airflow/commit/0019c9b35af545c60954113503f7f37c9fc3efcb>`__ 2024-06-22 ``Add common.compat provider (#40374)``
204
- ================================================================================================== =========== ============================================