Skip to content

Upgrade to Psycopg 3 #223

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

Closed
wants to merge 2 commits into from
Closed

Conversation

pauloxnet
Copy link
Member

@pauloxnet pauloxnet commented Nov 4, 2024

I created this PR as asked by @bmispelon in django/djangoproject.com#1714

The PostgreSQL backend (django.db.backends.postgresql_psycopg2) is also available as django.db.backends.postgresql since version 1.9, has been deprecated in version 2.0 and has been removed in version 3.0
@pauloxnet
Copy link
Member Author

I'm not a Trac expert at all, but maybe it doesn't support already psycopg v3.x

@bmispelon
Copy link
Member

Indeed, the current code for the postgres db backend seems to only support psycopg2: https://trac.edgewall.org/browser/branches/1.6-stable/trac/db/postgres_backend.py

I've looked on the wiki and ticket tracker but didn't see any plan to add support for psycopg 3 unfortunately 😞

I'm glad the CI caught this failure though 👍🏻

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