Package: lintian
Version: 2.111.0
Severity: wishlist
X-Debbugs-Cc: debian-pyt...@lists.debian.org

I just ran into several Python packages that install modules with
version number 0.0.0 because of some issue with their setup.py
scripts.  I just did the following on my testing system:

lz4cat 
/var/lib/apt/lists/deb.debian.org_debian_dists_testing_main_Contents-all.lz4 | 
grep 'usr/lib/python3/dist-packages/.*-0\.0\.0\..*-info/PKG-INFO' | wc -l
24

lz4cat 
/var/lib/apt/lists/deb.debian.org_debian_dists_testing_main_Contents-all.lz4 | 
grep 'usr/lib/python3/dist-packages/.*-0\.0\.0\..*-info ' | wc -l
6

So there are at least about 30 packages with this problem.

The test for this bug (and it should probably be recorded as an error,
not just a warning, as no Python package should have a version number
of 0.0.0) is simple: if the binary package contains has a file or
directory with the name as in the above regex, then the package has
this error.

Best wishes,

   Julian

Reply via email to