-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Upgrade psycopg2 for support PostgreSQL 10.0 #2111
Conversation
requirements.txt
Outdated
@@ -18,7 +18,7 @@ Flask-Limiter==0.9.3 | |||
passlib==1.6.2 | |||
aniso8601==1.1.0 | |||
blinker==1.3 | |||
psycopg2==2.5.2 | |||
psycopg2==2.7.3.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any special reason to use 2.7.3.1
instead of 2.7.3.2
?
42e5331
to
f4c4e18
Compare
@arikfr I was wrong. Already fixed the version. |
Thanks. |
@arikfr Isn't this updated in 3.0? I'm trying to install in ubuntu 16.04 using the sh file and still get this error. |
@gabrielkoerich It should be. Could you open a support issue in the forum, for now, and we'll see if we can replicate this? |
lower-constraints job is broken due to fail to install psycopg. Spotted log: http://logs.openstack.org/02/642402/6/check/openstack-tox-lower-constraints/ca317fe/job-output.txt.gz#_2019-03-14_01_51_01_006156 Add libpq-dev to the bindep and bump psycopg version to >= 2.7 as evidence shows it has a bug to support PostgreSQL >= 10.0 [1] [1] getredash/redash#2111 Change-Id: I1d5f0dab41638be1df9d63ede267f5a6d9f8c566
* Update ironic from branch 'master' - Fix lower-constraints job lower-constraints job is broken due to fail to install psycopg. Spotted log: http://logs.openstack.org/02/642402/6/check/openstack-tox-lower-constraints/ca317fe/job-output.txt.gz#_2019-03-14_01_51_01_006156 Add libpq-dev to the bindep and bump psycopg version to >= 2.7 as evidence shows it has a bug to support PostgreSQL >= 10.0 [1] [1] getredash/redash#2111 Change-Id: I1d5f0dab41638be1df9d63ede267f5a6d9f8c566
Run
pip install
after install PostgreSQL 10.0, the following error has occurred.According to psycopg/psycopg2#489, psycopg2 already fixed this issue.
How about upgrading psycopg2 version. Or with Docker image.