apache-airflow-providers-common-sql 1.17.1rc1__tar.gz → 1.18.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 (18) hide show
  1. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/PKG-INFO +8 -9
  2. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/README.rst +4 -4
  3. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/__init__.py +1 -1
  4. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/get_provider_info.py +2 -1
  5. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/hooks/sql.py +9 -9
  6. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/pyproject.toml +4 -5
  7. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/LICENSE +0 -0
  8. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/README_API.md +0 -0
  9. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/doc/adr/0001-record-architecture-decisions.md +0 -0
  10. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/doc/adr/0002-return-common-data-structure-from-dbapihook-derived-hooks.md +0 -0
  11. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/hooks/__init__.py +0 -0
  12. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/hooks/sql.pyi +0 -0
  13. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/operators/__init__.py +0 -0
  14. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/operators/sql.py +0 -0
  15. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/operators/sql.pyi +0 -0
  16. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/sensors/__init__.py +0 -0
  17. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/sensors/sql.py +0 -0
  18. {apache_airflow_providers_common_sql-1.17.1rc1 → apache_airflow_providers_common_sql-1.18.0rc1}/airflow/providers/common/sql/sensors/sql.pyi +0 -0
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-common-sql
3
- Version: 1.17.1rc1
3
+ Version: 1.18.0rc1
4
4
  Summary: Provider package apache-airflow-providers-common-sql for Apache Airflow
5
5
  Keywords: airflow-provider,common.sql,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
7
7
  Maintainer-email: Apache Software Foundation <dev@airflow.apache.org>
8
- Requires-Python: ~=3.8
8
+ Requires-Python: ~=3.9
9
9
  Description-Content-Type: text/x-rst
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Environment :: Console
@@ -15,7 +15,6 @@ Classifier: Intended Audience :: System Administrators
15
15
  Classifier: Framework :: Apache Airflow
16
16
  Classifier: Framework :: Apache Airflow :: Provider
17
17
  Classifier: License :: OSI Approved :: Apache Software License
18
- Classifier: Programming Language :: Python :: 3.8
19
18
  Classifier: Programming Language :: Python :: 3.9
20
19
  Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
@@ -28,8 +27,8 @@ Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
28
27
  Requires-Dist: pandas>=2.1.2,<2.2 ; extra == "pandas" and (python_version>="3.9")
29
28
  Requires-Dist: pandas>=1.5.3,<2.2 ; extra == "pandas" and (python_version<"3.9")
30
29
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
31
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.17.1/changelog.html
32
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.17.1
30
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.18.0/changelog.html
31
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.18.0
33
32
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
34
33
  Project-URL: Source Code, https://github.com/apache/airflow
35
34
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -81,7 +80,7 @@ Provides-Extra: pandas
81
80
 
82
81
  Package ``apache-airflow-providers-common-sql``
83
82
 
84
- Release: ``1.17.1.rc1``
83
+ Release: ``1.18.0.rc1``
85
84
 
86
85
 
87
86
  `Common SQL Provider <https://en.wikipedia.org/wiki/SQL>`__
@@ -94,7 +93,7 @@ This is a provider package for ``common.sql`` provider. All classes for this pro
94
93
  are in ``airflow.providers.common.sql`` python package.
95
94
 
96
95
  You can find package information and changelog for the provider
97
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.17.1/>`_.
96
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.18.0/>`_.
98
97
 
99
98
  Installation
100
99
  ------------
@@ -103,7 +102,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
103
102
  for the minimum Airflow version supported) via
104
103
  ``pip install apache-airflow-providers-common-sql``
105
104
 
106
- The package supports the following python versions: 3.8,3.9,3.10,3.11,3.12
105
+ The package supports the following python versions: 3.9,3.10,3.11,3.12
107
106
 
108
107
  Requirements
109
108
  ------------
@@ -136,4 +135,4 @@ Dependent package
136
135
  ============================================================================================================== ===============
137
136
 
138
137
  The changelog for the provider package can be found in the
139
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.17.1/changelog.html>`_.
138
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.18.0/changelog.html>`_.
@@ -42,7 +42,7 @@
42
42
 
43
43
  Package ``apache-airflow-providers-common-sql``
44
44
 
45
- Release: ``1.17.1.rc1``
45
+ Release: ``1.18.0.rc1``
46
46
 
47
47
 
48
48
  `Common SQL Provider <https://en.wikipedia.org/wiki/SQL>`__
@@ -55,7 +55,7 @@ This is a provider package for ``common.sql`` provider. All classes for this pro
55
55
  are in ``airflow.providers.common.sql`` python package.
56
56
 
57
57
  You can find package information and changelog for the provider
58
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.17.1/>`_.
58
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.18.0/>`_.
59
59
 
60
60
  Installation
61
61
  ------------
@@ -64,7 +64,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
64
64
  for the minimum Airflow version supported) via
65
65
  ``pip install apache-airflow-providers-common-sql``
66
66
 
67
- The package supports the following python versions: 3.8,3.9,3.10,3.11,3.12
67
+ The package supports the following python versions: 3.9,3.10,3.11,3.12
68
68
 
69
69
  Requirements
70
70
  ------------
@@ -97,4 +97,4 @@ Dependent package
97
97
  ============================================================================================================== ===============
98
98
 
99
99
  The changelog for the provider package can be found in the
100
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.17.1/changelog.html>`_.
100
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.18.0/changelog.html>`_.
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "1.17.1"
32
+ __version__ = "1.18.0"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.8.0"
@@ -28,8 +28,9 @@ def get_provider_info():
28
28
  "name": "Common SQL",
29
29
  "description": "`Common SQL Provider <https://en.wikipedia.org/wiki/SQL>`__\n",
30
30
  "state": "ready",
31
- "source-date-epoch": 1727372263,
31
+ "source-date-epoch": 1728485007,
32
32
  "versions": [
33
+ "1.18.0",
33
34
  "1.17.1",
34
35
  "1.17.0",
35
36
  "1.16.0",
@@ -212,14 +212,15 @@ class DbApiHook(BaseHook):
212
212
 
213
213
  @connection.setter
214
214
  def connection(self, value: Any) -> None:
215
- # This setter is for backward compatibility and should not be used.
216
- # Since the introduction of connection property, the providers listed below
217
- # breaks due to assigning value to self.connection
218
- #
219
- # apache-airflow-providers-mysql<5.7.1
220
- # apache-airflow-providers-elasticsearch<5.5.1
221
- # apache-airflow-providers-postgres<5.13.0
222
- pass
215
+ if value != self.connection:
216
+ self.log.warning(
217
+ "This setter is for backward compatibility and should not be used.\n"
218
+ "Since the introduction of connection property, the providers listed below "
219
+ "breaks due to assigning value to self.connection in their __init__ method.\n"
220
+ "* apache-airflow-providers-mysql<5.7.1\n"
221
+ "* apache-airflow-providers-elasticsearch<5.5.1\n"
222
+ "* apache-airflow-providers-postgres<5.13.0"
223
+ )
223
224
 
224
225
  @property
225
226
  def connection_extra(self) -> dict:
@@ -274,7 +275,6 @@ class DbApiHook(BaseHook):
274
275
  """
275
276
  if engine_kwargs is None:
276
277
  engine_kwargs = {}
277
- engine_kwargs["creator"] = self.get_conn
278
278
 
279
279
  try:
280
280
  url = self.sqlalchemy_url
@@ -28,7 +28,7 @@ build-backend = "flit_core.buildapi"
28
28
 
29
29
  [project]
30
30
  name = "apache-airflow-providers-common-sql"
31
- version = "1.17.1.rc1"
31
+ version = "1.18.0.rc1"
32
32
  description = "Provider package apache-airflow-providers-common-sql for Apache Airflow"
33
33
  readme = "README.rst"
34
34
  authors = [
@@ -47,14 +47,13 @@ classifiers = [
47
47
  "Framework :: Apache Airflow",
48
48
  "Framework :: Apache Airflow :: Provider",
49
49
  "License :: OSI Approved :: Apache Software License",
50
- "Programming Language :: Python :: 3.8",
51
50
  "Programming Language :: Python :: 3.9",
52
51
  "Programming Language :: Python :: 3.10",
53
52
  "Programming Language :: Python :: 3.11",
54
53
  "Programming Language :: Python :: 3.12",
55
54
  "Topic :: System :: Monitoring",
56
55
  ]
57
- requires-python = "~=3.8"
56
+ requires-python = "~=3.9"
58
57
  dependencies = [
59
58
  "apache-airflow>=2.8.0rc0",
60
59
  "more-itertools>=9.0.0",
@@ -62,8 +61,8 @@ dependencies = [
62
61
  ]
63
62
 
64
63
  [project.urls]
65
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.17.1"
66
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.17.1/changelog.html"
64
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.18.0"
65
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-common-sql/1.18.0/changelog.html"
67
66
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
68
67
  "Source Code" = "https://github.com/apache/airflow"
69
68
  "Slack Chat" = "https://s.apache.org/airflow-slack"