Unverified Commit 993cd40e authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

python311Packages.skorch: unbreak by patching out failing test
parents 0142706e 082b2c1f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 = [