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


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

python3-openvdb: build against the default python3 version

From Mathieu Malaterre <malat@debian.org>
Newsgroups linux.debian.maint.python
Subject python3-openvdb: build against the default python3 version
Date 2020-03-27 13:50 +0100
Message-ID <zOWAV-6cN-5@gated-at.bofh.it> (permalink)
References <zOVYd-5Zg-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 — Next 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