pythonPackages.scikitlearn: apply max_iter patch from scikitlearn master (#43483)
See https://github.com/scikit-learn/scikit-learn/pull/10723 This fixes the build of `scikitlearn` on master and nixos-unstable. The issue is originally an upstream issue (see https://github.com/scikit-learn/scikit-learn/issues/10619) which was fixed on master and was mainly caused by changes to the environment. Closes #43466
This commit is contained in:
committed by
Robert Schütz
parent
4d6ad88fe2
commit
af17bfdedf
@@ -14,6 +14,10 @@ buildPythonPackage rec {
|
||||
sha256 = "5ca0ad32ee04abe0d4ba02c8d89d501b4e5e0304bdf4d45c2e9875a735b323a0";
|
||||
};
|
||||
|
||||
# basically https://github.com/scikit-learn/scikit-learn/pull/10723,
|
||||
# but rebased onto 0.19.1
|
||||
patches = [ ./n_iter-should-be-less-than-max_iter-using-lbgfs.patch ];
|
||||
|
||||
buildInputs = [ nose pillow gfortran glibcLocales ];
|
||||
propagatedBuildInputs = [ numpy scipy numpy.blas ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user