From ea5dafc77f2fc1ad8dfb1d29a6f9b2e178c498b2 Mon Sep 17 00:00:00 2001 From: Thomas VINCENT Date: Wed, 22 Jul 2020 10:36:14 +0200 Subject: [PATCH 1/2] Fix cython error with current cython master --- silx/math/colormap.pyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/silx/math/colormap.pyx b/silx/math/colormap.pyx index dde249dfb6..2495f3c5aa 100644 --- a/silx/math/colormap.pyx +++ b/silx/math/colormap.pyx @@ -453,6 +453,8 @@ def _cmap(data_types[:] data, :param nan_color: Color to use for NaN value. :return: The generated image """ + cdef image_types[:, ::1] output + # Proxy for calling the right implementation depending on data type if data_types in lut_types: # Use LUT implementation output = compute_cmap_with_lut( From 4b77c89451e82da5040e7fe903f02a584a700f55 Mon Sep 17 00:00:00 2001 From: Thomas VINCENT Date: Wed, 22 Jul 2020 10:41:27 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6c873ca091..e194827c93 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,13 +1,13 @@ Change Log ========== -0.13.1: 2020/07/21 +0.13.1: 2020/07/22 ------------------ Bug fix release: * `silx.gui.plot.dialog`: Fixed `ColormapDialog` custom range input (PR #3155) - +* Build: Fixed cython 3 compatibility (PR #3163). * Documentation: Update version number and changelog (PR #3156)