mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #312738 from bcdarwin/python3-skorch-unbreak
python311Packages.skorch: unbreak by patching out failing test
This commit is contained in:
commit
993cd40eb4
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user