aio-libs / aiopg

aiopg is a library for accessing a PostgreSQL database from the asyncio
http://aiopg.readthedocs.io
BSD 2-Clause "Simplified" License
1.39k stars 159 forks source link

Replace dependency psycopg2-binary with psycopg2 #844

Closed rohitchormale closed 3 years ago

rohitchormale commented 3 years ago

As per psycopg2 official docs,

If you are the maintainer of a published package depending on psycopg2 you shouldn’t use psycopg2-binary as a module dependency. For production use you are advised to use the source distribution.

As in requirements.txt, psycopg2-binary is mentioned, we are ending up installing both packages.

Does updating requirements make sense ?

rohitchormale commented 3 years ago

Duplicate of https://github.com/aio-libs/aiopg/issues/631