Path: csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Julian Gilbey Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#1005043: lintian: check that Python version numbers are not 0.0.0 Date: Sat, 05 Feb 2022 22:10:01 +0100 Message-ID: X-Original-To: Debian Bug Tracking System X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Feb 5 21:00:10 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -6.9 Reply-To: Julian Gilbey , 1005043@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-python@lists.debian.org, Debian Lintian Maintainers X-Debian-Pr-Message: report 1005043 X-Debian-Pr-Package: lintian X-Debian-Pr-Source: lintian Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 11.3.0 X-Debian-Message: from BTS X-Mailing-List: archive/latest/1703698 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 26 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 05 Feb 2022 20:56:44 +0000 X-Original-Message-ID: <164409460483.3521277.16549103784531274307.reportbug@erdos.d-and-j.net> Xref: csiph.com linux.debian.bugs.dist:1092181 linux.debian.maint.python:13925 Package: lintian Version: 2.111.0 Severity: wishlist X-Debbugs-Cc: debian-python@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