Update to 1.3.2
This commit is contained in:
parent
a8a9e5fce7
commit
c657fe4594
4 changed files with 7 additions and 39 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,3 +4,4 @@
|
|||
/blosc-1.2.5.tar.gz
|
||||
/blosc-1.2.7.tar.gz
|
||||
/blosc-1.2.8.tar.gz
|
||||
/blosc-1.3.2.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
From b49ff10a169a0c8e862a5dbe0f4b291cef17f9d0 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
||||
Date: Sat, 13 Feb 2016 17:35:36 -0500
|
||||
Subject: [PATCH] tests: fix error with new numpy
|
||||
|
||||
ERROR: test_pack_array_exceptions (blosc.test.TestCodec)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "/builddir/build/BUILDROOT/python-blosc-1.2.8-2.fc24.i386/usr/lib/python2.7/site-packages/blosc/test.py", line 195, in test_pack_array_exceptions
|
||||
strides=(8, 0))[0]
|
||||
File "/usr/lib/python2.7/site-packages/numpy/lib/stride_tricks.py", line 48, in as_strided
|
||||
array = np.asarray(DummyArray(interface, base=x))
|
||||
File "/usr/lib/python2.7/site-packages/numpy/core/numeric.py", line 482, in asarray
|
||||
return array(a, dtype, copy=False, order=order)
|
||||
TypeError: 'float' object cannot be interpreted as an index
|
||||
---
|
||||
blosc/test.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/blosc/test.py b/blosc/test.py
|
||||
index 8bf9c48600..ce96f5ec6f 100644
|
||||
--- a/blosc/test.py
|
||||
+++ b/blosc/test.py
|
||||
@@ -185,7 +185,7 @@ class TestCodec(unittest.TestCase):
|
||||
self.assertRaises(TypeError, blosc.pack_array, 'abc')
|
||||
self.assertRaises(TypeError, blosc.pack_array, 1.0)
|
||||
|
||||
- items = (blosc.BLOSC_MAX_BUFFERSIZE / 8) + 1
|
||||
+ items = (blosc.BLOSC_MAX_BUFFERSIZE // 8) + 1
|
||||
one = numpy.ones(1, dtype=numpy.int64)
|
||||
self.assertRaises(ValueError, blosc.pack_array, one, clevel=-1)
|
||||
self.assertRaises(ValueError, blosc.pack_array, one, clevel=10)
|
||||
--
|
||||
2.5.0
|
||||
|
||||
|
|
@ -7,12 +7,11 @@
|
|||
|
||||
Summary: Python wrapper for the Blosc high performance compressor
|
||||
Name: python-%{module}
|
||||
Version: 1.2.8
|
||||
Release: 3%{?dist}
|
||||
Version: 1.3.2
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
URL: https://github.com/FrancescAlted/python-blosc
|
||||
Source0: https://pypi.python.org/packages/source/b/%{module}/%{module}-%{version}.tar.gz
|
||||
Patch0: 0001-tests-fix-error-with-new-numpy.patch
|
||||
|
||||
BuildRequires: blosc-devel
|
||||
BuildRequires: python2-devel
|
||||
|
|
@ -76,6 +75,9 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} python3 -c 'import sys, blosc; sys.ex
|
|||
%doc README.rst RELEASE_NOTES.rst
|
||||
|
||||
%changelog
|
||||
* Mon May 16 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-1
|
||||
- Update to 1.3.2
|
||||
|
||||
* Mon May 16 2016 Orion Poplawski <orion@cora.nwra.com> - 1.2.8-3
|
||||
- Fix provides filter
|
||||
- Use %%python3_pkgversion for EPEL7 compatibility
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
d7f505adefd46fbdb50c7b608d5cbdf6 blosc-1.2.8.tar.gz
|
||||
d87100614b8423b542958ba1900c9e7b blosc-1.3.2.tar.gz
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue