Source: pgcli
Version: 4.6.0-1
Severity: normal
Hi Daniel,
There is a tiny regression with pgcli 4.6.0-1;
this is twofold:
1) There are weird '0.0.0' files in /usr/lib/python3/dist-packages;
this is how I detect this.
/usr/lib/python3/dist-packages/pgcli-0.0.0.dist-info
/usr/lib/python3/dist-packages/pgcli-0.0.0.dist-info/INSTALLER
/usr/lib/python3/dist-packages/pgcli-0.0.0.dist-info/METADATA
/usr/lib/python3/dist-packages/pgcli-0.0.0.dist-info/entry_points.txt
/usr/lib/python3/dist-packages/pgcli-0.0.0.dist-info/top_level.txt
2) the reported version with Python API is also '0.0.0';
which might breaks some random workflows:
tchet@quieter:/tmp/pgcli-4.6.0$ python3
Python 3.14.7 (main, Aug 11 2026, 08:48:35) [GCC 16.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from importlib.metadata import version
>>> version("pgcli")
'0.0.0'
>>> version("pgcli") # after rebuild with python3-setuptools-scm
'4.6.0'
>>>
Adding a build-dependency on python3-setuptools-scm fix this.
What I don't understand is why this only shows up now.
Greetings,
Alexandre
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (501, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.1.8+deb14.1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled