heroku / django-heroku

[DEPRECATED] Do not use! See https://github.com/heroku/django-heroku/issues/56
BSD 3-Clause "New" or "Revised" License
459 stars 142 forks source link

Updated psycopg2 to psycopg2-binary #42

Open johnjiang opened 5 years ago

johnjiang commented 5 years ago

This is to prevent this warning:

UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.

mjhea0 commented 5 years ago

This needs to be merged for this package to continue working properly due to changes in psycopg2.8:

Binary packages no longer installed by default. The psycopg2-binary package must be used explicitly.

http://initd.org/psycopg/articles/2019/04/04/psycopg-28-released/

bwilliams18 commented 5 years ago

Any estimate on the status of this being merged? I'm getting major errors with upgrades to Psycopg2.8.1 and am tired of the binary warnings.

mjhea0 commented 5 years ago

@bwilliams18 I had to fork the project and install my own version in my requirements file:

git+https://github.com/testdrivenio/django-heroku.git

Just FYI.

bwilliams18 commented 5 years ago

@mjhea0 I did the same, related but separate question - have you been able to get Django itself to use psycopg2 binary for the db engine itself?