I noticed this bug, and similar for python-pgspecial. You can fix it by rebuilding with python3-psycopg 3.1.7-4, like I've just done with python-pgspecial. Long story short - dh_python3 has hardcoded mapping of psycopg to python3-psycopg3, and this is added to binary dependencies via python3:Depends; you can find details in https://lists.debian.org/debian-python/2023/01/msg00051.html I added pydist override to psycopg 3.1.7-4.
I also experimented a bit with rebuilding pgcli; you could replace line 28 of debian/control python3-psycopg | python3-psycopg3 (>= 3.0.14) with python3-psycopg, (see attached diff file) and it'll generate proper dependency on python3-psycopg (>= 3.0.14). Full dependency after this change looks like: Depends: python3-cli-helpers, python3-pendulum, python3-pgspecial (>= 2), python3-pkg-resources, python3-prompt-toolkit (>= 3.0), python3- psycopg (>= 3.0.14), python3-sqlparse (>= 0.3), python3-tabulate, python3-terminaltables, python3-click, python3-configobj, python3- pygments, python3-setproctitle, python3:any Best regards. -- Tomasz Rybak, Debian Developer <serp...@debian.org> GPG: A565 CE64 F866 A258 4DDC F9C7 ECB7 3E37 E887 AA8C
diff --git a/debian/control b/debian/control index c414842..9cc1f84 100644 --- a/debian/control +++ b/debian/control @@ -25,7 +25,7 @@ Depends: python3-pgspecial (>= 2), python3-pkg-resources, python3-prompt-toolkit (>= 3.0), - python3-psycopg | python3-psycopg3 (>= 3.0.14), + python3-psycopg, python3-sqlparse (>= 0.3), python3-tabulate, python3-terminaltables,
signature.asc
Description: This is a digitally signed message part