python3Packages.cython: 0.29.24 -> 0.29.28

This commit is contained in:
Martin Weinelt 2022-03-13 00:18:17 +01:00
parent 570a349d1b
commit c06ee1153e

View file

@ -25,11 +25,11 @@ let
in buildPythonPackage rec {
pname = "Cython";
version = "0.29.24";
version = "0.29.28";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zfBNB8NgCGDowuuq1Oj1KsP+shJFPBdkpJrAjIJ+hEM=";
sha256 = "sha256-1vrCNCgCww5RQmgo/ghP9N6xszhzZ8+Yl2uy5ktvjkU=";
};
nativeBuildInputs = [
@ -44,13 +44,6 @@ in buildPythonPackage rec {
LC_ALL = "en_US.UTF-8";
patches = [
# https://github.com/cython/cython/issues/2752, needed by sage (https://trac.sagemath.org/ticket/26855) and up to be included in 0.30
(fetchpatch {
name = "non-int-conversion-to-pyhash.patch";
url = "https://github.com/cython/cython/commit/28251032f86c266065e4976080230481b1a1bb29.patch";
sha256 = "19rg7xs8gr90k3ya5c634bs8gww1sxyhdavv07cyd2k71afr83gy";
})
# backport Cython 3.0 trashcan support (https://github.com/cython/cython/pull/2842) to 0.X series.
# it does not affect Python code unless the code explicitly uses the feature.
# trashcan support is needed to avoid stack overflows during object deallocation in sage (https://trac.sagemath.org/ticket/27267)