apache-airflow-providers-postgres 5.10.2rc1__tar.gz → 5.11.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 (12) hide show
  1. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/PKG-INFO +12 -11
  2. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/README.rst +5 -5
  3. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/__init__.py +3 -3
  4. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/get_provider_info.py +3 -2
  5. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/hooks/postgres.py +1 -0
  6. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/operators/postgres.py +1 -1
  7. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/pyproject.toml +7 -6
  8. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/LICENSE +0 -0
  9. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/datasets/__init__.py +0 -0
  10. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/datasets/postgres.py +0 -0
  11. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/hooks/__init__.py +0 -0
  12. {apache_airflow_providers_postgres-5.10.2rc1 → apache_airflow_providers_postgres-5.11.0rc1}/airflow/providers/postgres/operators/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-postgres
3
- Version: 5.10.2rc1
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.1.dev0
24
- Requires-Dist: apache-airflow>=2.6.0.dev0
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.0 ; extra == "amazon"
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.10.2/changelog.html
31
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.10.2
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.10.2.rc1``
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.10.2/>`_.
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.6.0``
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.10.2/changelog.html>`_.
142
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.0/changelog.html>`_.
@@ -42,7 +42,7 @@
42
42
 
43
43
  Package ``apache-airflow-providers-postgres``
44
44
 
45
- Release: ``5.10.2.rc1``
45
+ Release: ``5.11.0.rc1``
46
46
 
47
47
 
48
48
  `PostgreSQL <https://www.postgresql.org/>`__
@@ -55,7 +55,7 @@ This is a provider package for ``postgres`` provider. All classes for this provi
55
55
  are in ``airflow.providers.postgres`` 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-postgres/5.10.2/>`_.
58
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.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-postgres``
66
66
 
67
- The package supports the following python versions: 3.8,3.9,3.10,3.11
67
+ The package supports the following python versions: 3.8,3.9,3.10,3.11,3.12
68
68
 
69
69
  Requirements
70
70
  ------------
@@ -72,7 +72,7 @@ Requirements
72
72
  ======================================= ==================
73
73
  PIP package Version required
74
74
  ======================================= ==================
75
- ``apache-airflow`` ``>=2.6.0``
75
+ ``apache-airflow`` ``>=2.7.0``
76
76
  ``apache-airflow-providers-common-sql`` ``>=1.3.1``
77
77
  ``psycopg2-binary`` ``>=2.8.0``
78
78
  ======================================= ==================
@@ -99,4 +99,4 @@ Dependent package
99
99
  ============================================================================================================== ===============
100
100
 
101
101
  The changelog for the provider package can be found in the
102
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.10.2/changelog.html>`_.
102
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.0/changelog.html>`_.
@@ -27,7 +27,7 @@ import packaging.version
27
27
 
28
28
  __all__ = ["__version__"]
29
29
 
30
- __version__ = "5.10.2"
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.6.0"
38
+ "2.7.0"
39
39
  ):
40
40
  raise RuntimeError(
41
- f"The package `apache-airflow-providers-postgres:{__version__}` needs Apache Airflow 2.6.0+"
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": 1709556176,
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.6.0",
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
  ],
@@ -74,6 +74,7 @@ class PostgresHook(DbApiHook):
74
74
  conn_type = "postgres"
75
75
  hook_name = "Postgres"
76
76
  supports_autocommit = True
77
+ supports_executemany = True
77
78
 
78
79
  def __init__(self, *args, options: str | None = None, **kwargs) -> None:
79
80
  if "schema" in kwargs:
@@ -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"] = {"schema": database, **hook_params}
71
+ kwargs["hook_params"] = {"database": database, **hook_params}
72
72
 
73
73
  if runtime_parameters:
74
74
  warnings.warn(
@@ -28,7 +28,7 @@ build-backend = "flit_core.buildapi"
28
28
 
29
29
  [project]
30
30
  name = "apache-airflow-providers-postgres"
31
- version = "5.10.2.rc1"
31
+ version = "5.11.0.rc1"
32
32
  description = "Provider package apache-airflow-providers-postgres for Apache Airflow"
33
33
  readme = "README.rst"
34
34
  authors = [
@@ -51,18 +51,19 @@ classifiers = [
51
51
  "Programming Language :: Python :: 3.9",
52
52
  "Programming Language :: Python :: 3.10",
53
53
  "Programming Language :: Python :: 3.11",
54
+ "Programming Language :: Python :: 3.12",
54
55
  "Topic :: System :: Monitoring",
55
56
  ]
56
57
  requires-python = "~=3.8"
57
58
  dependencies = [
58
- "apache-airflow-providers-common-sql>=1.3.1.dev0",
59
- "apache-airflow>=2.6.0.dev0",
59
+ "apache-airflow-providers-common-sql>=1.3.1rc0",
60
+ "apache-airflow>=2.7.0rc0",
60
61
  "psycopg2-binary>=2.8.0",
61
62
  ]
62
63
 
63
64
  [project.urls]
64
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.10.2"
65
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.10.2/changelog.html"
65
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.0"
66
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-postgres/5.11.0/changelog.html"
66
67
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
67
68
  "Source Code" = "https://github.com/apache/airflow"
68
69
  "Slack Chat" = "https://s.apache.org/airflow-slack"
@@ -73,7 +74,7 @@ dependencies = [
73
74
  provider_info = "airflow.providers.postgres.get_provider_info:get_provider_info"
74
75
  [project.optional-dependencies]
75
76
  "amazon" = [
76
- "apache-airflow-providers-amazon>=2.6.0",
77
+ "apache-airflow-providers-amazon>=2.6.0rc0",
77
78
  ]
78
79
  "common.sql" = [
79
80
  "apache-airflow-providers-common-sql",