Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting warning in docker: psycopg2 wheel package will be renamed #89

Open
answerquest opened this issue Oct 15, 2018 · 1 comment
Open

Comments

@answerquest
Copy link

FYI.. I ran this with docker in a Lubuntu 18.04 64-bit system, and getting this warning in the terminal:

web_1  | /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: 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>.

its working fine, but just wanted to share about this warning statement coming. If the whole thing is frozen to specific versions then I don't think there'll be any problems.

@jwhitlock
Copy link
Member

There's a few places in the codebase where we ware using it:

https://github.com/tulsawebdevs/django-multi-gtfs/search?q=psycopg2&unscoped_q=psycopg2

One place we're explicitly installing psycopg2 is in the Dockerfile, and not pinning the version:

RUN pip install "django>=1.11,<2.0" psycopg2

I think we should change to psycopg2-binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants