From 4bdb4a80d2876c70ba891eb80a05ab74e57f6973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 6 Apr 2022 18:42:58 +0200 Subject: [PATCH] Require at least psycopg2 2.7.0 Since rev 892807681516, postgresql backend use the module psycopg2.sql module which was introduced in release 2.7.0. issue11328 review354781002 (grafted from 020db44f8ec289d376661edd220aecbb8b2612fc) --HG-- branch : 6.0 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index af3b14d910..7f808b5d60 100755 --- a/setup.py +++ b/setup.py @@ -73,9 +73,9 @@ if minor_version % 2: + '.'.join(local_version)) if platform.python_implementation() == 'PyPy': - pg_require = ['psycopg2cffi >= 2.5.4'] + pg_require = ['psycopg2cffi > 2.9.0'] else: - pg_require = ['psycopg2 >= 2.5.4'] + pg_require = ['psycopg2 >= 2.7.0'] tests_require = ['pillow'] setup(name=name,