From fc6f06127cff9fe3e464b5be8c92ea08a679b620 Mon Sep 17 00:00:00 2001 From: Khalid Abu Shawarib Date: Sun, 10 Dec 2023 21:57:09 +0000 Subject: [PATCH] build: Make packaging module required Python module packaging is required since https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3740, so mark it as dependency in meson. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b968102b2..7981c90e9 100644 --- a/meson.build +++ b/meson.build @@ -2376,7 +2376,7 @@ endif glib_conf.set('HAVE_PROC_SELF_CMDLINE', have_proc_self_cmdline) -python = import('python').find_installation() +python = import('python').find_installation(modules: ['packaging']) # used for '#!/usr/bin/env ' python_name = 'python3'