From c373163f85e5706352013b28e9a34d69611b9602 Mon Sep 17 00:00:00 2001 From: Giuseppe Lumia Date: Sat, 23 Jan 2021 13:04:44 -0500 Subject: [PATCH] Set upper bound to pg8000 version 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 | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 doc/build/changelog/unreleased_13/5645.rst diff --git a/doc/build/changelog/unreleased_13/5645.rst b/doc/build/changelog/unreleased_13/5645.rst new file mode 100644 index 0000000000..e1fe072632 --- /dev/null +++ b/doc/build/changelog/unreleased_13/5645.rst @@ -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. diff --git a/setup.py b/setup.py index 891dcbf77c..1fdc91f120 100644 --- 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"],