diff --git a/python315.changes b/python315.changes index e49badb..1f08f68 100644 --- a/python315.changes +++ b/python315.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 7 17:12:05 UTC 2026 - Matej Cepl + +- Add skip-test_thread_time.patch to skip + test.test_time.TimeTestCase.test_thread_time on s390x + (gh#python/cpython#143528). + ------------------------------------------------------------------- Mon Jan 5 17:23:03 UTC 2026 - Matej Cepl diff --git a/python315.spec b/python315.spec index 95925f4..c870f10 100644 --- a/python315.spec +++ b/python315.spec @@ -224,6 +224,9 @@ Patch40: fix-test-recursion-limit-15.6.patch Patch41: bsc1243155-sphinx-non-determinism.patch # PATCH-FIX-OPENSUSE gh139257-Support-docutils-0.22.patch gh#python/cpython#139257 daniel.garcia@suse.com Patch42: gh139257-Support-docutils-0.22.patch +# PATCH-FIX-UPSTREAM skip-test_thread_time.patch gh#python/cpython#143528 mcepl@suse.com +# skip test.test_time.TimeTestCase.test_thread_time on s390x +Patch43: skip-test_thread_time.patch #### Python 3.15 DEVELOPMENT PATCHES BuildRequires: autoconf-archive BuildRequires: automake diff --git a/skip-test_thread_time.patch b/skip-test_thread_time.patch new file mode 100644 index 0000000..3dd73fd --- /dev/null +++ b/skip-test_thread_time.patch @@ -0,0 +1,16 @@ +--- + Lib/test/test_time.py | 1 + + 1 file changed, 1 insertion(+) + +Index: Python-3.15.0a3/Lib/test/test_time.py +=================================================================== +--- Python-3.15.0a3.orig/Lib/test/test_time.py 2026-01-06 16:57:59.278632516 +0100 ++++ Python-3.15.0a3/Lib/test/test_time.py 2026-01-07 18:10:25.621075073 +0100 +@@ -570,6 +570,7 @@ + self.assertTrue(info.monotonic) + self.assertFalse(info.adjustable) + ++ @unittest.skipIf(platform.processor() == 's390x', "Fails on s390x, gh#python/cpython#143528") + def test_thread_time(self): + if not hasattr(time, 'thread_time'): + if sys.platform.startswith(('linux', 'android', 'win')):