diff --git a/pkg/pip/setup_pip.py b/pkg/pip/setup_pip.py index 6c37ec754..bc5bacb1a 100644 --- a/pkg/pip/setup_pip.py +++ b/pkg/pip/setup_pip.py @@ -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)