From: Giuseppe Lumia Date: Sat, 23 Jan 2021 18:04:44 +0000 (-0500) Subject: Set upper bound to pg8000 version X-Git-Tag: rel_1_3_23~7^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c373163f85e5706352013b28e9a34d69611b9602;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git 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 --- 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"],