Skip to content

fix: update psycopg - #232

Merged
kuraisle merged 1 commit into
mainfrom
fix-psycopg-mismatch
Oct 5, 2026
Merged

kuraisle merged 1 commit into
mainfrom
fix-psycopg-mismatch

Conversation

@kuraisle

@kuraisle kuraisle commented Oct 5, 2026

Copy link
Copy Markdown
Member
🦋 Bug Fix
🛠️ Repo maintenance

PR Description

On my machine, the last release was fine. In azure, it didn't work. This is because SQLAlchemy updated so you either need to have psycopg 3 installed, or specify psycopg2 as the postgres driver. I opted to pin SQLAlchemy >= 2.1 and to upgrade psycopg. As psycopg isn't directly called anywhere, there wasn't much else to do!

The releases weren't getting tagged properly, so now each of the container build actions gets a semver release job, which I think should work ok

Related Issues or other material

Related #231
Closes #231

Screenshots, example outputs/behaviour etc.

✅ Added/updated tests?

  • This PR contains relevant tests / Or doesn't need to per the below explanation

[optional] What gif best describes this PR or how it makes you feel?

a kitten playing whack-a-mole

@CodeByKarthik CodeByKarthik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm 👍🏻

@kuraisle
kuraisle merged commit e8e81c6 into main Oct 5, 2026
7 checks passed
@kuraisle
kuraisle deleted the fix-psycopg-mismatch branch October 5, 2026 13:29
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.

SQLAlchemy wants psycopg

2 participants