Issue 2551255
 
 
 
              
              
Created on 2023-01-22 04:14 by rouilj, last changed 2023-10-16 04:31 by rouilj. 
  
 
  
   | 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. 
    | 
   
 
 
|
 
| Date | 
User | 
Action | 
Args | 
 
| 2023-10-16 04:31:50 | rouilj | set | messages:
  + msg7846 |  
| 2023-01-22 04:14:19 | rouilj | create |  |  
 
 
 |