Merge pull request #312738 from bcdarwin/python3-skorch-unbreak

python311Packages.skorch: unbreak by patching out failing test
This commit is contained in:
Weijia Wang 2024-05-19 00:50:17 +02:00 committed by GitHub
commit 993cd40eb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 = [