Fixed an issue where only psycopg-binary should be installed but PIP wheel installing psycopg-c as well.

This commit is contained in:
Khushboo Vashi 2024-07-29 10:16:42 +05:30 committed by Akshay Joshi
parent 23cad47f8d
commit b9ffbf73e0

View File

@ -47,7 +47,7 @@ for index, req in enumerate(all_requires):
and platform.mac_ver()[0] < '14.0':
req = 'psycopg[binary]==3.1.19'
else:
req.replace('psycopg[c]', 'psycopg[binary]')
req = req.replace('psycopg[c]', 'psycopg[binary]')
if 'gssapi' in req:
kerberos_extras.append(req)