Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Mathieu Malaterre Newsgroups: linux.debian.maint.python Subject: python3-openvdb: build against the default python3 version Date: Fri, 27 Mar 2020 13:50:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Mar 27 12:49:01 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.477 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ElvixPfjnfoDaoyrVRRx9fZXo7w2n98h6YJSUnqVsXU=; b=olZ3FEkFqSBKupAOPeLF5FNpXB8HF/L+mTQKCJKNcDQAguAc2LxFHg3Abn9iav6TFH iTE4ydQUiLtjhfvaGyVHA+S4qmwVt4gK/tb9xKdlU959sYpVjiq4P92tVMZy/Je34elx IoNYr4IaCbxtb6BhDyAfV7yka/rBnBf2vNh1Ul4wxirYi1/8HOjB9vUxy9oYDgjJBrHH vKw+PknE+w7r7rW3Izxir04/8V+6v+4DAeJ5OovOMdluvmVM3d5hp2kJEaWmjanoVJEP GoVRmMI7wiF2oPL/10T8eWeUX6NIVjtWdM/YXy6XrzlwI61hfj/9aD9F00ihIqD0gj6k r1zQ== X-Gm-Message-State: ANhLgQ1bKrDC/bVylHiZB/bGEfRtYi3q++QfqyL9PyjqAbK+HU3aDTSX V6+mNI/jLUyJgnbe12V4rXh5s24tnvGRLq12ti5bLeOX X-Google-SMTP-Source: ADFU+vvxoWHC//CJrKsrc2s8EgZF9Qacjff/VbpfJzyUr8sImordcC3T8Chxf9rvnG9skg0TjTNAYfpL/VCdnP94Xk8= X-Received: by 2002:a9d:3b76:: with SMTP id z109mr9822558otb.335.1585313325590; Fri, 27 Mar 2020 05:48:45 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailing-List: archive/latest/18034 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CA+7wUswE0z=YQ0qvcwjd147_bgHddAkbN9dSUfUwKKRo1R4A=Q@mail.gmail.com Approved: robomod@news.nic.it Lines: 33 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 27 Mar 2020 13:48:33 +0100 X-Original-Message-ID: X-Original-References: <69adbb06-f51f-ba40-3b8d-78dd488da5f2@debian.org> Xref: csiph.com linux.debian.maint.python:12387 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