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

psycopg2 will rename the package to psycopg2-binary! #6

Open
confiq opened this issue Jan 22, 2019 · 2 comments
Open

psycopg2 will rename the package to psycopg2-binary! #6

confiq opened this issue Jan 22, 2019 · 2 comments

Comments

@confiq
Copy link

confiq commented Jan 22, 2019

Starting with Psycopg 2.7.4, pscopg2 will have 2 pip packages, one from source and another psycopg2-binary. Right now, pgantomizer uses binary but that will be removed in 2.8[1].

I'm having version 2.7.6.1 and each time when I import I get:

/myenv/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>.

I don't mind opening PR with updated setup.py.
What do you think?

[1] http://initd.org/psycopg/articles/2018/02/08/psycopg-274-released/

@asgeirrr
Copy link
Owner

Hi, thanks for the news, I'm not using the project actively myself anymore so feel free to open a PR :-)

@asgeirrr
Copy link
Owner

I would go with having psycopg2-binary as a dependency.

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