From ac3ba0bde874d30a632746f06cb8c8a9234c1d60 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 11:49:35 +0000 Subject: [PATCH 01/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 3063863af94bc0b5dc5611d3d7e2ae1e63ba795a Mon Sep 17 00:00:00 2001 From: jonathanspw Date: Sun, 29 Jan 2023 03:32:05 -0600 Subject: [PATCH 02/19] update to 1.11.0 --- python-blosc.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/python-blosc.spec b/python-blosc.spec index 3bbbfa2..c43e732 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -1,6 +1,6 @@ Name: python-blosc Summary: Python wrapper for the Blosc high performance compressor -Version: 1.10.6 +Version: 1.11.0 Release: %autorelease License: MIT URL: https://github.com/Blosc/python-blosc @@ -30,8 +30,6 @@ Requires: blosc%{_isa} >= 1.16.0 %prep %autosetup -p1 -# Remove bundled copy -rm cpuinfo.py # Overwrite setup.py with the last version that does not use skbuild and cmake cp %{SOURCE1} . @@ -51,7 +49,7 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %__python3 -c 'import sys, blosc; sys %files -n python%{python3_pkgversion}-blosc %{python3_sitearch}/blosc/ %{python3_sitearch}/blosc-%{version}*-py*.egg-info -%license LICENSES/BLOSC.txt +%license LICENSE.txt %doc README.rst RELEASE_NOTES.rst %changelog From f3307e6f500265362f852d3f4d023e77f143f2f5 Mon Sep 17 00:00:00 2001 From: jonathanspw Date: Sun, 29 Jan 2023 03:32:39 -0600 Subject: [PATCH 03/19] update sources --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index cf7acb1..ee3a66b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (blosc-1.10.6.tar.gz) = e283b132ebb91e7ce362ec65a1d6760e3793046371ea545a9e842372084182bcc194c3a0e1cb20914de58554063995a238ea0a129214731689e8cd5f4203d3ed +SHA512 (blosc-1.11.0.tar.gz) = 94c6f470b9f6e8d1fec0e44709e84582cd595291dddcd07ea174665a6fc12e029c6f0c781c8e506e95d4f9ee9fc27cbbfb5bc2789f341df3e84f342626dcfdb0 From 1114febfbe0c36b299e271ac9bb30ab65ed579ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 21 Feb 2023 15:36:24 +0100 Subject: [PATCH 04/19] Version 1.11.1 ... (rhbz#2152011) --- python-blosc.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-blosc.spec b/python-blosc.spec index c43e732..f308e11 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -1,6 +1,6 @@ Name: python-blosc Summary: Python wrapper for the Blosc high performance compressor -Version: 1.11.0 +Version: 1.11.1 Release: %autorelease License: MIT URL: https://github.com/Blosc/python-blosc diff --git a/sources b/sources index ee3a66b..2f861a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (blosc-1.11.0.tar.gz) = 94c6f470b9f6e8d1fec0e44709e84582cd595291dddcd07ea174665a6fc12e029c6f0c781c8e506e95d4f9ee9fc27cbbfb5bc2789f341df3e84f342626dcfdb0 +SHA512 (blosc-1.11.1.tar.gz) = 21f8a697a3a902860a6ed72233984cf00c464ec0ddde9842a0c24b1e8e5ec4dd57b872096445a873d162d7529cba5c3666ba2a3ee3f9b1b18107d9636011281c From 845a97db6f8928e889a714a7315fc59371588a82 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 14 Jun 2023 18:11:01 +0200 Subject: [PATCH 05/19] Rebuilt for Python 3.12 From 5ec97207781277f76c802b85d03ccee8b0e55efa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 08:01:53 +0000 Subject: [PATCH 06/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering From cc348ddb015a558d3a9a1a316e21f9102b7ef999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 21 Nov 2023 18:13:06 +0100 Subject: [PATCH 07/19] Convert license tag to SPDX --- python-blosc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-blosc.spec b/python-blosc.spec index f308e11..7030805 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -2,7 +2,7 @@ Name: python-blosc Summary: Python wrapper for the Blosc high performance compressor Version: 1.11.1 Release: %autorelease -License: MIT +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 From e8d8e130cb02a6a063128d30557880fc7a65cd81 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 23:53:53 +0000 Subject: [PATCH 08/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 95112fa9552b740094bd1aea2acd4ad52efb9fc7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 02:10:05 +0000 Subject: [PATCH 09/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From caafb063cb63368e2520a573bbc1f5ca47d38871 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 8 Jun 2024 08:08:30 +0200 Subject: [PATCH 10/19] Rebuilt for Python 3.13 From 3ff014b945a8b16e5130f41b255415e95e1db4b7 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Tue, 25 Jun 2024 15:11:01 -0500 Subject: [PATCH 11/19] update to 1.11.2 rhbz#2294171 --- python-blosc.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-blosc.spec b/python-blosc.spec index 7030805..bb0e140 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -1,6 +1,6 @@ Name: python-blosc Summary: Python wrapper for the Blosc high performance compressor -Version: 1.11.1 +Version: 1.11.2 Release: %autorelease License: BSD-3-Clause URL: https://github.com/Blosc/python-blosc diff --git a/sources b/sources index 2f861a0..ed0ab54 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (blosc-1.11.1.tar.gz) = 21f8a697a3a902860a6ed72233984cf00c464ec0ddde9842a0c24b1e8e5ec4dd57b872096445a873d162d7529cba5c3666ba2a3ee3f9b1b18107d9636011281c +SHA512 (blosc-1.11.2.tar.gz) = 56a53828669ac9d1452b247b8aad6bdfcb71ecffe9b8c7723e4405825704506946f150f54633b7e0886160255e5619c698b97847963c909e14c97808c04f39ab From a08a5e223dcfa145905410b553c34c088c9f6763 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 10:06:21 +0000 Subject: [PATCH 12/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 209b2f0f85d137f18667884e8d517dafb936765b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 12:36:13 +0000 Subject: [PATCH 13/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 7cb38b4c626efc39b57ae85efab6bbce2b63fd02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 19 May 2025 11:47:58 +0200 Subject: [PATCH 14/19] Version 1.11.3 ... (rhbz#2366962) - Just minor fixes --- python-blosc.spec | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-blosc.spec b/python-blosc.spec index bb0e140..ff76a40 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -1,6 +1,6 @@ Name: python-blosc Summary: Python wrapper for the Blosc high performance compressor -Version: 1.11.2 +Version: 1.11.3 Release: %autorelease License: BSD-3-Clause URL: https://github.com/Blosc/python-blosc diff --git a/sources b/sources index ed0ab54..5a5fb48 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (blosc-1.11.2.tar.gz) = 56a53828669ac9d1452b247b8aad6bdfcb71ecffe9b8c7723e4405825704506946f150f54633b7e0886160255e5619c698b97847963c909e14c97808c04f39ab +SHA512 (blosc-1.11.3.tar.gz) = fc82b7b100d306965874868b2a0b1b6a9b865f1ba86ce65546aeb8212ba5085ef7a565f46ac3b40f648641d449d9f5265087ca8670075221ba8018dc8efd7be4 From 3896f3a49a1edd8912ebd51e49ccdcffedbe388c Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 15:33:09 +0200 Subject: [PATCH 15/19] Rebuilt for Python 3.14 From a8696ba24fd597376dde8cdbd6e1547747df2d19 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 07:02:39 +0000 Subject: [PATCH 16/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From e085788a2afbc1876345b10e03634ef77a96b202 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:23:35 +0200 Subject: [PATCH 17/19] Rebuilt for Python 3.14.0rc2 bytecode From 78da716688ffc7909c9c181bad4e8ee0cb72c766 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:55:27 +0200 Subject: [PATCH 18/19] Rebuilt for Python 3.14.0rc3 bytecode From 932fa34f9784e799284a7818668124e5f8956164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 31 Oct 2025 12:36:14 +0100 Subject: [PATCH 19/19] Add patch to fix build ... (rhbz#2385442) --- ...-docs-update-example-for-newer-numpy.patch | 30 +++++++++++++++++++ python-blosc.spec | 2 ++ 2 files changed, 32 insertions(+) create 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 new file mode 100644 index 0000000..e46338a --- /dev/null +++ b/0001-docs-update-example-for-newer-numpy.patch @@ -0,0 +1,30 @@ +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 ff76a40..4e93d3a 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -7,6 +7,8 @@ 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 + BuildRequires: gcc BuildRequires: blosc-devel >= 1.16.0 BuildRequires: python%{python3_pkgversion}-devel