apache-airflow-providers-mysql 5.0.0__py3-none-any.whl → 5.1.0rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airflow/providers/mysql/__init__.py +21 -0
- airflow/providers/mysql/get_provider_info.py +2 -1
- airflow/providers/mysql/operators/mysql.py +2 -1
- {apache_airflow_providers_mysql-5.0.0.dist-info → apache_airflow_providers_mysql-5.1.0rc1.dist-info}/METADATA +29 -11
- apache_airflow_providers_mysql-5.1.0rc1.dist-info/RECORD +18 -0
- apache_airflow_providers_mysql-5.0.0.dist-info/RECORD +0 -18
- {apache_airflow_providers_mysql-5.0.0.dist-info → apache_airflow_providers_mysql-5.1.0rc1.dist-info}/LICENSE +0 -0
- {apache_airflow_providers_mysql-5.0.0.dist-info → apache_airflow_providers_mysql-5.1.0rc1.dist-info}/NOTICE +0 -0
- {apache_airflow_providers_mysql-5.0.0.dist-info → apache_airflow_providers_mysql-5.1.0rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_mysql-5.0.0.dist-info → apache_airflow_providers_mysql-5.1.0rc1.dist-info}/entry_points.txt +0 -0
- {apache_airflow_providers_mysql-5.0.0.dist-info → apache_airflow_providers_mysql-5.1.0rc1.dist-info}/top_level.txt +0 -0
@@ -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.
|
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
|
-
|
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.
|
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.
|
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
|
@@ -30,8 +30,8 @@ Requires-Python: ~=3.7
|
|
30
30
|
Description-Content-Type: text/x-rst
|
31
31
|
License-File: LICENSE
|
32
32
|
License-File: NOTICE
|
33
|
-
Requires-Dist: apache-airflow-providers-common-sql (>=1.3.1)
|
34
|
-
Requires-Dist: apache-airflow (>=2.
|
33
|
+
Requires-Dist: apache-airflow-providers-common-sql (>=1.3.1.dev0)
|
34
|
+
Requires-Dist: apache-airflow (>=2.4.0.dev0)
|
35
35
|
Requires-Dist: mysqlclient (>=1.3.6)
|
36
36
|
Provides-Extra: amazon
|
37
37
|
Requires-Dist: apache-airflow-providers-amazon ; extra == 'amazon'
|
@@ -67,7 +67,7 @@ Requires-Dist: apache-airflow-providers-vertica ; extra == 'vertica'
|
|
67
67
|
|
68
68
|
Package ``apache-airflow-providers-mysql``
|
69
69
|
|
70
|
-
Release: ``5.
|
70
|
+
Release: ``5.1.0rc1``
|
71
71
|
|
72
72
|
|
73
73
|
`MySQL <https://www.mysql.com/products/>`__
|
@@ -80,7 +80,7 @@ This is a provider package for ``mysql`` provider. All classes for this provider
|
|
80
80
|
are in ``airflow.providers.mysql`` python package.
|
81
81
|
|
82
82
|
You can find package information and changelog for the provider
|
83
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.
|
83
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-mysql/5.1.0/>`_.
|
84
84
|
|
85
85
|
|
86
86
|
Installation
|
@@ -98,7 +98,7 @@ Requirements
|
|
98
98
|
======================================= ==================
|
99
99
|
PIP package Version required
|
100
100
|
======================================= ==================
|
101
|
-
``apache-airflow`` ``>=2.
|
101
|
+
``apache-airflow`` ``>=2.4.0``
|
102
102
|
``apache-airflow-providers-common-sql`` ``>=1.3.1``
|
103
103
|
``mysqlclient`` ``>=1.3.6``
|
104
104
|
======================================= ==================
|
@@ -151,6 +151,22 @@ Dependent package
|
|
151
151
|
Changelog
|
152
152
|
---------
|
153
153
|
|
154
|
+
5.1.0
|
155
|
+
.....
|
156
|
+
|
157
|
+
.. note::
|
158
|
+
This release of provider is only available for Airflow 2.4+ as explained in the
|
159
|
+
`Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
|
160
|
+
|
161
|
+
Misc
|
162
|
+
~~~~
|
163
|
+
|
164
|
+
* ``Bump minimum Airflow version in providers (#30917)``
|
165
|
+
|
166
|
+
.. Below changes are excluded from the changelog. Move them to
|
167
|
+
appropriate section above if needed. Do not delete the lines(!):
|
168
|
+
* ``Add full automation for min Airflow version for providers (#30994)``
|
169
|
+
|
154
170
|
5.0.0
|
155
171
|
.....
|
156
172
|
|
@@ -219,8 +235,9 @@ Bug fixes
|
|
219
235
|
3.3.0
|
220
236
|
.....
|
221
237
|
|
222
|
-
|
223
|
-
|
238
|
+
.. note::
|
239
|
+
This release of provider is only available for Airflow 2.3+ as explained in the
|
240
|
+
`Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
|
224
241
|
|
225
242
|
Misc
|
226
243
|
~~~~
|
@@ -284,8 +301,9 @@ Bug Fixes
|
|
284
301
|
Breaking changes
|
285
302
|
~~~~~~~~~~~~~~~~
|
286
303
|
|
287
|
-
|
288
|
-
|
304
|
+
.. note::
|
305
|
+
This release of provider is only available for Airflow 2.2+ as explained in the
|
306
|
+
`Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>`_.
|
289
307
|
|
290
308
|
.. Below changes are excluded from the changelog. Move them to
|
291
309
|
appropriate section above if needed. Do not delete the lines(!):
|
@@ -0,0 +1,18 @@
|
|
1
|
+
airflow/providers/mysql/__init__.py,sha256=eYTyeJh45HgN5v1y08HocR4VaY2O5rKZk9xNbQeFH7g,1388
|
2
|
+
airflow/providers/mysql/get_provider_info.py,sha256=KsOIJNaqbc25NbLDeXBq0vj3D1JtRK1D97WNEAsey1M,3748
|
3
|
+
airflow/providers/mysql/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
4
|
+
airflow/providers/mysql/hooks/mysql.py,sha256=d56rzvEFfbfYW9ndrVenL3mqgCnMzxH7kZ-AcfjBT3o,12081
|
5
|
+
airflow/providers/mysql/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
6
|
+
airflow/providers/mysql/operators/mysql.py,sha256=o6dvKqhGWNbomlwt1RsuIG3zYCVeJIcbvzVu51Hh0F8,2862
|
7
|
+
airflow/providers/mysql/transfers/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
8
|
+
airflow/providers/mysql/transfers/presto_to_mysql.py,sha256=wAxGMxc8Bn8peJ89fd1uv_ADvKXYp_7dmuYp8QIVRMs,3268
|
9
|
+
airflow/providers/mysql/transfers/s3_to_mysql.py,sha256=Ef2OpWh2YIAXL3fVpOcm0v_RoIzbjB0PNZz4duQrgOQ,3558
|
10
|
+
airflow/providers/mysql/transfers/trino_to_mysql.py,sha256=sR-hXiccS9CScymjam7_BRYbN27d9GI61IFzAwAiOXs,3250
|
11
|
+
airflow/providers/mysql/transfers/vertica_to_mysql.py,sha256=JyK5KR1Rpe-tUyAq9-m8rdlVfkvQlUldYzqfQJTmrm0,6469
|
12
|
+
apache_airflow_providers_mysql-5.1.0rc1.dist-info/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
13
|
+
apache_airflow_providers_mysql-5.1.0rc1.dist-info/METADATA,sha256=eTsbFEBpXlo0V_w3WkESLAMKP4jtIKp_kvAZMsYmJe0,15734
|
14
|
+
apache_airflow_providers_mysql-5.1.0rc1.dist-info/NOTICE,sha256=m-6s2XynUxVSUIxO4rVablAZCvFq-wmLrqV91DotRBw,240
|
15
|
+
apache_airflow_providers_mysql-5.1.0rc1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
16
|
+
apache_airflow_providers_mysql-5.1.0rc1.dist-info/entry_points.txt,sha256=cClyyie-yde0IwR3gMkyvudlGD5ZKaeCRGVJaw-a_Vs,102
|
17
|
+
apache_airflow_providers_mysql-5.1.0rc1.dist-info/top_level.txt,sha256=OeMVH5md7fr2QQWpnZoOWWxWO-0WH1IP70lpTVwopPg,8
|
18
|
+
apache_airflow_providers_mysql-5.1.0rc1.dist-info/RECORD,,
|
@@ -1,18 +0,0 @@
|
|
1
|
-
airflow/providers/mysql/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
2
|
-
airflow/providers/mysql/get_provider_info.py,sha256=Jnf8vHx55Mt6hRI9OcoAesjotyB8mb5ejKGITSoJT14,3727
|
3
|
-
airflow/providers/mysql/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
4
|
-
airflow/providers/mysql/hooks/mysql.py,sha256=d56rzvEFfbfYW9ndrVenL3mqgCnMzxH7kZ-AcfjBT3o,12081
|
5
|
-
airflow/providers/mysql/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
6
|
-
airflow/providers/mysql/operators/mysql.py,sha256=dhRsQdIEUfHah4RjVSOzpYstnVRmPkyrv4Vm9tpnwxs,2782
|
7
|
-
airflow/providers/mysql/transfers/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
8
|
-
airflow/providers/mysql/transfers/presto_to_mysql.py,sha256=wAxGMxc8Bn8peJ89fd1uv_ADvKXYp_7dmuYp8QIVRMs,3268
|
9
|
-
airflow/providers/mysql/transfers/s3_to_mysql.py,sha256=Ef2OpWh2YIAXL3fVpOcm0v_RoIzbjB0PNZz4duQrgOQ,3558
|
10
|
-
airflow/providers/mysql/transfers/trino_to_mysql.py,sha256=sR-hXiccS9CScymjam7_BRYbN27d9GI61IFzAwAiOXs,3250
|
11
|
-
airflow/providers/mysql/transfers/vertica_to_mysql.py,sha256=JyK5KR1Rpe-tUyAq9-m8rdlVfkvQlUldYzqfQJTmrm0,6469
|
12
|
-
apache_airflow_providers_mysql-5.0.0.dist-info/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
13
|
-
apache_airflow_providers_mysql-5.0.0.dist-info/METADATA,sha256=A__tHg7-wO_SrGEg3ZIkPYEkiVKkZzOfvylQb7lLbvs,15028
|
14
|
-
apache_airflow_providers_mysql-5.0.0.dist-info/NOTICE,sha256=m-6s2XynUxVSUIxO4rVablAZCvFq-wmLrqV91DotRBw,240
|
15
|
-
apache_airflow_providers_mysql-5.0.0.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
16
|
-
apache_airflow_providers_mysql-5.0.0.dist-info/entry_points.txt,sha256=cClyyie-yde0IwR3gMkyvudlGD5ZKaeCRGVJaw-a_Vs,102
|
17
|
-
apache_airflow_providers_mysql-5.0.0.dist-info/top_level.txt,sha256=OeMVH5md7fr2QQWpnZoOWWxWO-0WH1IP70lpTVwopPg,8
|
18
|
-
apache_airflow_providers_mysql-5.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|