Switch to psycopg 3
There are currently no pipelines.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.
Part the First of https://redmine.teklia.com/issues/10050
psycopg2
imports are renamed to psycopg
, fortunately the modules did not move.psycopg2.extras.execute_values
does not exist anymore, so I had to make the cursed has_children
SQL on element lists even more cursed than before.IN %s
construct, so I also had to make the ListDatasetElements neighbors SQL even more cursed.ARRAY['a', 'b', 'c']
to '{a,b,c}'::text[]
. It used to be the {}
syntax a while ago, then something changed it to ARRAY[]
(maybe Django 5, I forgot), and brackets are back. assertExactQueries
call.Base image build: https://gitlab.teklia.com/arkindex/backend/-/jobs/707340
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.