Skip to content

community/pgcli: add dep on psycopg-c and py3-setuptools

Patrycja Rosa requested to merge ptrcnull/aports:pgcli-psycopg into master

otherwise there's no implementation available:

ImportError: no pq wrapper available.
Attempts made:
- couldn't import psycopg 'c' implementation: No module named 'psycopg_c'
- couldn't import psycopg 'binary' implementation: No module named 'psycopg_binary'
- couldn't import psycopg 'python' implementation: libpq library not found

and also it uses pkg_resources:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pgcli/main.py", line 52, in <module>
    from .pgtoolbar import create_toolbar_tokens_func
  File "/usr/lib/python3.11/site-packages/pgcli/pgtoolbar.py", line 1, in <module>
    from pkg_resources import packaging
ModuleNotFoundError: No module named 'pkg_resources'
Edited by Patrycja Rosa

Merge request reports