-
Notifications
You must be signed in to change notification settings - Fork 977
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 warning #3106
Comments
this is rather prescriptive, @dstufft thoughts on if we should just upgrade to psycopg2-binary now? https://pypi.org/project/psycopg2-binary/ |
Kind of interesting why they're doing this, more details:
Looks like the Along these lines, we could probably use a "how to add new dependencies to warehouse" guide somewhere... |
I do not recommend switching to psycopg2-binary. It breaks any dependency which depends on Context: psycopg/psycopg2#674 |
@jleclanche I'm not really sure what you mean by "breaks", if they provide the same import and (presumably) the same functionality, what's broken? |
The dependency metadata, the system will see "I require a project named psycopg2 of at least version X" installed, and that won't be (because psycopg2-binary will be installed instead). It'll be compatible at the |
That's what I figured. At least for us, this wouldn't break anything (we're not even installing |
But the psycopg2-binary has not resolved problem with libssl. Imagine, what if near future all python libraries will be depends from psycopg2-binary instead of psycopg2. What will this situation be different from when there was only one version of psycopg2? |
If uploader can determine the default dowloading format on the server-side when people downloading with Pip (or clients) can't determine which version is recommended by itself sometimes. Here is a plan for precedence logic of downloading format:
ref: pypa/wheel#215 |
As of version 2.8, the We'll probably want to switch to |
Is building from source a big deal for us? We already build a number of other things from source IIRC? |
To bootstrap in an uncertain circumstance? |
This is solved now due to #5696. |
When I
make initdb
ormake tests
, one error I see in the logs is:The text was updated successfully, but these errors were encountered: