apache-airflow-providers-vertica 3.9.1__tar.gz → 4.0.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: apache-airflow-providers-vertica
3
- Version: 3.9.1
3
+ Version: 4.0.0
4
4
  Summary: Provider package apache-airflow-providers-vertica for Apache Airflow
5
5
  Keywords: airflow-provider,vertica,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -21,17 +21,15 @@ Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Topic :: System :: Monitoring
23
23
  Requires-Dist: apache-airflow-providers-common-sql>=1.20.0
24
- Requires-Dist: apache-airflow>=2.8.0
24
+ Requires-Dist: apache-airflow>=2.9.0
25
25
  Requires-Dist: vertica-python>=0.6.0
26
- Requires-Dist: apache-airflow-providers-common-sql ; extra == "common-sql"
27
26
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
28
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-vertica/3.9.1/changelog.html
29
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-vertica/3.9.1
27
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.0.0/changelog.html
28
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.0.0
30
29
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
31
30
  Project-URL: Source Code, https://github.com/apache/airflow
32
- Project-URL: Twitter, https://twitter.com/ApacheAirflow
31
+ Project-URL: Twitter, https://x.com/ApacheAirflow
33
32
  Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
34
- Provides-Extra: common-sql
35
33
 
36
34
 
37
35
  .. Licensed to the Apache Software Foundation (ASF) under one
@@ -77,7 +75,7 @@ Provides-Extra: common-sql
77
75
 
78
76
  Package ``apache-airflow-providers-vertica``
79
77
 
80
- Release: ``3.9.1``
78
+ Release: ``4.0.0``
81
79
 
82
80
 
83
81
  `Vertica <https://www.vertica.com/>`__
@@ -90,7 +88,7 @@ This is a provider package for ``vertica`` provider. All classes for this provid
90
88
  are in ``airflow.providers.vertica`` python package.
91
89
 
92
90
  You can find package information and changelog for the provider
93
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-vertica/3.9.1/>`_.
91
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.0.0/>`_.
94
92
 
95
93
  Installation
96
94
  ------------
@@ -107,7 +105,7 @@ Requirements
107
105
  ======================================= ==================
108
106
  PIP package Version required
109
107
  ======================================= ==================
110
- ``apache-airflow`` ``>=2.8.0``
108
+ ``apache-airflow`` ``>=2.9.0``
111
109
  ``apache-airflow-providers-common-sql`` ``>=1.20.0``
112
110
  ``vertica-python`` ``>=0.6.0``
113
111
  ======================================= ==================
@@ -132,4 +130,4 @@ Dependent package
132
130
  ============================================================================================================ ==============
133
131
 
134
132
  The changelog for the provider package can be found in the
135
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-vertica/3.9.1/changelog.html>`_.
133
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.0.0/changelog.html>`_.
@@ -42,7 +42,7 @@
42
42
 
43
43
  Package ``apache-airflow-providers-vertica``
44
44
 
45
- Release: ``3.9.1``
45
+ Release: ``4.0.0``
46
46
 
47
47
 
48
48
  `Vertica <https://www.vertica.com/>`__
@@ -55,7 +55,7 @@ This is a provider package for ``vertica`` provider. All classes for this provid
55
55
  are in ``airflow.providers.vertica`` 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-vertica/3.9.1/>`_.
58
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.0.0/>`_.
59
59
 
60
60
  Installation
61
61
  ------------
@@ -72,7 +72,7 @@ Requirements
72
72
  ======================================= ==================
73
73
  PIP package Version required
74
74
  ======================================= ==================
75
- ``apache-airflow`` ``>=2.8.0``
75
+ ``apache-airflow`` ``>=2.9.0``
76
76
  ``apache-airflow-providers-common-sql`` ``>=1.20.0``
77
77
  ``vertica-python`` ``>=0.6.0``
78
78
  ======================================= ==================
@@ -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-vertica/3.9.1/changelog.html>`_.
100
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.0.0/changelog.html>`_.
@@ -29,11 +29,11 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "3.9.1"
32
+ __version__ = "4.0.0"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
- "2.8.0"
35
+ "2.9.0"
36
36
  ):
37
37
  raise RuntimeError(
38
- f"The package `apache-airflow-providers-vertica:{__version__}` needs Apache Airflow 2.8.0+"
38
+ f"The package `apache-airflow-providers-vertica:{__version__}` needs Apache Airflow 2.9.0+"
39
39
  )
@@ -28,8 +28,9 @@ def get_provider_info():
28
28
  "name": "Vertica",
29
29
  "description": "`Vertica <https://www.vertica.com/>`__\n",
30
30
  "state": "ready",
31
- "source-date-epoch": 1731571138,
31
+ "source-date-epoch": 1734537431,
32
32
  "versions": [
33
+ "4.0.0",
33
34
  "3.9.1",
34
35
  "3.9.0",
35
36
  "3.8.2",
@@ -59,7 +60,7 @@ def get_provider_info():
59
60
  "1.0.0",
60
61
  ],
61
62
  "dependencies": [
62
- "apache-airflow>=2.8.0",
63
+ "apache-airflow>=2.9.0",
63
64
  "apache-airflow-providers-common-sql>=1.20.0",
64
65
  "vertica-python>=0.6.0",
65
66
  ],
@@ -71,9 +72,6 @@ def get_provider_info():
71
72
  "tags": ["software"],
72
73
  }
73
74
  ],
74
- "operators": [
75
- {"integration-name": "Vertica", "python-modules": ["airflow.providers.vertica.operators.vertica"]}
76
- ],
77
75
  "hooks": [
78
76
  {"integration-name": "Vertica", "python-modules": ["airflow.providers.vertica.hooks.vertica"]}
79
77
  ],
@@ -17,7 +17,8 @@
17
17
  # under the License.
18
18
  from __future__ import annotations
19
19
 
20
- from typing import Any, Callable, Iterable, Mapping, overload
20
+ from collections.abc import Iterable, Mapping
21
+ from typing import Any, Callable, overload
21
22
 
22
23
  from vertica_python import connect
23
24
 
@@ -27,7 +27,7 @@ build-backend = "flit_core.buildapi"
27
27
 
28
28
  [project]
29
29
  name = "apache-airflow-providers-vertica"
30
- version = "3.9.1"
30
+ version = "4.0.0"
31
31
  description = "Provider package apache-airflow-providers-vertica for Apache Airflow"
32
32
  readme = "README.rst"
33
33
  authors = [
@@ -55,25 +55,21 @@ classifiers = [
55
55
  requires-python = "~=3.9"
56
56
  dependencies = [
57
57
  "apache-airflow-providers-common-sql>=1.20.0",
58
- "apache-airflow>=2.8.0",
58
+ "apache-airflow>=2.9.0",
59
59
  "vertica-python>=0.6.0",
60
60
  ]
61
61
 
62
62
  [project.urls]
63
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-vertica/3.9.1"
64
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-vertica/3.9.1/changelog.html"
63
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.0.0"
64
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-vertica/4.0.0/changelog.html"
65
65
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
66
66
  "Source Code" = "https://github.com/apache/airflow"
67
67
  "Slack Chat" = "https://s.apache.org/airflow-slack"
68
- "Twitter" = "https://twitter.com/ApacheAirflow"
68
+ "Twitter" = "https://x.com/ApacheAirflow"
69
69
  "YouTube" = "https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/"
70
70
 
71
71
  [project.entry-points."apache_airflow_provider"]
72
72
  provider_info = "airflow.providers.vertica.get_provider_info:get_provider_info"
73
- [project.optional-dependencies]
74
- "common.sql" = [
75
- "apache-airflow-providers-common-sql",
76
- ]
77
73
 
78
74
  [tool.flit.module]
79
75
  name = "airflow.providers.vertica"
@@ -1,17 +0,0 @@
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
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
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.
@@ -1,52 +0,0 @@
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
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
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.
18
- from __future__ import annotations
19
-
20
- from typing import Any, ClassVar, Sequence
21
-
22
- from deprecated import deprecated
23
-
24
- from airflow.exceptions import AirflowProviderDeprecationWarning
25
- from airflow.providers.common.sql.operators.sql import SQLExecuteQueryOperator
26
-
27
-
28
- @deprecated(
29
- reason="Please use `airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator`.",
30
- category=AirflowProviderDeprecationWarning,
31
- )
32
- class VerticaOperator(SQLExecuteQueryOperator):
33
- """
34
- Executes sql code in a specific Vertica database.
35
-
36
- This class is deprecated.
37
-
38
- Please use :class:`airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator`.
39
-
40
- :param vertica_conn_id: reference to a specific Vertica database
41
- :param sql: the SQL code to be executed as a single string, or
42
- a list of str (sql statements), or a reference to a template file.
43
- Template references are recognized by str ending in '.sql'
44
- """
45
-
46
- template_fields: Sequence[str] = ("sql",)
47
- template_ext: Sequence[str] = (".sql",)
48
- template_fields_renderers: ClassVar[dict] = {"sql": "sql"}
49
- ui_color = "#b4e0ff"
50
-
51
- def __init__(self, *, vertica_conn_id: str = "vertica_default", **kwargs: Any) -> None:
52
- super().__init__(conn_id=vertica_conn_id, **kwargs)