Path: csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Stefano Rivera Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#1005043: lintian: check that Python version numbers are not 0.0.0 Date: Sun, 06 Feb 2022 18:00:01 +0100 Message-ID: References: X-Original-To: Julian Gilbey X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Feb 6 16:57:10 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -6.7 Reply-To: Stefano Rivera , 1005043@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian Lintian Maintainers X-Debian-Pr-Message: followup 1005043 X-Debian-Pr-Package: lintian X-Debian-Pr-Source: lintian X-Gpg-Public-Key: http://www.rivera.za.net/stefano.gpg MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: NeoMutt/20201127 X-Greylist: delayed 473 seconds by postgrey-1.36 at buxtehude; Sun, 06 Feb 2022 16:54:55 UTC X-Debian-Message: from BTS X-Mailing-List: archive/latest/1703769 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 18 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Sandro Tosi , 1005043@bugs.debian.org, Debian Python list X-Original-Date: Sun, 6 Feb 2022 16:46:53 +0000 X-Original-Message-ID: <20220206164653.chplpvjvyzhzkxiw@satie.tumbleweed.org.za> X-Original-References: <164409460483.3521277.16549103784531274307.reportbug@erdos.d-and-j.net> <164409460483.3521277.16549103784531274307.reportbug@erdos.d-and-j.net> Xref: csiph.com linux.debian.bugs.dist:1092240 linux.debian.maint.python:13929 Hi Julian (2022.02.06_12:19:54_+0000) > In the couple of cases I've looked at so far, it is due to the > upstream version using use_scm_version in setup.py. This works fine > for a version that is in a Git repository, but it doesn't work for > Debian packages, as the Git version lookup fails. So this needs to be > patched. Or export SETUPTOOLS_SCM_PRETEND_VERSION. https://github.com/pypa/setuptools_scm#environment-variables pybuild does this for you. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272