summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/gobject-introspection/package.py6
1 files changed, 6 insertions, 0 deletions
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",