Skip to content

Commit 85547aa

Browse files
authored
python312Packages.scikit-survival: 0.23.1 -> 0.24.1 (#387138)
2 parents 504ee55 + 6356ce5 commit 85547aa

File tree

1 file changed

+2
-5
lines changed
  • pkgs/development/python-modules/scikit-survival

1 file changed

+2
-5
lines changed

pkgs/development/python-modules/scikit-survival/default.nix

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919

2020
buildPythonPackage rec {
2121
pname = "scikit-survival";
22-
version = "0.23.1";
22+
version = "0.24.1";
2323
pyproject = true;
2424

2525
src = fetchFromGitHub {
2626
owner = "sebp";
2727
repo = "scikit-survival";
2828
tag = "v${version}";
29-
hash = "sha256-6902chXALa73/kTJ5UwV4CrB7/7wn+QXKpp2ej/Dnk8=";
29+
hash = "sha256-El5q2eE6wJKg/8rcFZPZQl7MVxw1jMsggjiCJHj7il8=";
3030
};
3131

3232
nativeBuildInputs = [
@@ -49,12 +49,9 @@ buildPythonPackage rec {
4949

5050
nativeCheckInputs = [ pytestCheckHook ];
5151

52-
# can remove scikit-learn after 0.23.1
5352
postPatch = ''
5453
ln -s ${lib.getInclude eigen}/include/eigen3/Eigen \
5554
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
5855
'';
5956

6057
# Hack needed to make pytest + cython work

0 commit comments

Comments
 (0)