python312Packages.scikit-survival: 0.23.1 -> 0.24.1 (#387138)

authored by Weijia Wang and committed by GitHub 85547aa0 504ee55f

+2 -5
+2 -5
pkgs/development/python-modules/scikit-survival/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "scikit-survival"; 22 - version = "0.23.1"; 23 pyproject = true; 24 25 src = fetchFromGitHub { 26 owner = "sebp"; 27 repo = "scikit-survival"; 28 tag = "v${version}"; 29 - hash = "sha256-6902chXALa73/kTJ5UwV4CrB7/7wn+QXKpp2ej/Dnk8="; 30 }; 31 32 nativeBuildInputs = [ ··· 49 50 nativeCheckInputs = [ pytestCheckHook ]; 51 52 - # can remove scikit-learn after 0.23.1 53 postPatch = '' 54 ln -s ${lib.getInclude eigen}/include/eigen3/Eigen \ 55 sksurv/linear_model/src/eigen 56 - sed -i -e 's/numpy>=2.0.0/numpy/' \ 57 - -e 's/scikit-learn~=1.4.0/scikit-learn/' pyproject.toml 58 ''; 59 60 # Hack needed to make pytest + cython work
··· 19 20 buildPythonPackage rec { 21 pname = "scikit-survival"; 22 + version = "0.24.1"; 23 pyproject = true; 24 25 src = fetchFromGitHub { 26 owner = "sebp"; 27 repo = "scikit-survival"; 28 tag = "v${version}"; 29 + hash = "sha256-El5q2eE6wJKg/8rcFZPZQl7MVxw1jMsggjiCJHj7il8="; 30 }; 31 32 nativeBuildInputs = [ ··· 49 50 nativeCheckInputs = [ pytestCheckHook ]; 51 52 postPatch = '' 53 ln -s ${lib.getInclude eigen}/include/eigen3/Eigen \ 54 sksurv/linear_model/src/eigen 55 ''; 56 57 # Hack needed to make pytest + cython work