Update psycopg2 dependency to psycopg2-binary
The psycopg2 package is going to move their wheels files to psycopg2-binary when version 2.8 is released.
We should switch our dependency to psycopg2-binary. The wheel installation is self contained, and does not need external runtime dependencies  installed.
#3 Updated by bizhang almost 3 years ago
The reason psycopg2-binary was separated from psycopg2 is because of occasional errors that resulted from different versions of libssl being imported by psycopg2-binary and by urllib/requests. 
Pulp does not use urlib nor requests to open https connections (AFAICT asyncio does not use libssl)
I think we should separate out this dependency for rpm packages and pypi packages. We have no way of ensuring the existence of build tools and runtime libraries on the client with python only dependencies.
We should work with the build team to ensure that the necessary build dependencies  for psycopg2 exist for the RPM package and depend on a source build for our rpm package, but continue using the binary for pypi installs
#5 Updated by bizhang almost 3 years ago
I've mentioned this to pcreech, he pointed out that psycopg2 already has a rpm built: https://buildlogs.centos.org/centos/7/sclo/x86_64/rh/rh-python36/
and we can just depend on that for our rpm :)
Please register to edit this issue