Bug#1061143: gobject-introspection: FTBFS with Python 3.12 as default
Simon McVittie
smcv at debian.org
Fri Jan 19 12:46:41 GMT 2024
On Fri, 19 Jan 2024 at 13:54:26 +0200, Graham Inggs wrote:
> gobject-introspection FTBFS with Python 3.12 as the default version.
> I've copied what I hope is the relevant part of the log below.
This is not a very helpful log, I hope it gives more information earlier
or later? If not, we'll have to teach its build system to show the actual
test output somewhere.
I would guess that the problem is that it still uses python3-distutils
(that's being worked on upstream, but slower than I would like), but even
though that package Provides python3.12-distutils, it doesn't contain
an implementation.
Depending on python3-setuptools | python3 (<< 3.12) would maybe work?
> Although Python 3.12 is not yet the default in Debian unstable, you
> should be able to reproduce the failure by editing:
>
> /usr/share/python3/debian_defaults
>
> or by exporting DEBPYTHON3_DEFAULT=3.12 during the build.
Thanks, I had been wondering how maintainers of packages that use a single
Python version were meant to test this!
smcv
More information about the pkg-gnome-maintainers
mailing list