Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Ben Finney Newsgroups: linux.debian.maint.python Subject: Does =?utf-8?Q?=E2=80=9C${python3=3ADepends}=E2=80=9D?= reliably generate correct dependencies? Date: Sun, 25 Oct 2015 06:20:01 +0100 Message-ID: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Oct 25 05:17:39 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.821 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, SARE_HEAD_8BIT_SPAM=0.888, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 X-Injected-Via-Gmane: http://gmane.org/ Lines: 36 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: jigong.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:dEVlq2L0+LDPMx84dh0obaff7GY= X-Mailing-List: archive/latest/13102 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/85twpfo7c2.fsf@benfinney.id.au Approved: robomod@news.nic.it Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 25 Oct 2015 16:17:17 +1100 X-Original-Message-ID: <85twpfo7c2.fsf@benfinney.id.au> X-Original-X-Complaints-To: usenet@ger.gmane.org Xref: csiph.com linux.debian.maint.python:7790 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) 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? -- \ “Smoking cures weight problems. Eventually.” —Steven Wright | `\ | _o__) | Ben Finney