Blame SOURCES/0001-Use-lowercase-float64-as-numpy-dtype.patch

544657
From cf4aa744be67583acb14b4471101b2b3e011f718 Mon Sep 17 00:00:00 2001
544657
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
544657
Date: Sun, 24 Jan 2021 16:36:21 +0100
544657
Subject: [PATCH] Use lowercase "float64" as numpy dtype
544657
544657
Float64 is gone with numpy 1.20:
544657
544657
>>> numpy.__version__
544657
'1.19.4'
544657
>>> [k for k in numpy.sctypeDict.keys() if str(k).lower().startswith('float')]
544657
['float16', 'Float16', 'float32', 'Float32', 'float64', 'Float64', 'float128', 'Float128', 'float_', 'float']
544657
544657
>>> numpy.__version__
544657
'1.20.0rc2'
544657
>>> [k for k in numpy.sctypeDict.keys() if str(k).lower().startswith('float')]
544657
['float16', 'float32', 'float64', 'float128', 'float_', 'float']
544657
---
544657
 tables/atom.py | 2 +-
544657
 1 file changed, 1 insertion(+), 1 deletion(-)
544657
544657
diff --git a/tables/atom.py b/tables/atom.py
544657
index 81d37c5483..0a25ddf360 100644
544657
--- a/tables/atom.py
544657
+++ b/tables/atom.py
544657
@@ -336,7 +336,7 @@ class Atom(metaclass=MetaAtom):
544657
             Traceback (most recent call last):
544657
             ...
544657
             ValueError: unknown NumPy scalar type: 'S5'
544657
-            >>> Atom.from_sctype('Float64')
544657
+            >>> Atom.from_sctype('float64')
544657
             Float64Atom(shape=(), dflt=0.0)
544657
 
544657
         """