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


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

Re: Does “${python3:Depends}” reliably generate correct dependencies?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Does “${python3:Depends}” reliably generate correct dependencies?
Date Sun, 25 Oct 2015 10:30:01 +0100
Message-ID <qnpMJ-zw-9@gated-at.bofh.it> (permalink)
References <qnlSN-643-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sun Oct 25 09:26:29 2015
Old-Return-Path <piotr@ozarowski.pl>
X-Amavis-Spam-Status No, score=-6.111 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, SARE_HEAD_8BIT_SPAM=0.888] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Mail-Followup-To debian-python@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Operating-System Debian GNU/Linux (3.16.0-4-amd64)
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/13110
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20151025092604.GS15907@sar0.p1otr.com
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 25 Oct 2015 10:26:04 +0100
X-Original-Message-ID <20151025092604.GS15907@sar0.p1otr.com>
X-Original-References <85twpfo7c2.fsf@benfinney.id.au>
Xref csiph.com linux.debian.maint.python:7798

Show key headers only | View raw


[Ben Finney, 2015-10-25]
> Howdy all,
> 
> If we set “Depends: ${python3:Depends}” in the binary package, and use
> ‘dh_python3’, is that all that is needed to ensure the correct
> dependencies on Python 3 versions?

you also have to add correct Build-Dependencies (if not for something
else, then because you need them for tests)

> Recently I received this bug report (Bug#802889):
> 
>     please don't depend on all python3 versions, forcing the
>     installation of all python versions shouldn't be enforced for a
>     module.

my bet is you have versioned interpreter in shebang (which dh_python3
doesn't rewrite unless you tell it to via --shebang=/usr/bin/python3)
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Does “${python3:Depends}” reliably  generate correct dependencies? Ben Finney <ben+debian@benfinney.id.au> - 2015-10-25 06:20 +0100
  Re: Does “${python3:Depends}”  reliably generate correct dependencies? Brian May <brian@linuxpenguins.xyz> - 2015-10-25 08:00 +0100
  Re: Does “${python3:Depends}” reliably generate correct dependencies? Scott Kitterman <debian@kitterman.com> - 2015-10-25 10:10 +0100
    Re: Does “${python3:Depends}” reliably generate  correct dependencies? Dmitry Shachnev <mitya57@debian.org> - 2015-10-25 10:20 +0100
    Re: Does “${python3:Depends}”  reliably generate correct dependencies? Piotr Ożarowski <piotr@debian.org> - 2015-10-25 10:40 +0100
  Re: Does “${python3:Depends}”  reliably generate correct dependencies? Piotr Ożarowski <piotr@debian.org> - 2015-10-25 10:30 +0100

csiph-web