]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Set upper bound to pg8000 version
authorGiuseppe Lumia <g.lumia@outlook.com>
Sat, 23 Jan 2021 18:04:44 +0000 (13:04 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 23 Jan 2021 19:28:11 +0000 (14:28 -0500)
For SQLAlchemy 1.3 only, setup.py pins pg8000 to a version lower than
1.16.6. Version 1.16.6 and above is supported by SQLAlchemy 1.4. Pull
request courtesy Giuseppe Lumia.

Fixes: #5645
Closes: #5864
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5864
Pull-request-sha: c1b39d22fff8bfd0fe599103996881cc1dc0ca66

Change-Id: Ibb8cec75cf8d82e1072772cb779a9a794530b8f0

doc/build/changelog/unreleased_13/5645.rst [new file with mode: 0644]
setup.py

diff --git a/doc/build/changelog/unreleased_13/5645.rst b/doc/build/changelog/unreleased_13/5645.rst
new file mode 100644 (file)
index 0000000..e1fe072
--- /dev/null
@@ -0,0 +1,7 @@
+.. change::
+    :tags: bug, postgresql
+    :tickets: 5645
+
+    For SQLAlchemy 1.3 only, setup.py pins pg8000 to a version lower than
+    1.16.6. Version 1.16.6 and above is supported by SQLAlchemy 1.4. Pull
+    request courtesy Giuseppe Lumia.
index 891dcbf77c807cda123a0082375d93fb5b16654e..1fdc91f1200a7ad19cb98e0f77e52d454cb2dc9c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -192,7 +192,7 @@ def run_setup(with_cext):
             ],
             "postgresql": ["psycopg2"],
             "postgresql_psycopg2binary": ["psycopg2-binary"],
-            "postgresql_pg8000": ["pg8000"],
+            "postgresql_pg8000": ["pg8000<1.16.6"],
             "postgresql_psycopg2cffi": ["psycopg2cffi"],
             "oracle": ["cx_oracle"],
             "mssql_pyodbc": ["pyodbc"],