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.
As per
psycopg2
official docs,As in requirements.txt,
psycopg2-binary
is mentioned, we are ending up installing both packages.Does updating requirements make sense ?