diff --git a/python315.changes b/python315.changes index f7b15e0..7251e17 100644 --- a/python315.changes +++ b/python315.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 11 23:49:02 UTC 2026 - Matej Cepl + +- Add skip-test_array_alignment.patch skipping failing test + test.test_buffer.TestBufferProtocol.test_array_alignment + (gh#python/cpython#144725). + ------------------------------------------------------------------- Wed Feb 11 20:26:47 UTC 2026 - Matej Cepl diff --git a/python315.spec b/python315.spec index 551000f..2b78fc0 100644 --- a/python315.spec +++ b/python315.spec @@ -225,6 +225,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_array_alignment.patch gh#python/cpython#144725 mcepl@suse.com +# skip failing test +Patch43: skip-test_array_alignment.patch #### Python 3.15 DEVELOPMENT PATCHES BuildRequires: autoconf-archive BuildRequires: automake diff --git a/skip-test_array_alignment.patch b/skip-test_array_alignment.patch new file mode 100644 index 0000000..b19bfa5 --- /dev/null +++ b/skip-test_array_alignment.patch @@ -0,0 +1,16 @@ +--- + Lib/test/test_buffer.py | 1 + + 1 file changed, 1 insertion(+) + +Index: Python-3.15.0a6/Lib/test/test_buffer.py +=================================================================== +--- Python-3.15.0a6.orig/Lib/test/test_buffer.py 2026-02-12 00:38:25.599265172 +0100 ++++ Python-3.15.0a6/Lib/test/test_buffer.py 2026-02-12 00:46:24.303091378 +0100 +@@ -4463,6 +4463,7 @@ + self.assertEqual([ptr % align for ptr in ptrs], [0]*len(ptrs)) + + @support.cpython_only ++ @unittest.skip('test fails; gh#python/cpython#144725') + @unittest.skipIf(_testcapi is None, "requires _testcapi") + def test_array_alignment(self): + # gh-140557: pointer alignment of buffers including empty allocation