Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1092181

Bug#1005043: lintian: check that Python version numbers are not 0.0.0

From Julian Gilbey <jdg@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#1005043: lintian: check that Python version numbers are not 0.0.0
Date 2022-02-05 22:10 +0100
Message-ID <DNAtH-Xe-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1005043: lintian: check that Python version numbers are not 0.0.0 Julian Gilbey <jdg@debian.org> - 2022-02-05 22:10 +0100
  Bug#1005043: lintian: check that Python version numbers are not 0.0.0 Sandro Tosi <morph@debian.org> - 2022-02-05 22:50 +0100
    Bug#1005043: lintian: check that Python version numbers are not 0.0.0 Julian Gilbey <jdg@debian.org> - 2022-02-06 13:30 +0100
      Bug#1005043: lintian: check that Python version numbers are not 0.0.0 Stefano Rivera <stefanor@debian.org> - 2022-02-06 18:00 +0100
        Bug#1005043: lintian: check that Python version numbers are not 0.0.0 Sandro Tosi <morph@debian.org> - 2022-02-06 21:40 +0100
        Bug#1005043: lintian: check that Python version numbers are not 0.0.0 Julian Gilbey <jdg@debian.org> - 2022-02-07 07:40 +0100

csiph-web