python311Packages.skorch: unbreak by patching out failing test

This commit is contained in:
Ben Darwin 2024-05-18 16:30:30 -04:00
parent f15be70b71
commit 082b2c1fcf

View File

@ -2,6 +2,7 @@
, stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
, pythonOlder
, numpy
, scikit-learn
@ -26,6 +27,13 @@ buildPythonPackage rec {
hash = "sha256-39XVBlCmbg162z9uL84GZrU+v+M8waXbGdVV72ZYf84=";
};
# Remove at next skorch release:
patches = [ (fetchpatch {
name = "unbreak-tests-with-sklearn-1.4";
url = "https://github.com/skorch-dev/skorch/commit/1f7a779d0aa78589e17262c206f5775f2fcd75f8.diff";
hash = "sha256-X3SgjgDeq3PlBI13cC56LIL1dV1e+Z3tsBj9sz5pizo=";
}) ];
disabled = pythonOlder "3.8";
propagatedBuildInputs = [