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


Groups > linux.debian.maint.python > #15096 > unrolled thread

pybuild now supports meson

Started byStefano Rivera <stefanor@debian.org>
First post2023-08-02 19:50 +0200
Last post2023-08-02 22:30 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.maint.python


Contents

  pybuild now supports meson Stefano Rivera <stefanor@debian.org> - 2023-08-02 19:50 +0200
    Re: pybuild now supports meson Simon McVittie <smcv@debian.org> - 2023-08-02 20:30 +0200
      Re: pybuild now supports meson Stefano Rivera <stefanor@debian.org> - 2023-08-02 21:20 +0200
      Re: pybuild now supports meson Nicholas D Steeves <sten@debian.org> - 2023-08-02 22:30 +0200

#15096 — pybuild now supports meson

FromStefano Rivera <stefanor@debian.org>
Date2023-08-02 19:50 +0200
Subjectpybuild now supports meson
Message-ID<GYo8V-4DTE-5@gated-at.bofh.it>
FYI:

The latest upload of dh-python to unstable (6.20230802) includes a
meson plugin, so pybuild can easily build a package multiple times for
all supported Python modules.

It should detect meson from the presence of a meson.build file. And
it'll re-execute dh's meson driver for the build step for each Python
version.

Hopefully that helps...
(and doesn't cause unexpected FTBFSs)

Stefano

CCed teams of maintainers of packages matching:

grep-dctrl -F Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
	-s Package,Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
	-e '(\s|^)meson(\s|$)' | \
grep-dctrl -F Build-Depends,Build-Depends-Arch,Build-Depends-Indep \
	-s Package \
	-e '(\s|^)python3(-all)?(-dev)?(\s|$)'

Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
   gedit
   gi-docgen
   gnome-music
   gtk-doc
   libgom
   libpeas
   rhythmbox
   totem

Debian Input Method Team <debian-input-method@lists.debian.org>
   keyman

Debian Python Team <team+python@tracker.debian.org>
   gtg
   meson-python

Eberhard Beilharz <eb1@sil.org>
   keyman (U)

Emilio Pozuelo Monfort <pochu@debian.org>
   gtk-doc (U)
   libpeas (U)
   rhythmbox (U)

FingerForce Team <fingerforce-devel@lists.alioth.debian.org>
   libfprint

Francois Mazen <francois@mzf.fr>
   gtg (U)

Iain Lane <laney@debian.org>
   gnome-music (U)
   gtk-doc (U)
   libpeas (U)

Jeremy Bicha <jbicha@debian.org>
   gtk-doc (U)
   libgom (U)

Jeremy Bicha <jbicha@ubuntu.com>
   gedit (U)
   gnome-music (U)
   rhythmbox (U)
   totem (U)

Jeremy Bícha <jbicha@ubuntu.com>
   libpeas (U)

Jordi Mallach <jordi@debian.org>
   rhythmbox (U)

Keyman team <support@keyman.com>
   keyman (U)

Laurent Bigonville <bigon@debian.org>
   gedit (U)
   gnome-music (U)
   libgom (U)
   libpeas (U)
   rhythmbox (U)
   totem (U)

Maintainers of GStreamer packages <gst-python1.0@packages.debian.org>
   gst-python1.0

Marco Trevisan <marco@ubuntu.com>
   libfprint (U)

Michael Biebl <biebl@debian.org>
   gtk-doc (U)
   libgom (U)
   libpeas (U)
   rhythmbox (U)
   totem (U)

Sebastian Dröge <slomo@debian.org>
   gst-python1.0 (U)
   pitivi

Simon McVittie <smcv@debian.org>
   gi-docgen (U)
   meson-python (U)
   xdg-desktop-portal (U)

Sjoerd Simons <sjoerd@debian.org>
   libpeas (U)

Tim Lunn <tim@feathertop.org>
   gnome-music (U)
   gtk-doc (U)

Ulises Vitulli <dererk@debian.org>
   libfprint (U)

Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
   xdg-desktop-portal

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [next] | [standalone]


#15097

FromSimon McVittie <smcv@debian.org>
Date2023-08-02 20:30 +0200
Message-ID<GYoLD-4EnY-3@gated-at.bofh.it>
In reply to#15096
On Wed, 02 Aug 2023 at 17:44:24 +0000, Stefano Rivera wrote:
> The latest upload of dh-python to unstable (6.20230802) includes a
> meson plugin, so pybuild can easily build a package multiple times for
> all supported Python modules.

I don't think this is necessarily appropriate for a lot of the packages
in the dd-list: many of them don't install any public Python modules,
only private Python modules for internal use (often only for their
tests). It seems better for those to keep using Meson directly, to match
upstream expectations and give their maintainers full control over their
build options.

One that I was surprised not to see on the list is dbus-python, which
currently uses Meson directly. I'd vaguely planned to try building it
using pybuild and meson-python, but pybuild invoking Meson directly
might be better.

(meson-python itself is a false positive: it's already using pybuild.)

    smcv

[toc] | [prev] | [next] | [standalone]


#15098

FromStefano Rivera <stefanor@debian.org>
Date2023-08-02 21:20 +0200
Message-ID<GYpy1-4EXO-7@gated-at.bofh.it>
In reply to#15097
Hi Simon (2023.08.02_18:23:31_+0000)
> On Wed, 02 Aug 2023 at 17:44:24 +0000, Stefano Rivera wrote:
> > The latest upload of dh-python to unstable (6.20230802) includes a
> > meson plugin, so pybuild can easily build a package multiple times for
> > all supported Python modules.
> 
> I don't think this is necessarily appropriate for a lot of the packages
> in the dd-list: many of them don't install any public Python modules,
> only private Python modules for internal use (often only for their
> tests). It seems better for those to keep using Meson directly, to match
> upstream expectations and give their maintainers full control over their
> build options.

Make sense.

Stefano

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

[toc] | [prev] | [next] | [standalone]


#15099

FromNicholas D Steeves <sten@debian.org>
Date2023-08-02 22:30 +0200
Message-ID<GYqDL-4FEx-3@gated-at.bofh.it>
In reply to#15097
Stefano Rivera <stefanor@debian.org> writes:

> Hi Simon (2023.08.02_18:23:31_+0000)
>> On Wed, 02 Aug 2023 at 17:44:24 +0000, Stefano Rivera wrote:
>> > The latest upload of dh-python to unstable (6.20230802) includes a
>> > meson plugin, so pybuild can easily build a package multiple times for
>> > all supported Python modules.
>> 
>> I don't think this is necessarily appropriate for a lot of the packages
>> in the dd-list: many of them don't install any public Python modules,
>> only private Python modules for internal use (often only for their
>> tests). It seems better for those to keep using Meson directly, to match
>> upstream expectations and give their maintainers full control over their
>> build options.
>
> Make sense.

Is there a better method for fuzzing these modules with CI--as an early
warning system for new Python releases?  Would it be useful to activate
the meson dh-python plugin somewhere like reprobuilds, DebCI, or Salsa
CI, while leaving it deactivated on buildds?

Cheers,
Nicholas

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web