Compare commits

...
Sign in to create a new pull request.

21 commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
932fa34f97 Add patch to fix build
... (rhbz#2385442)
2025-10-31 12:36:14 +01:00
Python Maint
78da716688 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:55:27 +02:00
Python Maint
e085788a2a Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 13:23:35 +02:00
Fedora Release Engineering
a8696ba24f Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 07:02:39 +00:00
Python Maint
3896f3a49a Rebuilt for Python 3.14 2025-06-03 15:33:09 +02:00
Zbigniew Jędrzejewski-Szmek
7cb38b4c62 Version 1.11.3
... (rhbz#2366962)

- Just minor fixes
2025-05-19 11:47:58 +02:00
Fedora Release Engineering
209b2f0f85 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 12:36:13 +00:00
Fedora Release Engineering
a08a5e223d Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 10:06:21 +00:00
Jonathan Wright
3ff014b945 update to 1.11.2 rhbz#2294171 2024-06-25 15:12:36 -05:00
Python Maint
caafb063cb Rebuilt for Python 3.13 2024-06-08 08:08:30 +02:00
Fedora Release Engineering
95112fa955 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 02:10:05 +00:00
Fedora Release Engineering
e8d8e130cb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 23:53:53 +00:00
Zbigniew Jędrzejewski-Szmek
cc348ddb01 Convert license tag to SPDX 2023-11-21 18:13:06 +01:00
Fedora Release Engineering
5ec9720778 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 08:01:53 +00:00
Python Maint
845a97db6f Rebuilt for Python 3.12 2023-06-14 18:11:01 +02:00
Zbigniew Jędrzejewski-Szmek
1114febfbe Version 1.11.1
... (rhbz#2152011)
2023-02-21 15:36:24 +01:00
jonathanspw
f3307e6f50 update sources 2023-01-29 03:32:39 -06:00
jonathanspw
3063863af9 update to 1.11.0 2023-01-29 03:32:05 -06:00
Fedora Release Engineering
ac3ba0bde8 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 11:49:35 +00:00
Fedora Release Engineering
f4947a3ef8 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 16:59:25 +00:00
Python Maint
638a8d793a Rebuilt for Python 3.11 2022-06-13 18:56:00 +02:00
3 changed files with 36 additions and 6 deletions

View file

@ -0,0 +1,30 @@
From ed3998803650bec0666c3ca458df76fcd9293417 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
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 "<doctest blosc.toplevel.compress_ptr[5]>", line 1, in <module>
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

View file

@ -1,12 +1,14 @@
Name: python-blosc
Summary: Python wrapper for the Blosc high performance compressor
Version: 1.10.6
Version: 1.11.3
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
Patch: 0001-docs-update-example-for-newer-numpy.patch
BuildRequires: gcc
BuildRequires: blosc-devel >= 1.16.0
BuildRequires: python%{python3_pkgversion}-devel
@ -30,8 +32,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 +51,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

View file

@ -1 +1 @@
SHA512 (blosc-1.10.6.tar.gz) = e283b132ebb91e7ce362ec65a1d6760e3793046371ea545a9e842372084182bcc194c3a0e1cb20914de58554063995a238ea0a129214731689e8cd5f4203d3ed
SHA512 (blosc-1.11.3.tar.gz) = fc82b7b100d306965874868b2a0b1b6a9b865f1ba86ce65546aeb8212ba5085ef7a565f46ac3b40f648641d449d9f5265087ca8670075221ba8018dc8efd7be4