Merge pull request #211703 from dotlambda/cython-0.29.33
python310Packages.cython: 0.29.32 -> 0.29.33
This commit is contained in:
@@ -24,12 +24,12 @@ let
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "cython";
|
||||
version = "0.29.32";
|
||||
version = "0.29.33";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Cython";
|
||||
inherit version;
|
||||
hash = "sha256-hzPPR1i3kwTypOOev6xekjQbzke8zrJsElQ5iy+MGvc=";
|
||||
hash = "sha256-UEB2TEpNLOlko5XaJPDRrlgUSZXauSxrlvRMP01yKGo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -46,11 +46,7 @@ in buildPythonPackage rec {
|
||||
# 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)
|
||||
(fetchpatch {
|
||||
name = "trashcan.patch";
|
||||
url = "https://github.com/cython/cython/commit/f781880b6780117660b2026caadf4a6d7905722f.patch";
|
||||
sha256 = "sha256-SnjaJdBZxm3O5gJ5Dxut6+eeVtZv+ygUUNwAwgoiFxg=";
|
||||
})
|
||||
./trashcan.patch
|
||||
# The above commit introduces custom trashcan macros, as well as
|
||||
# compiler changes to use them in Cython-emitted code. The latter
|
||||
# change is still useful, but the former has been upstreamed as of
|
||||
@@ -79,6 +75,7 @@ in buildPythonPackage rec {
|
||||
# doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/cython/cython/blob/${version}/CHANGES.rst";
|
||||
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
||||
homepage = "https://cython.org";
|
||||
license = lib.licenses.asl20;
|
||||
|
||||
Reference in New Issue
Block a user