Opened 2 years ago

Last modified 2 years ago

#34203 closed Cleanup/optimization

Drop support for psycopg2 2.8 — at Version 1

Reported by: Paolo Melchiorre Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: postgresql, psycopg
Cc: Carlton Gibson, Florian Apolloner Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Paolo Melchiorre)

Psycopg2 2.8.6 was released over 2 years ago and is the latest release of the 2.8 series which is now EOL.
The 2.8 series supports very old versions of Python 3 and still has support for Python 2.7.

Django 4.2 (which supports Python from 3.8 to 3.11) may set Psycopg2 2.9.5 (with Python 3.11 support) as the minimum version it supports, or at least Psycopg2 2.9.2 (with preliminary Python 3.11 support).

In any case, the important thing would be to switch to using the 2.9 series of Psycopg2 which drops support for Python 2.7 and older versions of Python 3.

Change History (1)

comment:1 by Paolo Melchiorre, 2 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top