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

PostgeSQL 10 needs psycopg2 >= 2.7.0 #138

Closed
NickTaylor- opened this issue Jan 2, 2018 · 4 comments
Closed

PostgeSQL 10 needs psycopg2 >= 2.7.0 #138

NickTaylor- opened this issue Jan 2, 2018 · 4 comments

Comments

@NickTaylor-
Copy link

Related psycopg2 bug: psycopg/psycopg2#489

With PostgreSQL versions 10 or later, the version parsing that psycopg2 does no longer works due to a new naming schema. To resolve this, either the version of psycopg2 needs to be updated, or the version of PosgreSQL needs to be specified to be lower than 10.

Running into other build issues at the moment, so I am unable to confirm whether or not there are any issues with an upgrade to psycopg2 (the best route), but will report back if/when I get it working.

@erichs
Copy link

erichs commented Feb 9, 2018

I'm also seeing this: Error: could not determine PostgreSQL version from '10.1'

@erichs
Copy link

erichs commented Feb 12, 2018

@NickTaylor- were you able to produce a working build?

@NickTaylor-
Copy link
Author

I believe I was able to get it running by just changing this line in requirements.txt

psycopg2==2.6.1
to
psycopg2==2.7.0

cclauss pushed a commit to cclauss/doorman that referenced this issue Mar 18, 2018
mwielgoszewski pushed a commit that referenced this issue Jan 2, 2019
@mwielgoszewski
Copy link
Owner

Fixed in #139.

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

3 participants