-
Notifications
You must be signed in to change notification settings - Fork 139
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
update to psycopg 3 #2740
Comments
Our existing use of psycopg2 is now one of our older dependencies. Given we are now on the indicated Django 4.2 we have the following constraint re psycopg 3: https://django.readthedocs.io/en/latest/releases/4.2.html#psycopg-3-support
|
Adjusting our pinning to a 3 major version only: "~3" we have the following:
So we have one incidental update of:
PyPi.org: https://pypi.org/project/certifi/ Our new psycopg (3) has the following, non unique dependencies:
|
Tests
|
Update to latest psycopg 3.1.13 from psycopg2 2.8.6. ## Includes - Update settings.py database ENGINE configs: from: django.db.backends.postgresql_psycopg2 to: django.db.backends.postgresql - Incidental update of certifi (2023.7.22 -> 2023.11.17)
Closing as: |
As part of our ongoing modernisation, and post our move to Django 4.2, we can adopt the async capable psycopg 3.
This is a requirement for: "Django Server Sent Events to provide live data requirements" #2739
Project Docs: https://www.psycopg.org/psycopg3/docs/
PyPi: https://pypi.org/project/psycopg/
Latest is 3.1.13 Released: Nov 17, 2023
https://www.psycopg.org/psycopg3/docs/basic/install.html#supported-systems
Pure Python installation
https://www.psycopg.org/psycopg3/docs/basic/install.html#pure-python-installation
Differences from psycopg2
https://www.psycopg.org/psycopg3/docs/basic/from_pg2.html#differences-from-psycopg2
The text was updated successfully, but these errors were encountered: