Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Piotr =?utf-8?Q?O=C5=BCarowski?= Newsgroups: linux.debian.maint.python Subject: Re: Does =?utf-8?B?4oCcJHtweXRob24zOkRl?= =?utf-8?B?cGVuZHN94oCd?= reliably generate correct dependencies? Date: Sun, 25 Oct 2015 10:30:01 +0100 Message-ID: References: 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: 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: archive/latest/13110 List-ID: List-URL: 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 [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