apache-airflow-providers-dbt-cloud 4.2.0__tar.gz → 4.2.1__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.
Files changed (16) hide show
  1. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/PKG-INFO +34 -32
  2. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/README.rst +28 -28
  3. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/pyproject.toml +31 -8
  4. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/__init__.py +1 -1
  5. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/get_provider_info.py +7 -2
  6. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/operators/dbt.py +7 -1
  7. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/LICENSE +0 -0
  8. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/hooks/__init__.py +0 -0
  9. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/hooks/dbt.py +0 -0
  10. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/operators/__init__.py +0 -0
  11. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/sensors/__init__.py +0 -0
  12. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/sensors/dbt.py +0 -0
  13. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/triggers/__init__.py +0 -0
  14. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/triggers/dbt.py +0 -0
  15. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/utils/__init__.py +0 -0
  16. {apache_airflow_providers_dbt_cloud-4.2.0 → apache_airflow_providers_dbt_cloud-4.2.1}/src/airflow/providers/dbt/cloud/utils/openlineage.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-dbt-cloud
3
- Version: 4.2.0
3
+ Version: 4.2.1
4
4
  Summary: Provider package apache-airflow-providers-dbt-cloud for Apache Airflow
5
5
  Keywords: airflow-provider,dbt.cloud,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -24,43 +24,44 @@ Requires-Dist: apache-airflow>=2.9.0
24
24
  Requires-Dist: apache-airflow-providers-http
25
25
  Requires-Dist: asgiref>=2.3.0
26
26
  Requires-Dist: aiohttp>=3.9.2
27
+ Requires-Dist: apache-airflow-providers-common-compat ; extra == "common-compat"
27
28
  Requires-Dist: apache-airflow-providers-openlineage>=1.7.0 ; extra == "openlineage"
28
29
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
29
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.0/changelog.html
30
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.0
30
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.1/changelog.html
31
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.1
31
32
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
32
33
  Project-URL: Source Code, https://github.com/apache/airflow
33
34
  Project-URL: Twitter, https://x.com/ApacheAirflow
34
35
  Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
36
+ Provides-Extra: common-compat
35
37
  Provides-Extra: openlineage
36
38
 
37
39
 
38
- .. Licensed to the Apache Software Foundation (ASF) under one
39
- or more contributor license agreements. See the NOTICE file
40
- distributed with this work for additional information
41
- regarding copyright ownership. The ASF licenses this file
42
- to you under the Apache License, Version 2.0 (the
43
- "License"); you may not use this file except in compliance
44
- with the License. You may obtain a copy of the License at
40
+ .. Licensed to the Apache Software Foundation (ASF) under one
41
+ or more contributor license agreements. See the NOTICE file
42
+ distributed with this work for additional information
43
+ regarding copyright ownership. The ASF licenses this file
44
+ to you under the Apache License, Version 2.0 (the
45
+ "License"); you may not use this file except in compliance
46
+ with the License. You may obtain a copy of the License at
45
47
 
46
- .. http://www.apache.org/licenses/LICENSE-2.0
48
+ .. http://www.apache.org/licenses/LICENSE-2.0
47
49
 
48
- .. Unless required by applicable law or agreed to in writing,
49
- software distributed under the License is distributed on an
50
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
51
- KIND, either express or implied. See the License for the
52
- specific language governing permissions and limitations
53
- under the License.
50
+ .. Unless required by applicable law or agreed to in writing,
51
+ software distributed under the License is distributed on an
52
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
53
+ KIND, either express or implied. See the License for the
54
+ specific language governing permissions and limitations
55
+ under the License.
54
56
 
55
- .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
56
-
57
- .. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
58
- `PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
57
+ .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
59
58
 
59
+ .. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
60
+ ``PROVIDER_README_TEMPLATE.rst.jinja2`` IN the ``dev/breeze/src/airflow_breeze/templates`` DIRECTORY
60
61
 
61
62
  Package ``apache-airflow-providers-dbt-cloud``
62
63
 
63
- Release: ``4.2.0``
64
+ Release: ``4.2.1``
64
65
 
65
66
 
66
67
  `dbt Cloud <https://www.getdbt.com/product/dbt-cloud/>`__
@@ -73,7 +74,7 @@ This is a provider package for ``dbt.cloud`` provider. All classes for this prov
73
74
  are in ``airflow.providers.dbt.cloud`` python package.
74
75
 
75
76
  You can find package information and changelog for the provider
76
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.0/>`_.
77
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.1/>`_.
77
78
 
78
79
  Installation
79
80
  ------------
@@ -106,16 +107,17 @@ You can install such cross-provider dependencies when installing from PyPI. For
106
107
 
107
108
  .. code-block:: bash
108
109
 
109
- pip install apache-airflow-providers-dbt-cloud[http]
110
+ pip install apache-airflow-providers-dbt-cloud[common.compat]
110
111
 
111
112
 
112
- ============================================================================================================== ===============
113
- Dependent package Extra
114
- ============================================================================================================== ===============
115
- `apache-airflow-providers-http <https://airflow.apache.org/docs/apache-airflow-providers-http>`_ ``http``
116
- `apache-airflow-providers-openlineage <https://airflow.apache.org/docs/apache-airflow-providers-openlineage>`_ ``openlineage``
117
- ============================================================================================================== ===============
113
+ ================================================================================================================== =================
114
+ Dependent package Extra
115
+ ================================================================================================================== =================
116
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
117
+ `apache-airflow-providers-http <https://airflow.apache.org/docs/apache-airflow-providers-http>`_ ``http``
118
+ `apache-airflow-providers-openlineage <https://airflow.apache.org/docs/apache-airflow-providers-openlineage>`_ ``openlineage``
119
+ ================================================================================================================== =================
118
120
 
119
121
  The changelog for the provider package can be found in the
120
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.0/changelog.html>`_.
122
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.1/changelog.html>`_.
121
123
 
@@ -1,30 +1,29 @@
1
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
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
9
 
10
- .. http://www.apache.org/licenses/LICENSE-2.0
10
+ .. http://www.apache.org/licenses/LICENSE-2.0
11
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.
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
18
 
19
- .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
20
-
21
- .. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
22
- `PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
19
+ .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
23
20
 
21
+ .. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
22
+ ``PROVIDER_README_TEMPLATE.rst.jinja2`` IN the ``dev/breeze/src/airflow_breeze/templates`` DIRECTORY
24
23
 
25
24
  Package ``apache-airflow-providers-dbt-cloud``
26
25
 
27
- Release: ``4.2.0``
26
+ Release: ``4.2.1``
28
27
 
29
28
 
30
29
  `dbt Cloud <https://www.getdbt.com/product/dbt-cloud/>`__
@@ -37,7 +36,7 @@ This is a provider package for ``dbt.cloud`` provider. All classes for this prov
37
36
  are in ``airflow.providers.dbt.cloud`` python package.
38
37
 
39
38
  You can find package information and changelog for the provider
40
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.0/>`_.
39
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.1/>`_.
41
40
 
42
41
  Installation
43
42
  ------------
@@ -70,15 +69,16 @@ You can install such cross-provider dependencies when installing from PyPI. For
70
69
 
71
70
  .. code-block:: bash
72
71
 
73
- pip install apache-airflow-providers-dbt-cloud[http]
72
+ pip install apache-airflow-providers-dbt-cloud[common.compat]
74
73
 
75
74
 
76
- ============================================================================================================== ===============
77
- Dependent package Extra
78
- ============================================================================================================== ===============
79
- `apache-airflow-providers-http <https://airflow.apache.org/docs/apache-airflow-providers-http>`_ ``http``
80
- `apache-airflow-providers-openlineage <https://airflow.apache.org/docs/apache-airflow-providers-openlineage>`_ ``openlineage``
81
- ============================================================================================================== ===============
75
+ ================================================================================================================== =================
76
+ Dependent package Extra
77
+ ================================================================================================================== =================
78
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
79
+ `apache-airflow-providers-http <https://airflow.apache.org/docs/apache-airflow-providers-http>`_ ``http``
80
+ `apache-airflow-providers-openlineage <https://airflow.apache.org/docs/apache-airflow-providers-openlineage>`_ ``openlineage``
81
+ ================================================================================================================== =================
82
82
 
83
83
  The changelog for the provider package can be found in the
84
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.0/changelog.html>`_.
84
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.1/changelog.html>`_.
@@ -20,12 +20,12 @@
20
20
  # IF YOU WANT TO MODIFY THIS FILE EXCEPT DEPENDENCIES, YOU SHOULD MODIFY THE TEMPLATE
21
21
  # `pyproject_TEMPLATE.toml.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
22
22
  [build-system]
23
- requires = ["flit_core==3.10.1"]
23
+ requires = ["flit_core==3.11.0"]
24
24
  build-backend = "flit_core.buildapi"
25
25
 
26
26
  [project]
27
27
  name = "apache-airflow-providers-dbt-cloud"
28
- version = "4.2.0"
28
+ version = "4.2.1"
29
29
  description = "Provider package apache-airflow-providers-dbt-cloud for Apache Airflow"
30
30
  readme = "README.rst"
31
31
  authors = [
@@ -52,8 +52,10 @@ classifiers = [
52
52
  ]
53
53
  requires-python = "~=3.9"
54
54
 
55
- # The dependencies should be modified in place in the generated file
55
+ # The dependencies should be modified in place in the generated file.
56
56
  # Any change in the dependencies is preserved when the file is regenerated
57
+ # Make sure to run ``breeze static-checks --type update-providers-dependencies --all-files``
58
+ # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build``
57
59
  dependencies = [
58
60
  "apache-airflow>=2.9.0",
59
61
  "apache-airflow-providers-http",
@@ -68,10 +70,34 @@ dependencies = [
68
70
  "openlineage" = [
69
71
  "apache-airflow-providers-openlineage>=1.7.0",
70
72
  ]
73
+ "common.compat" = [
74
+ "apache-airflow-providers-common-compat"
75
+ ]
76
+
77
+ [dependency-groups]
78
+ dev = [
79
+ "apache-airflow",
80
+ "apache-airflow-task-sdk",
81
+ "apache-airflow-devel-common",
82
+ "apache-airflow-providers-common-compat",
83
+ "apache-airflow-providers-http",
84
+ "apache-airflow-providers-openlineage",
85
+ # Additional devel dependencies (do not remove this line and add extra development dependencies)
86
+ ]
87
+
88
+ [tool.uv.sources]
89
+ # These names must match the names as defined in the pyproject.toml of the workspace items,
90
+ # *not* the workspace folder paths
91
+ apache-airflow = {workspace = true}
92
+ apache-airflow-devel-common = {workspace = true}
93
+ apache-airflow-task-sdk = {workspace = true}
94
+ apache-airflow-providers-common-sql = {workspace = true}
95
+ apache-airflow-providers-fab = {workspace = true}
96
+ apache-airflow-providers-standard = {workspace = true}
71
97
 
72
98
  [project.urls]
73
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.0"
74
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.0/changelog.html"
99
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.1"
100
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/4.2.1/changelog.html"
75
101
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
76
102
  "Source Code" = "https://github.com/apache/airflow"
77
103
  "Slack Chat" = "https://s.apache.org/airflow-slack"
@@ -83,6 +109,3 @@ provider_info = "airflow.providers.dbt.cloud.get_provider_info:get_provider_info
83
109
 
84
110
  [tool.flit.module]
85
111
  name = "airflow.providers.dbt.cloud"
86
-
87
- [tool.pytest.ini_options]
88
- ignore = "tests/system/"
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "4.2.0"
32
+ __version__ = "4.2.1"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.9.0"
@@ -27,8 +27,9 @@ def get_provider_info():
27
27
  "name": "dbt Cloud",
28
28
  "description": "`dbt Cloud <https://www.getdbt.com/product/dbt-cloud/>`__\n",
29
29
  "state": "ready",
30
- "source-date-epoch": 1739959421,
30
+ "source-date-epoch": 1741508729,
31
31
  "versions": [
32
+ "4.2.1",
32
33
  "4.2.0",
33
34
  "4.0.0",
34
35
  "3.11.2",
@@ -98,5 +99,9 @@ def get_provider_info():
98
99
  "asgiref>=2.3.0",
99
100
  "aiohttp>=3.9.2",
100
101
  ],
101
- "optional-dependencies": {"openlineage": ["apache-airflow-providers-openlineage>=1.7.0"]},
102
+ "optional-dependencies": {
103
+ "openlineage": ["apache-airflow-providers-openlineage>=1.7.0"],
104
+ "common.compat": ["apache-airflow-providers-common-compat"],
105
+ },
106
+ "devel-dependencies": [],
102
107
  }
@@ -24,7 +24,8 @@ from pathlib import Path
24
24
  from typing import TYPE_CHECKING, Any
25
25
 
26
26
  from airflow.configuration import conf
27
- from airflow.models import BaseOperator, BaseOperatorLink, XCom
27
+ from airflow.models import BaseOperator, XCom
28
+ from airflow.providers.common.compat.version_compat import AIRFLOW_V_3_0_PLUS
28
29
  from airflow.providers.dbt.cloud.hooks.dbt import (
29
30
  DbtCloudHook,
30
31
  DbtCloudJobRunException,
@@ -38,6 +39,11 @@ if TYPE_CHECKING:
38
39
  from airflow.providers.openlineage.extractors import OperatorLineage
39
40
  from airflow.utils.context import Context
40
41
 
42
+ if AIRFLOW_V_3_0_PLUS:
43
+ from airflow.sdk import BaseOperatorLink
44
+ else:
45
+ from airflow.models.baseoperatorlink import BaseOperatorLink # type: ignore[no-redef]
46
+
41
47
 
42
48
  class DbtCloudRunJobOperatorLink(BaseOperatorLink):
43
49
  """Allows users to monitor the triggered job run directly in dbt Cloud."""