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
This commit is contained in:
Cédric Krier
2022-04-06 18:42:58 +02:00
parent f50dc055e7
commit 4bdb4a80d2
+2 -2
View File
@@ -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,