Bug#950267: gobject-introspection is built for only one Python 3 version, but has a dependency python3:any

Simon McVittie smcv at debian.org
Thu Jan 30 21:20:18 GMT 2020


On Thu, 30 Jan 2020 at 20:21:08 +0100, Matthias Klose wrote:
> gobject-introspection is built for only one Python 3 version, but has a
> dependency python3:any.  This doesn't seem to be correct.  The _giscanner
> module/extension is only built for the default Python3 version.
> 
> Can the package be built for all supported Python3 version? Or should the
> dependency on the default Python version be made explicit?

The default Python version at build-time should probably be made explicit
(so right now it would be python3 (>= 3.7), python3 (<< 3.8)) and updated
by a binNMU when the default changes. It probably needs to pass options
to dh_python3, so that dh_python3 will find its private modules.

gobject-introspection.deb is a set of command-line tools that has private
Python code (with a C extension) as an implementation detail, not an
independently importable Python library, so I don't think it makes a whole
lot of sense to compile it for all supported Python versions in parallel.

Is this urgent to fix? I was hoping to get a bit more progress on the
libffi7 transition (in particular a fix for #950219) before uploading
gobject-introspection again.

Thanks,
    smcv



More information about the pkg-gnome-maintainers mailing list