Skip to content

Upgrade PostgreSQL adapter from psycopg2 to psycopg (psycopg 3)#632

Merged
jpmckinney merged 1 commit into
mainfrom
claude/upgrade-psycopg3-adutxs
Jul 2, 2026
Merged

Upgrade PostgreSQL adapter from psycopg2 to psycopg (psycopg 3)#632
jpmckinney merged 1 commit into
mainfrom
claude/upgrade-psycopg3-adutxs

Conversation

@jpmckinney

Copy link
Copy Markdown
Member

Rename the python.psycopg2 Salt state to python.psycopg and update its
includes in the kingfisher collect, incremental and summarize states. The
state installs the same build dependencies (python-dev, libpq-dev) required
to compile psycopg[c] from source in production.

Update the databases usage docs to import psycopg and call psycopg.connect().

Ref: open-contracting/software-development-handbook#162

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01HfBXUB6Rgvqws9h7w7v9sP

Rename the python.psycopg2 Salt state to python.psycopg and update its
includes in the kingfisher collect, incremental and summarize states. The
state installs the same build dependencies (python-dev, libpq-dev) required
to compile psycopg[c] from source in production.

Update the databases usage docs to import psycopg and call psycopg.connect().

Ref: open-contracting/software-development-handbook#162

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HfBXUB6Rgvqws9h7w7v9sP
@jpmckinney jpmckinney merged commit 5c57e98 into main Jul 2, 2026
12 checks passed
@jpmckinney jpmckinney deleted the claude/upgrade-psycopg3-adutxs branch July 2, 2026 23:11
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.

2 participants