Skip to content

Update to Django 4.2 and psycopg3 #12237

@arthanson

Description

@arthanson

Proposed Changes

Django 4.2 has been released and it has support for the new psycopg3 (instead of the current psycopg2).

Also note: https://docs.djangoproject.com/en/4.2/releases/4.2/#index-together-option-is-deprecated-in-favor-of-indexes index-together is deprecated for indexes and we have this in a couple places in the code.

Justification

From the Django release notes: "Support for psycopg2 is likely to be deprecated and removed at some point in the future.

Be aware that psycopg 3 introduces some breaking changes over psycopg2. As a consequence, you may need to make some changes to account for differences from psycopg2."

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: housekeepingChanges to the application which do not directly impact the end user

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions