Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12388

Re: python3-openvdb: build against the default python3 version

Path csiph.com!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Scott Kitterman <debian@kitterman.com>
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 <zOXdD-6Gy-3@gated-at.bofh.it> (permalink)
References <zOVYd-5Zg-7@gated-at.bofh.it> <zOWAV-6cN-5@gated-at.bofh.it>
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 <debian@kitterman.com>
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 <debian-python@lists.debian.org> archive/latest/18035
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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> <CA+7wUswE0z=YQ0qvcwjd147_bgHddAkbN9dSUfUwKKRo1R4A=Q@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:12388

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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
> 
> <pochu@debian.org> 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 <malat@debian.org> 
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

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

python3-openvdb: build against the default python3 version Mathieu Malaterre <malat@debian.org> - 2020-03-27 13:50 +0100
  Re: python3-openvdb: build against the default python3 version Scott Kitterman <debian@kitterman.com> - 2020-03-27 14:30 +0100

csiph-web