Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Update instructions for psycopg2 usage to point to psycopg2-binary instead #3839

Closed
turt2live opened this issue Sep 10, 2018 · 3 comments
Closed
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers z-p2 (Deprecated Label)

Comments

@turt2live
Copy link
Member

federation_sender_1 - 2018-09-10 20:35:40,847 - twisted - 131 - WARNING - None- /home/matrix/.synapse/local/lib/python2.7/site-packages/psycopg2/__init__.py:144: exceptions.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>.
@hawkowl
Copy link
Contributor

hawkowl commented Sep 12, 2018

We need to update the dependencies thing to not hard require psycopg2 :/

@hawkowl hawkowl added the A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers label Sep 14, 2018
@neilisfragile neilisfragile added the z-p2 (Deprecated Label) label Oct 5, 2018
@richvdh
Copy link
Member

richvdh commented May 9, 2019

Using psycopg2 where possible rather than psycopg2-binary sounds like the right thing to do to me.

It does mean that you need a libpq-dev installed, so opens the #5168 worm-can, but that's a problem we need to solve anyway.

@richvdh richvdh closed this as completed May 9, 2019
@xoxys
Copy link

xoxys commented May 19, 2019

Any suggestions how to deal with psycopg2 in the future?
psycopg2-binary is not detected as a valid dependency for matrix, so we can't use it, but I am running my Database on a different server than Matrix so it is not that simple to build psycopg2 on the matrix server itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

5 participants