qemu-stable
[Top][All Lists]
Advanced

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

Re: [PATCH v2] docs/conf.py: Remove usage of distutils


From: Thomas Huth
Subject: Re: [PATCH v2] docs/conf.py: Remove usage of distutils
Date: Mon, 4 Mar 2024 18:11:58 +0100
User-agent: Mozilla Thunderbird

On 04/03/2024 17.56, Peter Maydell wrote:
On Mon, 4 Mar 2024 at 13:04, Thomas Huth <thuth@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
...
ModuleNotFoundError: No module named 'distutils'

Looking at the glib sources, I think this has been fixed here:

 https://gitlab.gnome.org/GNOME/glib/-/commit/6ef967a0f930ce37a8c9b5aff96969

The fix will be in glib 2.79, unfortunately homebrew still seems to use glib 2.78 ...

We could maybe temporarily work-around the problem by disabling the dbus code in the CI job? Or just wait for homebrew to update the package?

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]