Roundup Tracker - Issues

Issue 2551255

classification
Add support for psycopg3 library
Type: rfe Severity: normal
Components: Database Versions:
process
Status: new
:
: : rouilj
Priority: :

Created on 2023-01-22 04:14 by rouilj, last changed 2023-10-16 04:31 by rouilj.

Messages
msg7708 Author: [hidden] (rouilj) Date: 2023-01-22 04:14
Looks like psycopg3 is at release 3.1 > 3.0 so we should plan on how to use/test etc.
msg7846 Author: [hidden] (rouilj) Date: 2023-10-16 04:31
https://www.psycopg.org/psycopg3/

On initial glance, it looks like we don't use anything that has changed in psycopg3.

https://www.psycopg.org/psycopg3/docs/basic/from_pg2.html

So this might be as simple as import psycopg3 in a try block with fallback to psycopg2.
Then setting up a CI to require psycopg3. Then running the test suite.

Will need to have some test/output that indicates the version 3 is running though
in case the CI environment has psycopg3 in it already.
History
Date User Action Args
2023-10-16 04:31:50rouiljsetmessages: + msg7846
2023-01-22 04:14:19rouiljcreate