Path: csiph.com!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod From: Scott Kitterman Newsgroups: linux.debian.maint.python Subject: Re: python3-openvdb: build against the default python3 version Date: Fri, 27 Mar 2020 14:30:01 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Mar 27 13:22:17 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12.18 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 Dkim-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1585315320; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type : from; bh=wEdxdRn0PjXEeOte1W7LV9GlDXv5JHEYm/Y4bLJh1Zs=; b=dWkoP5QwxHJyRtsz/QPjNg02Zdvx1d55ZWi4w8StIylLiY4gYQz+ryW6jacqOuJ0m5MP5 aUdlLneuuPp4hTqBQ== Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1585315320; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type : from; bh=wEdxdRn0PjXEeOte1W7LV9GlDXv5JHEYm/Y4bLJh1Zs=; b=kiA4qreIYYjc46uC4T/ayD43UflqXujv5VwOI1mafVFeWUHTjNxWtknQ+nSoQ9NrFX8c2 LkKKwV2N/zDyVHAJOPnqPF+sB2yHaV0S+kx/RCZsOdv5Oe1GpdaRpKv1VtCSUDeWDSr+rR9 BLuHaMzB6eF/GNIdrY4CfjMGvXW/eaI6QmeOgNmb26waf74SWrrNDKOcJe/88jbMjMpyesC rYhQtCoWwgv5p0wYTVpCZsIV7PCvQiVVFVAu63rv7YF8bjmzYsjZLyP5yJn/TWonIETkVUb gp2yf7ZG/d9LnO6vIuv7ynKPzhAI6F4stn99KaqIjz4lPVRspEOPBbjXkuUA== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3849313.0otJvH3idn"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Mailing-List: archive/latest/18035 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/3714143.O3xONXjdXu@l5580 Approved: robomod@news.nic.it Lines: 71 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 27 Mar 2020 09:21:52 -0400 X-Original-Message-ID: <3714143.O3xONXjdXu@l5580> X-Original-References: <69adbb06-f51f-ba40-3b8d-78dd488da5f2@debian.org> Xref: csiph.com linux.debian.maint.python:12388 --nextPart3849313.0otJvH3idn Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Pybuild has a cmake plugin that I think is relatively new. It may handle the complexity for you, but I've never tried it. We used to do this with pykde4, which is available on snapshot..d.o. Scott K On Friday, March 27, 2020 8:48:33 AM EDT Mathieu Malaterre wrote: > Hi all, > > Could anyone point me at a Debian package (possibly using dh) where > multiple compilation are done (one against python3.7 and one against > python3.8). I'd like to avoid re-inventing the wheel for building a > cmake package (c++) which ships a single python module (so I need to > do one configure+build+install per python version). > > Thanks, > > On Fri, Mar 27, 2020 at 12:57 PM Emilio Pozuelo Monfort > > wrote: > > Control: reopen -1 7.0.0-1 > > Control: retitle -1 python3-openvdb: build against the default python3 > > version> > > On Mon, 24 Feb 2020 11:10:49 +0100 Mathieu Malaterre wrote: > > > Control: tags -1 + patch > > > Control: retitle -1 replace python3-all-dev with python3.7-dev > > > > Err, that's not really the solution. > > > > The not ideal solution was to build for the default python version, i.e. > > build-depend on python3-dev and use python3. That would have built against > > python3.7 when that was the default, and against python3.8 now that it has > > changed. And with a binNMU from the release team, you wouldn't have even > > noticed. > > > > The ideal solution is to build against python3-all-dev and build for *all* > > supported python versions. So that when python3.7 and python3.8 are both > > supported, you build the python extension for both of them. > > > > Cheers, > > Emilio --nextPart3849313.0otJvH3idn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE53Kb/76FQA/u7iOxeNfe+5rVmvEFAl59/fAACgkQeNfe+5rV mvEDWw/+OC0BC8SaYihDDOqgFXo0K090RzlU1gk0xV/Sr5usZQQBAo0bbL9KgSea 0zDN61Iu0y69G/nmvlHtNIV+cprAiHDLMcr61hT1gLjXKaZ6mi2+gxfdtIyZFcuH P6NmA6feyiib7BKXzf6p3SRZVJ13puEu+ConIcuGayu5O2JhLL2X18cfjbboxNbD CEo9R3VWtwthyA0E+rx4JiqrYPTTI2DPtrqBZJ5eVtPSOmawOXg/rReMoGxihrk4 5tFtrL1K/8pWwRoND8SEO+bKdkdkwSkH9chR4IcUPIgbjYv4mhisZjwdOr3jwlbr aIB4aC24AqHxUUyOiV1YE/sg7kTZg3Ub7RezQfRNNPUfe7I9kRa/XopwtgByyQP0 KUOuuleTIdyzbgipI71bKKiWNDlQ9pP2AyetPcQIqu7xnzWFZyIJHcfAqfB4ed9E 2bR6FwbnSlQbTuKpyNvFhIsHeUEcPpaz0cn/Qaq3wGCYF6tQIuoGtKwrTnMZyLJU i3NNkQFhkgVWCMJtgG/tnDHvTXC/l7J5JAgdW5CnUUiS7zcyziEzalNYZfZRdK3P ZLgv+tQV6yGoxro8YhOy95avjhJv+FxP7atsPtRQQi04lHHYqs9sCYplFORqQ3i+ Eoi22XVXpIxkLBrR9H3MSYwJl6oegwTqEvYHnKXs0azPUGJTtK8= =ATmE -----END PGP SIGNATURE----- --nextPart3849313.0otJvH3idn--