Fixes a "ModuleNotFoundError: No module named 'markupsafe'" when
starting piglit.
The hard dependency was introduced in version 1.2.0.

Fixes: 457811ecd2a0 ("python3-mako: version bump 1.0.6 -> 1.3.2")
Signed-off-by: Philipp Zabel <[email protected]>
---
 rules/python3-mako.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/python3-mako.in b/rules/python3-mako.in
index b6042c519d34..ec7adf79a65f 100644
--- a/rules/python3-mako.in
+++ b/rules/python3-mako.in
@@ -6,6 +6,7 @@ config PYTHON3_MAKO
        select PYTHON3
        select HOST_PYTHON3_PYBUILD
        select HOST_PYTHON3_WHEEL
+       select PYTHON3_MARKUPSAFE       if RUNTIME
        help
          Mako is a template library written in Python. It provides a
          familiar, non-XML syntax which compiles into Python modules
-- 
2.39.2


Reply via email to