Package: python3-tqdm
Version: 4.66.2-1
Severity: normal
Tags: patch
X-Debbugs-Cc: cru...@debian.org

Dear Maintainer,

I noticed that your package doesn't know its own version number, due to 
upstream using setuptools-scm:

> /usr/lib/python3.12/dist-packages/tqdm-0.0.0.dist-info/INSTALLER
> /usr/lib/python3.12/dist-packages/tqdm-0.0.0.dist-info/top_level.txt

https://packages.debian.org/trixie/all/python3-tqdm/filelist

Attached is a patch to fix this.
commit 57f42a5693cb8fd1c0f80a0f605396d18ae24a0c
Author: Michael R. Crusoe <cru...@debian.org>
Date:   Fri Apr 26 17:35:10 2024 +0200

    d/watch: switch to PyPI to grab the _version file. Fixes "0.0.0" version reporting.

diff --git a/debian/control b/debian/control
index 8738979..24c5b98 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Build-Depends:
  python3-pytest-timeout <!nocheck>,
  python3-rich <!nocheck>,
  python3-setuptools,
+ python3-setuptools-scm,
  python3-tk <!nocheck>,
 Rules-Requires-Root: no
 Standards-Version: 4.7.0

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to