Closed jylin closed 6 years ago
I seriously start to doubt about Heroku willingness to maintain Django compatibility with Heroku platform, when such an easy fix is still pending, 4 months after...
@ddahan Just created #19 to try to get an answer :)
As suggested in #18, this package should not be using psycopg2-binary
and the warning is overzealous in this case. It's unclear what other action is desired here for people to consider this "maintained". psycopg2-binary
should only be used when users need to get up and running quickly. django-heroku
is meant for production systems, and thus we should keep using psycopg2
. If things have changed, or I'm misunderstanding something here, please do let me know.
I agree with @sigmavirus24 on this completely. What matters for django-heroku
package is that this can be deployed on Heroku, and as long as Heroku can build psycopg2
from source (which I believe it can) then this package should stick with the normal source distribution as recommended by psycopg2
itself.
I assume psycopg2-binary
provides
psycopg2
so if you need to use it for local development can always do that manually.
Using this module, I get a warning on startup:
This warning can be easily fixed by changing the dependency to psycopg2-binary instead of psycopg2.
Another issue is using
pipenv graph
, I see the following dependencies which looks different from what I see in the Pipenv file for this project:In the Pipenv file, I don't see psycopg2 but I do see gunicorn which is not present above.