• Re: pybuild now supports meson

    From Simon McVittie@21:1/5 to Stefano Rivera on Wed Aug 2 20:30:01 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefano Rivera@21:1/5 to All on Wed Aug 2 21:20:01 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicholas D Steeves@21:1/5 to Stefano Rivera on Wed Aug 2 22:30:01 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)