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


Groups > linux.debian.maint.python > #13933

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

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Bug#1005043: lintian: check that Python version numbers are not 0.0.0
Date Tue, 08 Feb 2022 01:30:01 +0100
Message-ID <DOmyl-hh6-1@gated-at.bofh.it> (permalink)
References <DNAtH-Xe-1@gated-at.bofh.it> <DNB6p-1ay-1@gated-at.bofh.it> <DNOQ1-1ha-3@gated-at.bofh.it> <DNT3j-3JU-1@gated-at.bofh.it> <DO5Hb-79a-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Feb 8 00:26:19 2022
Old-Return-Path <stefano@rivera.za.net>
X-Amavis-Spam-Status No, score=-5.851 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, SHIP_ID_INT=1] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Mail-Followup-To debian-python@lists.debian.org
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-Mailing-List <debian-python@lists.debian.org> archive/latest/19746
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20220208002601.mqhitz5vlumrqqip@satie.tumbleweed.org.za
Approved robomod@news.nic.it
Lines 23
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 8 Feb 2022 00:26:01 +0000
X-Original-Message-ID <20220208002601.mqhitz5vlumrqqip@satie.tumbleweed.org.za>
X-Original-References <164409460483.3521277.16549103784531274307.reportbug@erdos.d-and-j.net> <CAB4XWXxdmzZ23eHU9SO8uRQmGNZauoX0-eJX5wh=7WeW95_+bQ@mail.gmail.com> <Yf+86nLCmE/8MHMN@d-and-j.net> <20220206164653.chplpvjvyzhzkxiw@satie.tumbleweed.org.za> <YgC7nqqSTu+/aSSy@d-and-j.net>
Xref csiph.com linux.debian.maint.python:13933

Show key headers only | View raw


Hi Julian (2022.02.07_06:26:38_+0000)
> I'm a little confused by this.  Have a look at
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005039 against
> python3-iniconfig.  It has a very straightforward debian/rules, using
> pybuild, and its setup.py script has "use_scm_version=True", but it
> still produces a python package with version number 0.0.0.
> 
> I have tried this in an environment where I have
> python3-setuptools-scm installed, by the way (even though the package
> does not Build-Depends on it).  I'm using dh-python version 5.20220119

That's the issue, it *needs* to Build-Depend on that (pybuild only
exports the PRETEND environment variable when there is a
Build-Dependency).

Committed a fix to git.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Back to linux.debian.maint.python | Previous | Next — Previous in thread | 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 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
        Re: Bug#1005043: lintian: check that Python version numbers are not  0.0.0 Stefano Rivera <stefanor@debian.org> - 2022-02-08 01:30 +0100
          Re: Bug#1005043: lintian: check that Python version numbers are not  0.0.0 Julian Gilbey <julian@d-and-j.net> - 2022-02-08 08:00 +0100

csiph-web