[Debian-iot-maintainers] Bug#1132683: pyicloud: please add a build-dependency on python3-setuptools-scm to generate correct dist-info
Alexandre Detiste
alexandre.detiste at gmail.com
Sat Apr 4 13:17:12 BST 2026
Source: pyicloud
Version: 2.3.0-1
Severity: normal
Hi Thorsten,
The version number is not know by the setuptools framework
during the build and the .deb files ends up containing
these weird 0.0.0 files. This has other impacts:
same weird output with 'pip list';
importlib.metadata.version() fails.
Please add a build-dependency on python3-setuptools-scm to fix this.
This should be a Lintian warning: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034588
Greetings
Alexandre
AS-IS:
https://packages.debian.org/sid/all/python3-pyicloud/filelist
/usr/lib/python3/dist-packages/pyicloud-0.0.0.dist-info/INSTALLER
/usr/lib/python3/dist-packages/pyicloud-0.0.0.dist-info/METADATA
/usr/lib/python3/dist-packages/pyicloud-0.0.0.dist-info/WHEEL
/usr/lib/python3/dist-packages/pyicloud-0.0.0.dist-info/entry_points.txt
/usr/lib/python3/dist-packages/pyicloud-0.0.0.dist-info/top_level.txt
TO-BE:
$ debc | grep info
drwxr-xr-x root/root 0 2026-02-14 13:49 ./usr/lib/python3/dist-packages/pyicloud-2.3.0.dist-info/
-rw-r--r-- root/root 7 2026-02-14 13:49 ./usr/lib/python3/dist-packages/pyicloud-2.3.0.dist-info/INSTALLER
-rw-r--r-- root/root 29871 2026-02-14 13:49 ./usr/lib/python3/dist-packages/pyicloud-2.3.0.dist-info/METADATA
-rw-r--r-- root/root 91 2026-02-14 13:49 ./usr/lib/python3/dist-packages/pyicloud-2.3.0.dist-info/WHEEL
-rw-r--r-- root/root 49 2026-02-14 13:49 ./usr/lib/python3/dist-packages/pyicloud-2.3.0.dist-info/entry_points.txt
-rw-r--r-- root/root 9 2026-02-14 13:49 ./usr/lib/python3/dist-packages/pyicloud-2.3.0.dist-info/top_level.txt
More information about the Debian-iot-maintainers
mailing list