From c91a5f81970a6bc8398b4aef810098a586f6542ead877314b84421c6808a6887 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 10 May 2025 11:43:23 +0000 Subject: [PATCH] - Remove python-3.3.0b1-test-posix_fadvise.patch (not needed since kernel 3.6-rc1) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=113 --- python-3.3.0b1-test-posix_fadvise.patch | 15 --------------- python312.changes | 6 ++++++ python312.spec | 2 -- 3 files changed, 6 insertions(+), 17 deletions(-) delete mode 100644 python-3.3.0b1-test-posix_fadvise.patch diff --git a/python-3.3.0b1-test-posix_fadvise.patch b/python-3.3.0b1-test-posix_fadvise.patch deleted file mode 100644 index 0a6b091..0000000 --- a/python-3.3.0b1-test-posix_fadvise.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- - Lib/test/test_posix.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/Lib/test/test_posix.py -+++ b/Lib/test/test_posix.py -@@ -437,7 +437,7 @@ class PosixTester(unittest.TestCase): - def test_posix_fadvise(self): - fd = os.open(os_helper.TESTFN, os.O_RDONLY) - try: -- posix.posix_fadvise(fd, 0, 0, posix.POSIX_FADV_WILLNEED) -+ posix.posix_fadvise(fd, 0, 0, posix.POSIX_FADV_RANDOM) - finally: - os.close(fd) - diff --git a/python312.changes b/python312.changes index 75adb3b..9924238 100644 --- a/python312.changes +++ b/python312.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat May 10 11:38:25 UTC 2025 - Matej Cepl + +- Remove python-3.3.0b1-test-posix_fadvise.patch (not needed + since kernel 3.6-rc1) + ------------------------------------------------------------------- Tue Apr 29 19:26:57 UTC 2025 - Matej Cepl diff --git a/python312.spec b/python312.spec index d530a50..7f463b7 100644 --- a/python312.spec +++ b/python312.spec @@ -161,8 +161,6 @@ Patch02: F00251-change-user-install-location.patch Patch07: python-3.3.0b1-localpath.patch # replace DATE, TIME and COMPILER by fixed definitions to aid reproducible builds Patch08: python-3.3.0b1-fix_date_time_compiler.patch -# POSIX_FADV_WILLNEED throws EINVAL. Use a different constant in test -Patch09: python-3.3.0b1-test-posix_fadvise.patch # Raise timeout value for test_subprocess Patch15: subprocess-raise-timeout.patch # PATCH-FEATURE-UPSTREAM bpo-31046_ensurepip_honours_prefix.patch bpo#31046 mcepl@suse.com