apache-airflow-providers-postgres 5.10.2rc1__py3-none-any.whl → 5.11.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/postgres/__init__.py +3 -3
- airflow/providers/postgres/get_provider_info.py +3 -2
- airflow/providers/postgres/hooks/postgres.py +1 -0
- airflow/providers/postgres/operators/postgres.py +1 -1
- {apache_airflow_providers_postgres-5.10.2rc1.dist-info → apache_airflow_providers_postgres-5.11.0rc1.dist-info}/METADATA +12 -11
- apache_airflow_providers_postgres-5.11.0rc1.dist-info/RECORD +13 -0
- apache_airflow_providers_postgres-5.10.2rc1.dist-info/RECORD +0 -13
- {apache_airflow_providers_postgres-5.10.2rc1.dist-info → apache_airflow_providers_postgres-5.11.0rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_postgres-5.10.2rc1.dist-info → apache_airflow_providers_postgres-5.11.0rc1.dist-info}/entry_points.txt +0 -0
@@ -27,7 +27,7 @@ import packaging.version
|
|
27
27
|
|
28
28
|
__all__ = ["__version__"]
|
29
29
|
|
30
|
-
__version__ = "5.
|
30
|
+
__version__ = "5.11.0"
|
31
31
|
|
32
32
|
try:
|
33
33
|
from airflow import __version__ as airflow_version
|
@@ -35,8 +35,8 @@ except ImportError:
|
|
35
35
|
from airflow.version import version as airflow_version
|
36
36
|
|
37
37
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
38
|
-
"2.
|
38
|
+
"2.7.0"
|
39
39
|
):
|
40
40
|
raise RuntimeError(
|
41
|
-
f"The package `apache-airflow-providers-postgres:{__version__}` needs Apache Airflow 2.
|
41
|
+
f"The package `apache-airflow-providers-postgres:{__version__}` needs Apache Airflow 2.7.0+"
|
42
42
|
)
|
@@ -28,8 +28,9 @@ def get_provider_info():
|
|
28
28
|
"name": "PostgreSQL",
|
29
29
|
"description": "`PostgreSQL <https://www.postgresql.org/>`__\n",
|
30
30
|
"state": "ready",
|
31
|
-
"source-date-epoch":
|
31
|
+
"source-date-epoch": 1714477265,
|
32
32
|
"versions": [
|
33
|
+
"5.11.0",
|
33
34
|
"5.10.2",
|
34
35
|
"5.10.1",
|
35
36
|
"5.10.0",
|
@@ -64,7 +65,7 @@ def get_provider_info():
|
|
64
65
|
"1.0.0",
|
65
66
|
],
|
66
67
|
"dependencies": [
|
67
|
-
"apache-airflow>=2.
|
68
|
+
"apache-airflow>=2.7.0",
|
68
69
|
"apache-airflow-providers-common-sql>=1.3.1",
|
69
70
|
"psycopg2-binary>=2.8.0",
|
70
71
|
],
|
@@ -68,7 +68,7 @@ class PostgresOperator(SQLExecuteQueryOperator):
|
|
68
68
|
) -> None:
|
69
69
|
if database is not None:
|
70
70
|
hook_params = kwargs.pop("hook_params", {})
|
71
|
-
kwargs["hook_params"] = {"
|
71
|
+
kwargs["hook_params"] = {"database": database, **hook_params}
|
72
72
|
|
73
73
|
if runtime_parameters:
|
74
74
|
warnings.warn(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: apache-airflow-providers-postgres
|
3
|
-
Version: 5.
|
3
|
+
Version: 5.11.0rc1
|
4
4
|
Summary: Provider package apache-airflow-providers-postgres for Apache Airflow
|
5
5
|
Keywords: airflow-provider,postgres,airflow,integration
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
@@ -19,16 +19,17 @@ Classifier: Programming Language :: Python :: 3.8
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.9
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
21
21
|
Classifier: Programming Language :: Python :: 3.11
|
22
|
+
Classifier: Programming Language :: Python :: 3.12
|
22
23
|
Classifier: Topic :: System :: Monitoring
|
23
|
-
Requires-Dist: apache-airflow-providers-common-sql>=1.3.
|
24
|
-
Requires-Dist: apache-airflow>=2.
|
24
|
+
Requires-Dist: apache-airflow-providers-common-sql>=1.3.1rc0
|
25
|
+
Requires-Dist: apache-airflow>=2.7.0rc0
|
25
26
|
Requires-Dist: psycopg2-binary>=2.8.0
|
26
|
-
Requires-Dist: apache-airflow-providers-amazon>=2.6.
|
27
|
+
Requires-Dist: apache-airflow-providers-amazon>=2.6.0rc0 ; extra == "amazon"
|
27
28
|
Requires-Dist: apache-airflow-providers-common-sql ; extra == "common.sql"
|
28
29
|
Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
|
29
30
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
30
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.
|
31
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.
|
31
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.0/changelog.html
|
32
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.0
|
32
33
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
33
34
|
Project-URL: Source Code, https://github.com/apache/airflow
|
34
35
|
Project-URL: Twitter, https://twitter.com/ApacheAirflow
|
@@ -81,7 +82,7 @@ Provides-Extra: openlineage
|
|
81
82
|
|
82
83
|
Package ``apache-airflow-providers-postgres``
|
83
84
|
|
84
|
-
Release: ``5.
|
85
|
+
Release: ``5.11.0.rc1``
|
85
86
|
|
86
87
|
|
87
88
|
`PostgreSQL <https://www.postgresql.org/>`__
|
@@ -94,7 +95,7 @@ This is a provider package for ``postgres`` provider. All classes for this provi
|
|
94
95
|
are in ``airflow.providers.postgres`` python package.
|
95
96
|
|
96
97
|
You can find package information and changelog for the provider
|
97
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.
|
98
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.0/>`_.
|
98
99
|
|
99
100
|
Installation
|
100
101
|
------------
|
@@ -103,7 +104,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
|
|
103
104
|
for the minimum Airflow version supported) via
|
104
105
|
``pip install apache-airflow-providers-postgres``
|
105
106
|
|
106
|
-
The package supports the following python versions: 3.8,3.9,3.10,3.11
|
107
|
+
The package supports the following python versions: 3.8,3.9,3.10,3.11,3.12
|
107
108
|
|
108
109
|
Requirements
|
109
110
|
------------
|
@@ -111,7 +112,7 @@ Requirements
|
|
111
112
|
======================================= ==================
|
112
113
|
PIP package Version required
|
113
114
|
======================================= ==================
|
114
|
-
``apache-airflow`` ``>=2.
|
115
|
+
``apache-airflow`` ``>=2.7.0``
|
115
116
|
``apache-airflow-providers-common-sql`` ``>=1.3.1``
|
116
117
|
``psycopg2-binary`` ``>=2.8.0``
|
117
118
|
======================================= ==================
|
@@ -138,4 +139,4 @@ Dependent package
|
|
138
139
|
============================================================================================================== ===============
|
139
140
|
|
140
141
|
The changelog for the provider package can be found in the
|
141
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.
|
142
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.0/changelog.html>`_.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
airflow/providers/postgres/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
|
2
|
+
airflow/providers/postgres/__init__.py,sha256=E1E_YY0kVJnSxIPADH5efCDq2hOg-C-YeQma5QMVTSY,1584
|
3
|
+
airflow/providers/postgres/get_provider_info.py,sha256=zCR-ZtI5zIIc3MEnP7jpxJRWB_S3BzIRFt_bjRYIm4c,3588
|
4
|
+
airflow/providers/postgres/datasets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
5
|
+
airflow/providers/postgres/datasets/postgres.py,sha256=XNhOJCbOA_soaaiS73JjULMqAM_7PBryhToe8FJREA0,1522
|
6
|
+
airflow/providers/postgres/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
7
|
+
airflow/providers/postgres/hooks/postgres.py,sha256=LAiK2VhiIKU2tOuVk3jFeNUoaeglrvISgZ9yByXzZHc,15800
|
8
|
+
airflow/providers/postgres/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
9
|
+
airflow/providers/postgres/operators/postgres.py,sha256=M8qx8FBf97HRwJMn_zg_EqCPGqsx-iZ0aRzMQuG3lJg,3509
|
10
|
+
apache_airflow_providers_postgres-5.11.0rc1.dist-info/entry_points.txt,sha256=dhtJi6PTWHd6BwKhmI4OtSPvQVI_p0yYWI0eba83HqY,104
|
11
|
+
apache_airflow_providers_postgres-5.11.0rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
12
|
+
apache_airflow_providers_postgres-5.11.0rc1.dist-info/METADATA,sha256=2bDd919ctu524rSzhUnXAJPKSiEA7aFRP5W5sLJI_b4,6627
|
13
|
+
apache_airflow_providers_postgres-5.11.0rc1.dist-info/RECORD,,
|
@@ -1,13 +0,0 @@
|
|
1
|
-
airflow/providers/postgres/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
|
2
|
-
airflow/providers/postgres/__init__.py,sha256=my-vOpHPxX8bNXPYr9p5itjxkamH-zBkEaGeTmoAmbQ,1584
|
3
|
-
airflow/providers/postgres/get_provider_info.py,sha256=mXiwHrTxGX5wvFNWeoxKCpY3h8sYMQc4jPcxCsw8cNs,3566
|
4
|
-
airflow/providers/postgres/datasets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
|
5
|
-
airflow/providers/postgres/datasets/postgres.py,sha256=XNhOJCbOA_soaaiS73JjULMqAM_7PBryhToe8FJREA0,1522
|
6
|
-
airflow/providers/postgres/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
7
|
-
airflow/providers/postgres/hooks/postgres.py,sha256=L1cPkPcfYAapAYYXibT2hCnSDX1Ek_S1couTMn_8Hk0,15768
|
8
|
-
airflow/providers/postgres/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
9
|
-
airflow/providers/postgres/operators/postgres.py,sha256=pB2mkEh0vOXAr0ANBKJLGSRLSkel815V4vyfET6xG44,3507
|
10
|
-
apache_airflow_providers_postgres-5.10.2rc1.dist-info/entry_points.txt,sha256=dhtJi6PTWHd6BwKhmI4OtSPvQVI_p0yYWI0eba83HqY,104
|
11
|
-
apache_airflow_providers_postgres-5.10.2rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
|
12
|
-
apache_airflow_providers_postgres-5.10.2rc1.dist-info/METADATA,sha256=dukR9bxtq-vSvFqYhjEq1ApzwdEb71et7RczYBF3KSw,6572
|
13
|
-
apache_airflow_providers_postgres-5.10.2rc1.dist-info/RECORD,,
|
File without changes
|