From 33628219b2f344c7201dbbc5ab3e580daf776076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 21 Jan 2026 10:45:30 +0100 Subject: [PATCH] Version 1.11.4 ... (rhbz#2430647) --- ...-docs-update-example-for-newer-numpy.patch | 30 ------------------- python-blosc.spec | 4 +-- sources | 2 +- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 0001-docs-update-example-for-newer-numpy.patch diff --git a/0001-docs-update-example-for-newer-numpy.patch b/0001-docs-update-example-for-newer-numpy.patch deleted file mode 100644 index e46338a..0000000 --- a/0001-docs-update-example-for-newer-numpy.patch +++ /dev/null @@ -1,30 +0,0 @@ -From ed3998803650bec0666c3ca458df76fcd9293417 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Fri, 31 Oct 2025 12:33:57 +0100 -Subject: [PATCH] docs: update example for newer numpy - -File ".../usr/lib64/python3.14/site-packages/blosc/toplevel.py", line 515, in blosc.toplevel.compress_ptr -Failed example: - np_ans = numpy.fromstring(d, dtype=np_array.dtype) -Exception raised: - Traceback (most recent call last): - File "", line 1, in - np_ans = numpy.fromstring(d, dtype=np_array.dtype) - ValueError: The binary mode of fromstring is removed, use frombuffer instead ---- - blosc/toplevel.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/blosc/toplevel.py b/blosc/toplevel.py -index 4d2d4139af..3ef2327618 100644 ---- a/blosc/toplevel.py -+++ b/blosc/toplevel.py -@@ -513,7 +513,7 @@ def compress_ptr(address, items, typesize=8, clevel=9, shuffle=blosc.SHUFFLE, - >>> c = blosc.compress_ptr(np_array.__array_interface__['data'][0], \ - items, np_array.dtype.itemsize) - >>> d = blosc.decompress(c) -- >>> np_ans = numpy.fromstring(d, dtype=np_array.dtype) -+ >>> np_ans = numpy.frombuffer(d, dtype=np_array.dtype) - >>> bool((np_array == np_ans).all()) - True - diff --git a/python-blosc.spec b/python-blosc.spec index 86d6ac3..2c6c82c 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -1,14 +1,12 @@ Name: python-blosc Summary: Python wrapper for the Blosc high performance compressor -Version: 1.11.3 +Version: 1.11.4 Release: %autorelease License: BSD-3-Clause URL: https://github.com/Blosc/python-blosc Source0: https://github.com/Blosc/python-blosc/archive/v%{version}/blosc-%{version}.tar.gz Source1: https://raw.githubusercontent.com/Blosc/python-blosc/f3c5e341a2504a03c225f4f1d9066ccdf4bd31dd/setup.py -Patch: 0001-docs-update-example-for-newer-numpy.patch - # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} diff --git a/sources b/sources index 5a5fb48..19df9e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (blosc-1.11.3.tar.gz) = fc82b7b100d306965874868b2a0b1b6a9b865f1ba86ce65546aeb8212ba5085ef7a565f46ac3b40f648641d449d9f5265087ca8670075221ba8018dc8efd7be4 +SHA512 (blosc-1.11.4.tar.gz) = 52f5accc2ac710998d2e4345588fe3b7d16ed841b2cc17f77df4e95a0f1f30abd6293ca2b320baf71c9e4e7d5425107b1a718859b9cf8af80d45b457759cf744