On Mon, 4 Mar 2024 at 13:04, Thomas Huth <th...@redhat.com> wrote: > > The macOS jobs in our CI recently started failing, complaining that > the distutils module is not available anymore. And indeed, according to > https://peps.python.org/pep-0632/ it's been deprecated since a while > and now likely got removed in recent Python versions.
This doesn't seem to be sufficient to fix the macos CI: something in glib seems to still be using it. https://gitlab.com/qemu-project/qemu/-/jobs/6313212803 [281/6553] Generating ui/dbus-display gdbus-codegen with a custom command FAILED: ui/dbus-display1.h ui/dbus-display1.c /opt/homebrew/Cellar/glib/2.78.4/bin/gdbus-codegen ui/dbus-display1.xml --glib-min-required 2.64 --output-directory /private/var/folders/xc/tpssff9959345bnqq4c6tlww0000gn/T/cirrus-ci-build/build/ui --interface-prefix org.qemu. --c-namespace QemuDBus --generate-c-code dbus-display1 Traceback (most recent call last): File "/opt/homebrew/Cellar/glib/2.78.4/bin/gdbus-codegen", line 53, in <module> from codegen import codegen_main File "/opt/homebrew/Cellar/glib/2.78.4/share/glib-2.0/codegen/codegen_main.py", line 29, in <module> from . import dbustypes File "/opt/homebrew/Cellar/glib/2.78.4/share/glib-2.0/codegen/dbustypes.py", line 22, in <module> from . import utils File "/opt/homebrew/Cellar/glib/2.78.4/share/glib-2.0/codegen/utils.py", line 22, in <module> import distutils.version ModuleNotFoundError: No module named 'distutils' thanks -- PMM