Make Psycopg2 package install from source vs. binary package
hectcastro opened this issue · 0 comments
hectcastro commented
Psycopg2 is changing the way their binary package installations work in 2.8.x. Details are outlined here:
http://initd.org/psycopg/articles/2018/02/08/psycopg-274-released/
The change forces two solution paths:
- Change the package name to
psycopg2-binary
to continue receiving binary packages - Install the package with
--no-binary
to force an installation from source
Approach two seems like the most desirable for us given that we already install the build tools needed to build the source. Also, using the source gives us a bit more control over the versions of OpenSSL and libpq used.