From 7277f3342b878bc63e23dc52d2b513d8cc12cf432628bad635503ee3d0708d29 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 17 Mar 2025 12:10:54 +0000 Subject: [PATCH] - Skip test_elif_deep on s390x arch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=120 --- python-Jinja2.changes | 5 +++++ python-Jinja2.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-Jinja2.changes b/python-Jinja2.changes index 5c8feee..9944b86 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 17 11:59:32 UTC 2025 - Daniel Garcia + +- Skip test_elif_deep on s390x arch + ------------------------------------------------------------------- Mon Mar 10 08:46:26 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 52df597..905db0d 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -72,6 +72,10 @@ popd # Test broken with latest version of MarkupSafe (2.1.4) # gh#pallets/jinja#1930, gh#pallets/markupsafe#417 donttest="test_striptags" +# Test fails in s390x with maximum recursion depth exceeded during compilation +%if "%{_arch}" == "s390x" +donttest+=" or test_elif_deep" +%endif %pytest -W ignore:'Support for nose tests is deprecated' -k "not ($donttest)" %endif