apache-airflow-providers-mysql 5.0.0rc1__tar.gz → 5.1.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.
Files changed (26) hide show
  1. {apache-airflow-providers-mysql-5.0.0rc1/apache_airflow_providers_mysql.egg-info → apache-airflow-providers-mysql-5.1.0rc1}/PKG-INFO +27 -9
  2. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/README.rst +25 -7
  3. {apache-airflow-providers-mysql-5.0.0rc1/airflow/providers/mysql/operators → apache-airflow-providers-mysql-5.1.0rc1/airflow/providers/mysql}/__init__.py +21 -0
  4. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/airflow/providers/mysql/get_provider_info.py +2 -1
  5. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/airflow/providers/mysql/operators/mysql.py +2 -1
  6. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1/apache_airflow_providers_mysql.egg-info}/PKG-INFO +27 -9
  7. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/apache_airflow_providers_mysql.egg-info/requires.txt +1 -1
  8. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/pyproject.toml +2 -0
  9. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/setup.cfg +2 -2
  10. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/setup.py +1 -1
  11. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/LICENSE +0 -0
  12. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/MANIFEST.in +0 -0
  13. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/NOTICE +0 -0
  14. {apache-airflow-providers-mysql-5.0.0rc1/airflow/providers/mysql → apache-airflow-providers-mysql-5.1.0rc1/airflow/providers/mysql/hooks}/__init__.py +0 -0
  15. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/airflow/providers/mysql/hooks/mysql.py +0 -0
  16. {apache-airflow-providers-mysql-5.0.0rc1/airflow/providers/mysql/hooks → apache-airflow-providers-mysql-5.1.0rc1/airflow/providers/mysql/operators}/__init__.py +0 -0
  17. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/airflow/providers/mysql/transfers/__init__.py +0 -0
  18. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/airflow/providers/mysql/transfers/presto_to_mysql.py +0 -0
  19. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/airflow/providers/mysql/transfers/s3_to_mysql.py +0 -0
  20. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/airflow/providers/mysql/transfers/trino_to_mysql.py +0 -0
  21. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/airflow/providers/mysql/transfers/vertica_to_mysql.py +0 -0
  22. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/apache_airflow_providers_mysql.egg-info/SOURCES.txt +0 -0
  23. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/apache_airflow_providers_mysql.egg-info/dependency_links.txt +0 -0
  24. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/apache_airflow_providers_mysql.egg-info/entry_points.txt +0 -0
  25. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/apache_airflow_providers_mysql.egg-info/not-zip-safe +0 -0
  26. {apache-airflow-providers-mysql-5.0.0rc1 → apache-airflow-providers-mysql-5.1.0rc1}/apache_airflow_providers_mysql.egg-info/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-mysql
3
- Version: 5.0.0rc1
3
+ Version: 5.1.0rc1
4
4
  Summary: Provider for Apache Airflow. Implements apache-airflow-providers-mysql 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-mysql/5.0.0/
10
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.1.0/
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
@@ -58,7 +58,7 @@ License-File: NOTICE
58
58
 
59
59
  Package ``apache-airflow-providers-mysql``
60
60
 
61
- Release: ``5.0.0rc1``
61
+ Release: ``5.1.0rc1``
62
62
 
63
63
 
64
64
  `MySQL <https://www.mysql.com/products/>`__
@@ -71,7 +71,7 @@ This is a provider package for ``mysql`` provider. All classes for this provider
71
71
  are in ``airflow.providers.mysql`` 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-mysql/5.0.0/>`_.
74
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.1.0/>`_.
75
75
 
76
76
 
77
77
  Installation
@@ -89,7 +89,7 @@ Requirements
89
89
  ======================================= ==================
90
90
  PIP package Version required
91
91
  ======================================= ==================
92
- ``apache-airflow`` ``>=2.3.0``
92
+ ``apache-airflow`` ``>=2.4.0``
93
93
  ``apache-airflow-providers-common-sql`` ``>=1.3.1``
94
94
  ``mysqlclient`` ``>=1.3.6``
95
95
  ======================================= ==================
@@ -142,6 +142,22 @@ Dependent package
142
142
  Changelog
143
143
  ---------
144
144
 
145
+ 5.1.0
146
+ .....
147
+
148
+ .. note::
149
+ This release of provider is only available for Airflow 2.4+ as explained in the
150
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
151
+
152
+ Misc
153
+ ~~~~
154
+
155
+ * ``Bump minimum Airflow version in providers (#30917)``
156
+
157
+ .. Below changes are excluded from the changelog. Move them to
158
+ appropriate section above if needed. Do not delete the lines(!):
159
+ * ``Add full automation for min Airflow version for providers (#30994)``
160
+
145
161
  5.0.0
146
162
  .....
147
163
 
@@ -210,8 +226,9 @@ Bug fixes
210
226
  3.3.0
211
227
  .....
212
228
 
213
- This release of provider is only available for Airflow 2.3+ as explained in the
214
- `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/README.md#support-for-providers>`_.
229
+ .. note::
230
+ This release of provider is only available for Airflow 2.3+ as explained in the
231
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
215
232
 
216
233
  Misc
217
234
  ~~~~
@@ -275,8 +292,9 @@ Bug Fixes
275
292
  Breaking changes
276
293
  ~~~~~~~~~~~~~~~~
277
294
 
278
- * This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow
279
- providers support policy https://github.com/apache/airflow/blob/main/README.md#support-for-providers
295
+ .. note::
296
+ This release of provider is only available for Airflow 2.2+ as explained in the
297
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
280
298
 
281
299
  .. Below changes are excluded from the changelog. Move them to
282
300
  appropriate section above if needed. Do not delete the lines(!):
@@ -19,7 +19,7 @@
19
19
 
20
20
  Package ``apache-airflow-providers-mysql``
21
21
 
22
- Release: ``5.0.0rc1``
22
+ Release: ``5.1.0rc1``
23
23
 
24
24
 
25
25
  `MySQL <https://www.mysql.com/products/>`__
@@ -32,7 +32,7 @@ This is a provider package for ``mysql`` provider. All classes for this provider
32
32
  are in ``airflow.providers.mysql`` 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-mysql/5.0.0/>`_.
35
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.1.0/>`_.
36
36
 
37
37
 
38
38
  Installation
@@ -50,7 +50,7 @@ Requirements
50
50
  ======================================= ==================
51
51
  PIP package Version required
52
52
  ======================================= ==================
53
- ``apache-airflow`` ``>=2.3.0``
53
+ ``apache-airflow`` ``>=2.4.0``
54
54
  ``apache-airflow-providers-common-sql`` ``>=1.3.1``
55
55
  ``mysqlclient`` ``>=1.3.6``
56
56
  ======================================= ==================
@@ -103,6 +103,22 @@ Dependent package
103
103
  Changelog
104
104
  ---------
105
105
 
106
+ 5.1.0
107
+ .....
108
+
109
+ .. note::
110
+ This release of provider is only available for Airflow 2.4+ as explained in the
111
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
112
+
113
+ Misc
114
+ ~~~~
115
+
116
+ * ``Bump minimum Airflow version in providers (#30917)``
117
+
118
+ .. Below changes are excluded from the changelog. Move them to
119
+ appropriate section above if needed. Do not delete the lines(!):
120
+ * ``Add full automation for min Airflow version for providers (#30994)``
121
+
106
122
  5.0.0
107
123
  .....
108
124
 
@@ -171,8 +187,9 @@ Bug fixes
171
187
  3.3.0
172
188
  .....
173
189
 
174
- This release of provider is only available for Airflow 2.3+ as explained in the
175
- `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/README.md#support-for-providers>`_.
190
+ .. note::
191
+ This release of provider is only available for Airflow 2.3+ as explained in the
192
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
176
193
 
177
194
  Misc
178
195
  ~~~~
@@ -236,8 +253,9 @@ Bug Fixes
236
253
  Breaking changes
237
254
  ~~~~~~~~~~~~~~~~
238
255
 
239
- * This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow
240
- providers support policy https://github.com/apache/airflow/blob/main/README.md#support-for-providers
256
+ .. note::
257
+ This release of provider is only available for Airflow 2.2+ as explained in the
258
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
241
259
 
242
260
  .. Below changes are excluded from the changelog. Move them to
243
261
  appropriate section above if needed. Do not delete the lines(!):
@@ -15,3 +15,24 @@
15
15
  # KIND, either express or implied. See the License for the
16
16
  # specific language governing permissions and limitations
17
17
  # under the License.
18
+ #
19
+ # NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE
20
+ # OVERWRITTEN WHEN PREPARING DOCUMENTATION FOR THE PACKAGES.
21
+ #
22
+ # IF YOU WANT TO MODIFY IT, YOU SHOULD MODIFY THE TEMPLATE
23
+ # `PROVIDER__INIT__PY_TEMPLATE.py.jinja2` IN the `dev/provider_packages` DIRECTORY
24
+ #
25
+ from __future__ import annotations
26
+
27
+ import packaging.version
28
+
29
+ import airflow
30
+
31
+ __all__ = ["version"]
32
+
33
+ version = "5.1.0"
34
+
35
+ if packaging.version.parse(airflow.version.version) < packaging.version.parse("2.4.0"):
36
+ raise RuntimeError(
37
+ f"The package `apache-airflow-providers-mysql:{version}` requires Apache Airflow 2.4.0+"
38
+ )
@@ -29,6 +29,7 @@ def get_provider_info():
29
29
  "description": "`MySQL <https://www.mysql.com/products/>`__\n",
30
30
  "suspended": False,
31
31
  "versions": [
32
+ "5.1.0",
32
33
  "5.0.0",
33
34
  "4.0.2",
34
35
  "4.0.1",
@@ -52,7 +53,7 @@ def get_provider_info():
52
53
  "1.0.0",
53
54
  ],
54
55
  "dependencies": [
55
- "apache-airflow>=2.3.0",
56
+ "apache-airflow>=2.4.0",
56
57
  "apache-airflow-providers-common-sql>=1.3.1",
57
58
  "mysqlclient>=1.3.6",
58
59
  ],
@@ -20,6 +20,7 @@ from __future__ import annotations
20
20
  import warnings
21
21
  from typing import Sequence
22
22
 
23
+ from airflow.exceptions import AirflowProviderDeprecationWarning
23
24
  from airflow.providers.common.sql.operators.sql import SQLExecuteQueryOperator
24
25
 
25
26
 
@@ -64,6 +65,6 @@ class MySqlOperator(SQLExecuteQueryOperator):
64
65
  """This class is deprecated.
65
66
  Please use `airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator`.
66
67
  Also, you can provide `hook_params={'schema': <database>}`.""",
67
- DeprecationWarning,
68
+ AirflowProviderDeprecationWarning,
68
69
  stacklevel=2,
69
70
  )
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-mysql
3
- Version: 5.0.0rc1
3
+ Version: 5.1.0rc1
4
4
  Summary: Provider for Apache Airflow. Implements apache-airflow-providers-mysql 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-mysql/5.0.0/
10
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.1.0/
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
@@ -58,7 +58,7 @@ License-File: NOTICE
58
58
 
59
59
  Package ``apache-airflow-providers-mysql``
60
60
 
61
- Release: ``5.0.0rc1``
61
+ Release: ``5.1.0rc1``
62
62
 
63
63
 
64
64
  `MySQL <https://www.mysql.com/products/>`__
@@ -71,7 +71,7 @@ This is a provider package for ``mysql`` provider. All classes for this provider
71
71
  are in ``airflow.providers.mysql`` 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-mysql/5.0.0/>`_.
74
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.1.0/>`_.
75
75
 
76
76
 
77
77
  Installation
@@ -89,7 +89,7 @@ Requirements
89
89
  ======================================= ==================
90
90
  PIP package Version required
91
91
  ======================================= ==================
92
- ``apache-airflow`` ``>=2.3.0``
92
+ ``apache-airflow`` ``>=2.4.0``
93
93
  ``apache-airflow-providers-common-sql`` ``>=1.3.1``
94
94
  ``mysqlclient`` ``>=1.3.6``
95
95
  ======================================= ==================
@@ -142,6 +142,22 @@ Dependent package
142
142
  Changelog
143
143
  ---------
144
144
 
145
+ 5.1.0
146
+ .....
147
+
148
+ .. note::
149
+ This release of provider is only available for Airflow 2.4+ as explained in the
150
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
151
+
152
+ Misc
153
+ ~~~~
154
+
155
+ * ``Bump minimum Airflow version in providers (#30917)``
156
+
157
+ .. Below changes are excluded from the changelog. Move them to
158
+ appropriate section above if needed. Do not delete the lines(!):
159
+ * ``Add full automation for min Airflow version for providers (#30994)``
160
+
145
161
  5.0.0
146
162
  .....
147
163
 
@@ -210,8 +226,9 @@ Bug fixes
210
226
  3.3.0
211
227
  .....
212
228
 
213
- This release of provider is only available for Airflow 2.3+ as explained in the
214
- `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/README.md#support-for-providers>`_.
229
+ .. note::
230
+ This release of provider is only available for Airflow 2.3+ as explained in the
231
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
215
232
 
216
233
  Misc
217
234
  ~~~~
@@ -275,8 +292,9 @@ Bug Fixes
275
292
  Breaking changes
276
293
  ~~~~~~~~~~~~~~~~
277
294
 
278
- * This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow
279
- providers support policy https://github.com/apache/airflow/blob/main/README.md#support-for-providers
295
+ .. note::
296
+ This release of provider is only available for Airflow 2.2+ as explained in the
297
+ `Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
280
298
 
281
299
  .. Below changes are excluded from the changelog. Move them to
282
300
  appropriate section above if needed. Do not delete the lines(!):
@@ -1,5 +1,5 @@
1
1
  apache-airflow-providers-common-sql>=1.3.1.dev0
2
- apache-airflow>=2.3.0.dev0
2
+ apache-airflow>=2.4.0.dev0
3
3
  mysqlclient>=1.3.6
4
4
 
5
5
  [amazon]
@@ -46,6 +46,8 @@ extend-select = [
46
46
  "UP", # Pyupgrade
47
47
  "RUF100", # Unused noqa (auto-fixable)
48
48
 
49
+ # implicit single-line string concatenation
50
+ "ISC001",
49
51
  # We ignore more pydocstyle than we enable, so be more selective at what we enable
50
52
  "D101",
51
53
  "D106",
@@ -27,7 +27,7 @@ classifiers =
27
27
  Programming Language :: Python :: 3.10
28
28
  Topic :: System :: Monitoring
29
29
  project_urls =
30
- Documentation=https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.0.0/
30
+ Documentation=https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.1.0/
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
@@ -47,7 +47,7 @@ setup_requires =
47
47
  wheel
48
48
  install_requires =
49
49
  apache-airflow-providers-common-sql>=1.3.1.dev0
50
- apache-airflow>=2.3.0.dev0
50
+ apache-airflow>=2.4.0.dev0
51
51
  mysqlclient>=1.3.6
52
52
 
53
53
  [options.entry_points]
@@ -26,7 +26,7 @@
26
26
 
27
27
  from setuptools import find_namespace_packages, setup
28
28
 
29
- version = "5.0.0"
29
+ version = "5.1.0"
30
30
 
31
31
 
32
32
  def do_setup():