tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py-gobject3, meson, and python versioning

I should add that something needs to be done right now. This is causing
scan failures and means a number of important packages (e.g. mate) can't

On Sun, Sep 29, 2019 at 10:41:36AM +0000, nia wrote:
> The latest py-gobject3 update broke the py27 version and a bunch of
> dependent packages. This is because it now needs meson and pkgsrc can't
> invoke meson when python2 is in use by the package - it's python3 only.
> Non-pkgsrc projects can still successfully build the py27 version of
> py-gobject3 by invoking a python3-using meson with
> -Dpython=${PREFIX}/bin/python2. 
> This seems like a problem with how meson is used in pkgsrc. It should
> be treated like a tool rather than a normal python module, probably
> not be version prefixed, and not set PYTHON_VERSIONS_INCOMPATIBLE for
> packages using it.
> Basically, meson's use of python3 shouldn't be affecting packages using
> it as a build system.
> Alternatively: we keep the pre-meson py-gobject3, or we delete all the
> Python 2 packages using py-gobject3.

Home | Main Index | Thread Index | Old Index