-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downgrade psycopg2 due to OpenSSL inconsistency
The wheel package for `psycopg2` is not compatible with the Python `ssl` module due to their dependency on different versions of OpenSSL (the wheel packages its own version, while `ssl` uses the system version). Attempts to resolve by installing the dependency from source proved challenging because we install `psycopg2` via Ansible (`postgresql-support`) in a way that makes it difficult to supply the `--no-binary` override for `pip`. Instead, we've downgraded to a version prior to wheel support. Lastly, the `libpq5` and `libpq-dev` dependencies needed to be downgraded as well. This is because `psycopg2==2.6.2` is unable to make sense of a `libpq` version greater than 9. See: psycopg/psycopg2#543
- Loading branch information
1 parent
fef90fe
commit 7a29e58
Showing
3 changed files
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters