Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7795
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Kitterman <debian@kitterman.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Does “${python3:Depends}” reliably generate correct dependencies? |
| Date | Sun, 25 Oct 2015 10:10:01 +0100 |
| Message-ID | <qnptn-mg-13@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:05:24 2015 |
| Old-Return-Path | <debian@kitterman.com> |
| X-Amavis-Spam-Status | No, score=-6.112 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, SARE_HEAD_8BIT_SPAM=0.888] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5 |
| Dkim-Signature | v=1; a=rsa-sha256; c=simple/simple; d=kitterman.com; s=201409; t=1445763909; bh=BMkUZgaVopYy77KPc7UHpFQLwUMCqn8kyP9rYRtV7VY=; h=In-Reply-To:References:Subject:From:Date:To:From; b=ImvOswiZmGnkGfGuZz1jGEiG2+W7jc4Rj7z978ci/fzZcAXxkecyg+xURFBFqgr0O W3GX8jF+mKlEkHLr0EODBeQkgL5kqx7G2Muv/Uckn2nr/ZxoqWLUasKfAFdGJ1W3qj GhK2B4mJdSlwjw7CbcN6hZc9Ww0rshLqCkr0XOIM= |
| User-Agent | K-9 Mail for Android |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 8bit |
| Content-Type | text/plain; charset=UTF-8 |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13107 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/33A5A116-A256-43E8-86DB-07832778396A@kitterman.com |
| Approved | robomod@news.nic.it |
| Lines | 40 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sun, 25 Oct 2015 05:05:08 -0400 |
| X-Original-Message-ID | <33A5A116-A256-43E8-86DB-07832778396A@kitterman.com> |
| X-Original-References | <85twpfo7c2.fsf@benfinney.id.au> |
| Xref | csiph.com linux.debian.maint.python:7795 |
Show key headers only | View raw
On October 25, 2015 1:17:17 AM EDT, Ben Finney <ben+debian@benfinney.id.au> wrote:
>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?
>
>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.
>
> $ apt-cache show python3-coverage | grep Depends
> Depends: python3-pkg-resources, python3 (<< 3.6), python3 (>= 3.4~),
> python3.4, python3.5, libc6 (>= 2.4)
>
> <URL:https://bugs.debian.org/802889>
>
>So far as I can tell, these dependencies are generated because
>“Depends: […] ${python3:Depends}” is in that “Package” definition.
>
>On a Debian Sid system today, building a package for Python 3, along
>with its extension modules, means building it for all supported Python
>3
>versions. Are the above dependencies wrong for that?
>
>If the dependencies are incorrect, what should be used in the Depends
>field instead of “${python3:Depends}”?
>
>If the dependencies are correct, exactly what should I say in
>explanation to the reporter of Bug#802889?
Usually you only get the dependency on the specific python3 interpreters if there's a script with a shebang using that version. I'd check for that.
It could either be in the original source or due to dh_python3 doing something interesting in shebang rewriting (IIRC there's a known issue that P1otr is working on).
Scott K
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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