From 1148c8f195d812e5bd586f404edd403579ed5df2 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 24 Nov 2024 11:53:32 +0100 Subject: gobject-introspection: Python 3.12 still not supported (#47767) --- var/spack/repos/builtin/packages/gobject-introspection/package.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/gobject-introspection/package.py b/var/spack/repos/builtin/packages/gobject-introspection/package.py index 3e6e32de13..fd0d5881be 100644 --- a/var/spack/repos/builtin/packages/gobject-introspection/package.py +++ b/var/spack/repos/builtin/packages/gobject-introspection/package.py @@ -92,6 +92,12 @@ class GobjectIntrospection(MesonPackage, AutotoolsPackage): when="@:1.63.1", ) + # https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/361 + # https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/395 + conflicts( + "^python@3.12:", + msg="gobject-introspection still uses distutils which was removed in Python 3.12", + ) conflicts( "^python@3.11:", when="@:1.60", -- cgit v1.2.3-70-g09d2