apache-airflow-providers-dbt-cloud 3.2.0rc1__tar.gz → 3.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.

Potentially problematic release.


This version of apache-airflow-providers-dbt-cloud might be problematic. Click here for more details.

Files changed (25) hide show
  1. {apache-airflow-providers-dbt-cloud-3.2.0rc1/apache_airflow_providers_dbt_cloud.egg-info → apache-airflow-providers-dbt-cloud-3.2.1}/PKG-INFO +29 -7
  2. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/README.rst +25 -3
  3. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/__init__.py +8 -5
  4. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/get_provider_info.py +2 -4
  5. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/hooks/dbt.py +3 -4
  6. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/sensors/dbt.py +14 -13
  7. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/triggers/dbt.py +5 -9
  8. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1/apache_airflow_providers_dbt_cloud.egg-info}/PKG-INFO +29 -7
  9. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/apache_airflow_providers_dbt_cloud.egg-info/requires.txt +1 -1
  10. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/pyproject.toml +6 -4
  11. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/setup.cfg +5 -5
  12. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/setup.py +1 -1
  13. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/LICENSE +0 -0
  14. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/MANIFEST.in +0 -0
  15. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/NOTICE +0 -0
  16. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/hooks/__init__.py +0 -0
  17. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/operators/__init__.py +0 -0
  18. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/operators/dbt.py +0 -0
  19. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/sensors/__init__.py +0 -0
  20. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/airflow/providers/dbt/cloud/triggers/__init__.py +0 -0
  21. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/apache_airflow_providers_dbt_cloud.egg-info/SOURCES.txt +0 -0
  22. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/apache_airflow_providers_dbt_cloud.egg-info/dependency_links.txt +0 -0
  23. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/apache_airflow_providers_dbt_cloud.egg-info/entry_points.txt +0 -0
  24. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/apache_airflow_providers_dbt_cloud.egg-info/not-zip-safe +0 -0
  25. {apache-airflow-providers-dbt-cloud-3.2.0rc1 → apache-airflow-providers-dbt-cloud-3.2.1}/apache_airflow_providers_dbt_cloud.egg-info/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-dbt-cloud
3
- Version: 3.2.0rc1
3
+ Version: 3.2.1
4
4
  Summary: Provider for Apache Airflow. Implements apache-airflow-providers-dbt-cloud package
5
5
  Home-page: https://airflow.apache.org/
6
6
  Download-URL: https://archive.apache.org/dist/airflow/providers
7
7
  Author: Apache Software Foundation
8
8
  Author-email: dev@airflow.apache.org
9
9
  License: Apache License 2.0
10
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.0/
10
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.1/
11
11
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
12
12
  Project-URL: Source Code, https://github.com/apache/airflow
13
13
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
@@ -21,12 +21,12 @@ Classifier: Intended Audience :: System Administrators
21
21
  Classifier: Framework :: Apache Airflow
22
22
  Classifier: Framework :: Apache Airflow :: Provider
23
23
  Classifier: License :: OSI Approved :: Apache Software License
24
- Classifier: Programming Language :: Python :: 3.7
25
24
  Classifier: Programming Language :: Python :: 3.8
26
25
  Classifier: Programming Language :: Python :: 3.9
27
26
  Classifier: Programming Language :: Python :: 3.10
27
+ Classifier: Programming Language :: Python :: 3.11
28
28
  Classifier: Topic :: System :: Monitoring
29
- Requires-Python: ~=3.7
29
+ Requires-Python: ~=3.8
30
30
  Description-Content-Type: text/x-rst
31
31
  Provides-Extra: http
32
32
  License-File: LICENSE
@@ -53,7 +53,7 @@ License-File: NOTICE
53
53
 
54
54
  Package ``apache-airflow-providers-dbt-cloud``
55
55
 
56
- Release: ``3.2.0rc1``
56
+ Release: ``3.2.1``
57
57
 
58
58
 
59
59
  `dbt Cloud <https://www.getdbt.com/product/what-is-dbt/>`__
@@ -66,7 +66,7 @@ This is a provider package for ``dbt.cloud`` provider. All classes for this prov
66
66
  are in ``airflow.providers.dbt.cloud`` python package.
67
67
 
68
68
  You can find package information and changelog for the provider
69
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.0/>`_.
69
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.1/>`_.
70
70
 
71
71
 
72
72
  Installation
@@ -76,7 +76,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
76
76
  for the minimum Airflow version supported) via
77
77
  ``pip install apache-airflow-providers-dbt-cloud``
78
78
 
79
- The package supports the following python versions: 3.7,3.8,3.9,3.10
79
+ The package supports the following python versions: 3.8,3.9,3.10,3.11
80
80
 
81
81
  Requirements
82
82
  ------------
@@ -135,6 +135,24 @@ Dependent package
135
135
  Changelog
136
136
  ---------
137
137
 
138
+ 3.2.1
139
+ .....
140
+
141
+ .. note::
142
+ This release dropped support for Python 3.7
143
+
144
+ Misc
145
+ ~~~~
146
+
147
+ * ``Remove Python 3.7 support (#30963)``
148
+
149
+ .. Below changes are excluded from the changelog. Move them to
150
+ appropriate section above if needed. Do not delete the lines(!):
151
+ * ``Improve docstrings in providers (#31681)``
152
+ * ``Add discoverability for triggers in provider.yaml (#31576)``
153
+ * ``Add D400 pydocstyle check - Providers (#31427)``
154
+ * ``Add note about dropping Python 3.7 for providers (#32015)``
155
+
138
156
  3.2.0
139
157
  .....
140
158
 
@@ -147,6 +165,7 @@ Misc
147
165
 
148
166
  * ``Bump minimum Airflow version in providers (#30917)``
149
167
  * ``Optimize deferred execution mode in DbtCloudJobRunSensor (#30968)``
168
+ * ``Optimize deferred execution mode for DbtCloudRunJobOperator (#31188)``
150
169
 
151
170
  .. Below changes are excluded from the changelog. Move them to
152
171
  appropriate section above if needed. Do not delete the lines(!):
@@ -154,6 +173,9 @@ Misc
154
173
  * ``Add full automation for min Airflow version for providers (#30994)``
155
174
  * ``Add cli cmd to list the provider trigger info (#30822)``
156
175
  * ``Upgrade ruff to 0.0.262 (#30809)``
176
+ * ``Use '__version__' in providers not 'version' (#31393)``
177
+ * ``Fixing circular import error in providers caused by airflow version check (#31379)``
178
+ * ``Prepare docs for May 2023 wave of Providers (#31252)``
157
179
 
158
180
  3.1.1
159
181
  .....
@@ -19,7 +19,7 @@
19
19
 
20
20
  Package ``apache-airflow-providers-dbt-cloud``
21
21
 
22
- Release: ``3.2.0rc1``
22
+ Release: ``3.2.1``
23
23
 
24
24
 
25
25
  `dbt Cloud <https://www.getdbt.com/product/what-is-dbt/>`__
@@ -32,7 +32,7 @@ This is a provider package for ``dbt.cloud`` provider. All classes for this prov
32
32
  are in ``airflow.providers.dbt.cloud`` python package.
33
33
 
34
34
  You can find package information and changelog for the provider
35
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.0/>`_.
35
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.1/>`_.
36
36
 
37
37
 
38
38
  Installation
@@ -42,7 +42,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
42
42
  for the minimum Airflow version supported) via
43
43
  ``pip install apache-airflow-providers-dbt-cloud``
44
44
 
45
- The package supports the following python versions: 3.7,3.8,3.9,3.10
45
+ The package supports the following python versions: 3.8,3.9,3.10,3.11
46
46
 
47
47
  Requirements
48
48
  ------------
@@ -101,6 +101,24 @@ Dependent package
101
101
  Changelog
102
102
  ---------
103
103
 
104
+ 3.2.1
105
+ .....
106
+
107
+ .. note::
108
+ This release dropped support for Python 3.7
109
+
110
+ Misc
111
+ ~~~~
112
+
113
+ * ``Remove Python 3.7 support (#30963)``
114
+
115
+ .. Below changes are excluded from the changelog. Move them to
116
+ appropriate section above if needed. Do not delete the lines(!):
117
+ * ``Improve docstrings in providers (#31681)``
118
+ * ``Add discoverability for triggers in provider.yaml (#31576)``
119
+ * ``Add D400 pydocstyle check - Providers (#31427)``
120
+ * ``Add note about dropping Python 3.7 for providers (#32015)``
121
+
104
122
  3.2.0
105
123
  .....
106
124
 
@@ -113,6 +131,7 @@ Misc
113
131
 
114
132
  * ``Bump minimum Airflow version in providers (#30917)``
115
133
  * ``Optimize deferred execution mode in DbtCloudJobRunSensor (#30968)``
134
+ * ``Optimize deferred execution mode for DbtCloudRunJobOperator (#31188)``
116
135
 
117
136
  .. Below changes are excluded from the changelog. Move them to
118
137
  appropriate section above if needed. Do not delete the lines(!):
@@ -120,6 +139,9 @@ Misc
120
139
  * ``Add full automation for min Airflow version for providers (#30994)``
121
140
  * ``Add cli cmd to list the provider trigger info (#30822)``
122
141
  * ``Upgrade ruff to 0.0.262 (#30809)``
142
+ * ``Use '__version__' in providers not 'version' (#31393)``
143
+ * ``Fixing circular import error in providers caused by airflow version check (#31379)``
144
+ * ``Prepare docs for May 2023 wave of Providers (#31252)``
123
145
 
124
146
  3.1.1
125
147
  .....
@@ -26,13 +26,16 @@ from __future__ import annotations
26
26
 
27
27
  import packaging.version
28
28
 
29
- import airflow
29
+ __all__ = ["__version__"]
30
30
 
31
- __all__ = ["version"]
31
+ __version__ = "3.2.1"
32
32
 
33
- version = "3.2.0"
33
+ try:
34
+ from airflow import __version__ as airflow_version
35
+ except ImportError:
36
+ from airflow.version import version as airflow_version
34
37
 
35
- if packaging.version.parse(airflow.version.version) < packaging.version.parse("2.4.0"):
38
+ if packaging.version.parse(airflow_version) < packaging.version.parse("2.4.0"):
36
39
  raise RuntimeError(
37
- f"The package `apache-airflow-providers-dbt-cloud:{version}` requires Apache Airflow 2.4.0+"
40
+ f"The package `apache-airflow-providers-dbt-cloud:{__version__}` requires Apache Airflow 2.4.0+" # NOQA: E501
38
41
  )
@@ -29,6 +29,7 @@ def get_provider_info():
29
29
  "description": "`dbt Cloud <https://www.getdbt.com/product/what-is-dbt/>`__\n",
30
30
  "suspended": False,
31
31
  "versions": [
32
+ "3.2.1",
32
33
  "3.2.0",
33
34
  "3.1.1",
34
35
  "3.1.0",
@@ -62,10 +63,7 @@ def get_provider_info():
62
63
  {"integration-name": "dbt Cloud", "python-modules": ["airflow.providers.dbt.cloud.hooks.dbt"]}
63
64
  ],
64
65
  "triggers": [
65
- {
66
- "integration-name": "dbt Cloud",
67
- "class-names": ["airflow.providers.dbt.cloud.triggers.dbt.DbtCloudRunJobTrigger"],
68
- }
66
+ {"integration-name": "dbt Cloud", "python-modules": ["airflow.providers.dbt.cloud.triggers.dbt"]}
69
67
  ],
70
68
  "connection-types": [
71
69
  {
@@ -19,7 +19,7 @@ from __future__ import annotations
19
19
  import json
20
20
  import time
21
21
  from enum import Enum
22
- from functools import wraps
22
+ from functools import cached_property, wraps
23
23
  from inspect import signature
24
24
  from typing import TYPE_CHECKING, Any, Callable, Sequence, Set, TypeVar, cast
25
25
 
@@ -29,7 +29,6 @@ from asgiref.sync import sync_to_async
29
29
  from requests.auth import AuthBase
30
30
  from requests.sessions import Session
31
31
 
32
- from airflow.compat.functools import cached_property
33
32
  from airflow.exceptions import AirflowException
34
33
  from airflow.providers.http.hooks.http import HttpHook
35
34
  from airflow.typing_compat import TypedDict
@@ -192,7 +191,7 @@ class DbtCloudHook(HttpHook):
192
191
  tenant: str, endpoint: str, include_related: list[str] | None = None
193
192
  ) -> tuple[str, dict[str, Any]]:
194
193
  """
195
- Form URL from base url and endpoint url
194
+ Form URL from base url and endpoint url.
196
195
 
197
196
  :param tenant: The tenant domain name which is need to be replaced in base url.
198
197
  :param endpoint: Endpoint url to be requested.
@@ -206,7 +205,7 @@ class DbtCloudHook(HttpHook):
206
205
  return url, data
207
206
 
208
207
  async def get_headers_tenants_from_connection(self) -> tuple[dict[str, Any], str]:
209
- """Get Headers, tenants from the connection details"""
208
+ """Get Headers, tenants from the connection details."""
210
209
  headers: dict[str, Any] = {}
211
210
  connection: Connection = await sync_to_async(self.get_connection)(self.dbt_cloud_conn_id)
212
211
  tenant = self._get_tenant_domain(connection)
@@ -30,8 +30,7 @@ if TYPE_CHECKING:
30
30
 
31
31
 
32
32
  class DbtCloudJobRunSensor(BaseSensorOperator):
33
- """
34
- Checks the status of a dbt Cloud job run.
33
+ """Checks the status of a dbt Cloud job run.
35
34
 
36
35
  .. seealso::
37
36
  For more information on how to use this sensor, take a look at the guide:
@@ -91,9 +90,11 @@ class DbtCloudJobRunSensor(BaseSensorOperator):
91
90
  return job_run_status == DbtCloudJobRunStatus.SUCCESS.value
92
91
 
93
92
  def execute(self, context: Context) -> None:
94
- """
95
- Defers to Trigger class to poll for state of the job run until
96
- it reaches a failure state or success state
93
+ """Run the sensor.
94
+
95
+ Depending on whether ``deferrable`` is set, this would either defer to
96
+ the triggerer or poll for states of the job run, until the job reaches a
97
+ failure state or success state.
97
98
  """
98
99
  if not self.deferrable:
99
100
  super().execute(context)
@@ -113,10 +114,10 @@ class DbtCloudJobRunSensor(BaseSensorOperator):
113
114
  )
114
115
 
115
116
  def execute_complete(self, context: Context, event: dict[str, Any]) -> int:
116
- """
117
- Callback for when the trigger fires - returns immediately.
118
- Relies on trigger to throw an exception, otherwise it assumes execution was
119
- successful.
117
+ """Callback for when the trigger fires - returns immediately.
118
+
119
+ This relies on trigger to throw an exception, otherwise it assumes
120
+ execution was successful.
120
121
  """
121
122
  if event["status"] in ["error", "cancelled"]:
122
123
  raise AirflowException("Error in dbt: " + event["message"])
@@ -125,10 +126,10 @@ class DbtCloudJobRunSensor(BaseSensorOperator):
125
126
 
126
127
 
127
128
  class DbtCloudJobRunAsyncSensor(DbtCloudJobRunSensor):
128
- """
129
- This class is deprecated.
130
- Please use
131
- :class:`airflow.providers.dbt.cloud.sensor.dbt.DbtCloudJobRunSensor`.
129
+ """This class is deprecated.
130
+
131
+ Please use :class:`airflow.providers.dbt.cloud.sensor.dbt.DbtCloudJobRunSensor`
132
+ with ``deferrable=True``.
132
133
  """
133
134
 
134
135
  def __init__(self, **kwargs: Any) -> None:
@@ -25,9 +25,9 @@ from airflow.triggers.base import BaseTrigger, TriggerEvent
25
25
 
26
26
 
27
27
  class DbtCloudRunJobTrigger(BaseTrigger):
28
- """
29
- DbtCloudRunJobTrigger is triggered with run id and account id, makes async Http call to dbt and
30
- get the status for the submitted job with run id in polling interval of time.
28
+ """Trigger to make an HTTP call to dbt and get the status for the job.
29
+
30
+ This is done with run id in polling interval of time.
31
31
 
32
32
  :param conn_id: The connection identifier for connecting to Dbt.
33
33
  :param run_id: The ID of a dbt Cloud job.
@@ -65,7 +65,7 @@ class DbtCloudRunJobTrigger(BaseTrigger):
65
65
  )
66
66
 
67
67
  async def run(self) -> AsyncIterator[TriggerEvent]:
68
- """Make async connection to Dbt, polls for the pipeline run status"""
68
+ """Make async connection to Dbt, polls for the pipeline run status."""
69
69
  hook = DbtCloudHook(self.conn_id)
70
70
  try:
71
71
  while await self.is_still_running(hook):
@@ -108,11 +108,7 @@ class DbtCloudRunJobTrigger(BaseTrigger):
108
108
  yield TriggerEvent({"status": "error", "message": str(e), "run_id": self.run_id})
109
109
 
110
110
  async def is_still_running(self, hook: DbtCloudHook) -> bool:
111
- """
112
- Async function to check whether the job is submitted via async API is in
113
- running state and returns True if it is still running else
114
- return False
115
- """
111
+ """Check whether the submitted job is running."""
116
112
  job_run_status = await hook.get_job_status(self.run_id, self.account_id)
117
113
  if not DbtCloudJobRunStatus.is_terminal(job_run_status):
118
114
  return True
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-dbt-cloud
3
- Version: 3.2.0rc1
3
+ Version: 3.2.1
4
4
  Summary: Provider for Apache Airflow. Implements apache-airflow-providers-dbt-cloud package
5
5
  Home-page: https://airflow.apache.org/
6
6
  Download-URL: https://archive.apache.org/dist/airflow/providers
7
7
  Author: Apache Software Foundation
8
8
  Author-email: dev@airflow.apache.org
9
9
  License: Apache License 2.0
10
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.0/
10
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.1/
11
11
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
12
12
  Project-URL: Source Code, https://github.com/apache/airflow
13
13
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
@@ -21,12 +21,12 @@ Classifier: Intended Audience :: System Administrators
21
21
  Classifier: Framework :: Apache Airflow
22
22
  Classifier: Framework :: Apache Airflow :: Provider
23
23
  Classifier: License :: OSI Approved :: Apache Software License
24
- Classifier: Programming Language :: Python :: 3.7
25
24
  Classifier: Programming Language :: Python :: 3.8
26
25
  Classifier: Programming Language :: Python :: 3.9
27
26
  Classifier: Programming Language :: Python :: 3.10
27
+ Classifier: Programming Language :: Python :: 3.11
28
28
  Classifier: Topic :: System :: Monitoring
29
- Requires-Python: ~=3.7
29
+ Requires-Python: ~=3.8
30
30
  Description-Content-Type: text/x-rst
31
31
  Provides-Extra: http
32
32
  License-File: LICENSE
@@ -53,7 +53,7 @@ License-File: NOTICE
53
53
 
54
54
  Package ``apache-airflow-providers-dbt-cloud``
55
55
 
56
- Release: ``3.2.0rc1``
56
+ Release: ``3.2.1``
57
57
 
58
58
 
59
59
  `dbt Cloud <https://www.getdbt.com/product/what-is-dbt/>`__
@@ -66,7 +66,7 @@ This is a provider package for ``dbt.cloud`` provider. All classes for this prov
66
66
  are in ``airflow.providers.dbt.cloud`` python package.
67
67
 
68
68
  You can find package information and changelog for the provider
69
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.0/>`_.
69
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.1/>`_.
70
70
 
71
71
 
72
72
  Installation
@@ -76,7 +76,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
76
76
  for the minimum Airflow version supported) via
77
77
  ``pip install apache-airflow-providers-dbt-cloud``
78
78
 
79
- The package supports the following python versions: 3.7,3.8,3.9,3.10
79
+ The package supports the following python versions: 3.8,3.9,3.10,3.11
80
80
 
81
81
  Requirements
82
82
  ------------
@@ -135,6 +135,24 @@ Dependent package
135
135
  Changelog
136
136
  ---------
137
137
 
138
+ 3.2.1
139
+ .....
140
+
141
+ .. note::
142
+ This release dropped support for Python 3.7
143
+
144
+ Misc
145
+ ~~~~
146
+
147
+ * ``Remove Python 3.7 support (#30963)``
148
+
149
+ .. Below changes are excluded from the changelog. Move them to
150
+ appropriate section above if needed. Do not delete the lines(!):
151
+ * ``Improve docstrings in providers (#31681)``
152
+ * ``Add discoverability for triggers in provider.yaml (#31576)``
153
+ * ``Add D400 pydocstyle check - Providers (#31427)``
154
+ * ``Add note about dropping Python 3.7 for providers (#32015)``
155
+
138
156
  3.2.0
139
157
  .....
140
158
 
@@ -147,6 +165,7 @@ Misc
147
165
 
148
166
  * ``Bump minimum Airflow version in providers (#30917)``
149
167
  * ``Optimize deferred execution mode in DbtCloudJobRunSensor (#30968)``
168
+ * ``Optimize deferred execution mode for DbtCloudRunJobOperator (#31188)``
150
169
 
151
170
  .. Below changes are excluded from the changelog. Move them to
152
171
  appropriate section above if needed. Do not delete the lines(!):
@@ -154,6 +173,9 @@ Misc
154
173
  * ``Add full automation for min Airflow version for providers (#30994)``
155
174
  * ``Add cli cmd to list the provider trigger info (#30822)``
156
175
  * ``Upgrade ruff to 0.0.262 (#30809)``
176
+ * ``Use '__version__' in providers not 'version' (#31393)``
177
+ * ``Fixing circular import error in providers caused by airflow version check (#31379)``
178
+ * ``Prepare docs for May 2023 wave of Providers (#31252)``
157
179
 
158
180
  3.1.1
159
181
  .....
@@ -1,6 +1,6 @@
1
1
  aiohttp
2
2
  apache-airflow-providers-http
3
- apache-airflow>=2.4.0.dev0
3
+ apache-airflow>=2.4.0
4
4
  asgiref
5
5
 
6
6
  [http]
@@ -26,6 +26,9 @@ target-version = ['py37', 'py38', 'py39', 'py310']
26
26
  requires = ['setuptools==67.2.0']
27
27
  build-backend = "setuptools.build_meta"
28
28
 
29
+ [project]
30
+ requires-python = ">=3.8"
31
+
29
32
  [tool.ruff]
30
33
  typing-modules = ["airflow.typing_compat"]
31
34
  line-length = 110
@@ -35,12 +38,10 @@ extend-exclude = [
35
38
  "airflow/providers/google/ads/_vendor/*",
36
39
  # The files generated by stubgen aren't 100% valid syntax it turns out, and we don't ship them, so we can
37
40
  # ignore them in ruff
38
- "airflow/providers/common/sql/*/*.pyi"
41
+ "airflow/providers/common/sql/*/*.pyi",
42
+ "airflow/migrations/versions/*.py"
39
43
  ]
40
44
 
41
- # TODO: Bump to Python 3.8 when support for Python 3.7 is dropped in Airflow.
42
- target-version = "py37"
43
-
44
45
  extend-select = [
45
46
  "I", # Missing required import (auto-fixable)
46
47
  "UP", # Pyupgrade
@@ -53,6 +54,7 @@ extend-select = [
53
54
  "D106",
54
55
  "D2",
55
56
  "D3",
57
+ "D400",
56
58
  # "D401", # Not enabled by ruff, but we don't want it
57
59
  "D402",
58
60
  "D403",
@@ -21,13 +21,13 @@ classifiers =
21
21
  Framework :: Apache Airflow
22
22
  Framework :: Apache Airflow :: Provider
23
23
  License :: OSI Approved :: Apache Software License
24
- Programming Language :: Python :: 3.7
25
24
  Programming Language :: Python :: 3.8
26
25
  Programming Language :: Python :: 3.9
27
26
  Programming Language :: Python :: 3.10
27
+ Programming Language :: Python :: 3.11
28
28
  Topic :: System :: Monitoring
29
29
  project_urls =
30
- Documentation=https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.0/
30
+ Documentation=https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/3.2.1/
31
31
  Bug Tracker=https://github.com/apache/airflow/issues
32
32
  Source Code=https://github.com/apache/airflow
33
33
  Slack Chat=https://s.apache.org/airflow-slack
@@ -40,7 +40,7 @@ python_tag = py3
40
40
  [options]
41
41
  zip_safe = False
42
42
  include_package_data = True
43
- python_requires = ~=3.7
43
+ python_requires = ~=3.8
44
44
  packages = find:
45
45
  setup_requires =
46
46
  setuptools
@@ -48,7 +48,7 @@ setup_requires =
48
48
  install_requires =
49
49
  aiohttp
50
50
  apache-airflow-providers-http
51
- apache-airflow>=2.4.0.dev0
51
+ apache-airflow>=2.4.0
52
52
  asgiref
53
53
 
54
54
  [options.entry_points]
@@ -59,6 +59,6 @@ apache_airflow_provider =
59
59
  packages = airflow.providers.dbt.cloud
60
60
 
61
61
  [egg_info]
62
- tag_build = rc1
62
+ tag_build =
63
63
  tag_date = 0
64
64
 
@@ -26,7 +26,7 @@
26
26
 
27
27
  from setuptools import find_namespace_packages, setup
28
28
 
29
- version = "3.2.0"
29
+ version = "3.2.1"
30
30
 
31
31
 
32
32
  def do_setup():