Path: csiph.com!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Andrey Rahmatullin Newsgroups: linux.debian.maint.python Subject: Re: Build and run-time triplets Date: Sun, 24 Jul 2022 21:50:02 +0200 Message-ID: References: X-Original-To: Julian Gilbey X-Mailbox-Line: From debian-python-request@lists.debian.org Sun Jul 24 19:41:33 2022 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.01 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -3.5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IG9Rsrwl/KpZFyV9" Content-Disposition: inline X-Mailing-List: archive/latest/20111 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/Yt2gXAlLK+vg89Vu@belkar.wrar.name Approved: robomod@news.nic.it Lines: 60 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Mon, 25 Jul 2022 00:41:16 +0500 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:14277 --IG9Rsrwl/KpZFyV9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 24, 2022 at 08:30:42PM +0100, Julian Gilbey wrote: > On Sun, Jul 24, 2022 at 11:41:56PM +0500, Andrey Rahmatullin wrote: > > [...] > > >=20 > > > I got all of the triplets working, but was then stymied when I tried > > > to specify Multi-Arch: same in the control file. I got a lintian > > > warning: multi-arch-same-package-calls-pycompile > > > It seems that since the pybuild system (via dh_python3) adds a > > > py3compile command to the postinst of the package, then I can't safely > > > use Multi-Arch: same. > > >=20 > > > I don't know if this is the case for all python3 Arch: any packages > > > with compiled extensions; > > I think the tag desciption has a good step-by-step explanation why does > > the tag exists. > > But your package is not a "package with compiled extensions", is it? >=20 > Yes, it's got compiled extensions (Cython) in addition to this > non-Python .so library file. >=20 > > > are they all effectively Multi-Arch: no? Is this worth thinking about > > > in the longer term? > > What do you propose? >=20 > I think the fix to bug #812228 might have done the job nicely ;-) If it actually ships extensions, the "it should usually get a dependency on the Python interpreter for the same architecture" part should still apply as far as I understand it. --=20 WBR, wRAR --IG9Rsrwl/KpZFyV9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmLdoFstFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh ri4P/R8fgjkFOmv4+R390r6vKktoDR4Zla78It2nL0eLFgX2YyaIS4oQxw76vXzJ xPfW7YGzP4gM/Cpd2NWyMg7qzVMUeJ4O9yqxJoObGzNb/qHACdvEoTfALMD6dDw3 EqTgNq7vjQnWyHLyQYVmGP4/NlZFMsi+3sMt1jgHCp5ucbG9rbfGMGGfCFJ4eV+p tQ5VLTevjlG8jb6lYRyGRFDm/7VKuVGZ7vLPGHJGozneTotlccLIXt1uNJcBgo0q 0aSdZ5h/hD8E6xxHAiT93gEZiP1iuLD5acsSfyTwAQCpW7KDv5zeRRyNUJYACERE FYxLXGBe5OLBCiHl1GGACaeuPE2oQyVAds0zWdJORioAn+i2uCAt4CWmuTS656iB ZYYfA+tDP51ey6Q1aAbxBESz2o/yrkY55m7OoIz6skuFa079Ecgq0b118hYS6p6N xIgP7iMDDm+s9tY2xiNbv8VN907Qv+fzD9BOod0JIvtzjxDIY3Lo+8kyEukrdUAc UB2zScyA2KJnRzw88neBVskU8L8PpiTJ65hLr/dEGaZ5zJsTzZSwA61EsJpC2KXk 7ygS5aXcC7/8uQFIqhoud1Lzi6WIGW3NoCBRppDeNdMcLWb3PJO2M+vSsD1tXKai pvBSbbSISL7HRTdNaH2neSgGFvSw5A3zGrm12bgFxy9JOt// =1BAA -----END PGP SIGNATURE----- --IG9Rsrwl/KpZFyV9--