Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-blosc for openSUSE:Factory checked in at 2025-09-02 17:59:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-blosc (Old) and /work/SRC/openSUSE:Factory/.python-blosc.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-blosc" Tue Sep 2 17:59:28 2025 rev:26 rq:1302354 version:1.11.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-blosc/python-blosc.changes 2025-07-14 10:57:06.814091082 +0200 +++ /work/SRC/openSUSE:Factory/.python-blosc.new.1977/python-blosc.changes 2025-09-02 18:00:42.740525195 +0200 @@ -1,0 +2,6 @@ +Tue Sep 2 08:42:43 UTC 2025 - Marius Grossu <[email protected]> + +- Add the use-frombuffer.patch: It fix the building due to binary mode of fromstring being removed + (gh#Blosc/python-blosc#342) + +------------------------------------------------------------------- New: ---- use-frombuffer.patch ----------(New B)---------- New: - Add the use-frombuffer.patch: It fix the building due to binary mode of fromstring being removed (gh#Blosc/python-blosc#342) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-blosc.spec ++++++ --- /var/tmp/diff_new_pack.hkEYA2/_old 2025-09-02 18:00:43.536558640 +0200 +++ /var/tmp/diff_new_pack.hkEYA2/_new 2025-09-02 18:00:43.540558809 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-blosc # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ Group: Development/Languages/Python URL: https://github.com/Blosc/python-blosc Source: https://files.pythonhosted.org/packages/source/b/blosc/blosc-%{version}.tar.gz +# PATCH-FIX-UPSTREAM use-frombuffer.patch gh#Blosc/python-blosc#342 +Patch0: use-frombuffer.patch BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module scikit-build >= 0.11.1} ++++++ use-frombuffer.patch ++++++ >From c858a7805946d4002dbd8ab4a2f7416b7a0aefdb Mon Sep 17 00:00:00 2001 From: Marius Grossu <[email protected]> Date: Mon, 1 Sep 2025 12:56:34 +0200 Subject: [PATCH] Change fromstring to frombuffer because the binary mode was removed --- blosc/toplevel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blosc/toplevel.py b/blosc/toplevel.py index 4d2d413..3ef2327 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
