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

Update psycopg2-binary patch version to 2.9.6 #674

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

lbeaufort
Copy link
Member

@lbeaufort lbeaufort commented Jan 18, 2024

Summary

No ticket - devops task

After pulling down the latest fecfile-api develop branch on my Mac M1, my local API couldn't connect to the postgres database. It would hang on Testing connection... and I eventually got the error psycopg2.OperationalError: SCRAM authentication requires libpq version 10 or above

After looking at this issue, I tried updating the psycopg2-binary to 2.9.6, which addressed the issue

Per https://github.com/psycopg/psycopg2/issues/1360#issuecomment-1494156272

Will be fixed in 2.9.6.

How to test

Rebuild docker images to get latest requirements file

@lbeaufort lbeaufort requested a review from mjtravers January 18, 2024 21:29
@lbeaufort lbeaufort requested a review from toddlees January 19, 2024 14:34
@lbeaufort lbeaufort changed the title Update psycopg2-binary patch version Update psycopg2-binary patch version to 2.9.6 Jan 19, 2024
Copy link
Contributor

@toddlees toddlees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes the issue for my machine as well

@mjtravers mjtravers merged commit 5d58791 into develop Jan 19, 2024
3 checks passed
@mjtravers mjtravers deleted the feature/update-psycopg2-binary branch January 19, 2024 15:41
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

Successfully merging this pull request may close these issues.

3 participants