python3Packages.scikit-learn: 0.24.1 -> 1.0.1
This commit is contained in:
parent
4a557a8e5f
commit
5967ec6c4c
@ -19,23 +19,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-learn";
|
||||
version = "0.24.1";
|
||||
version = "1.0.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "oDNKGALmTWVgIsO/q1anP71r9LEpg0PzaIryFRgQu98=";
|
||||
sha256 = "sha256-rCyp27dU1hz+HIO6hINJjvlR0puT7AnW8AKEfyEKmdo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# This patch fixes compatibility with numpy 1.20. It was merged before 0.24.1 was released,
|
||||
# but for some reason was not included in the 0.24.1 release tarball.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/scikit-learn/scikit-learn/commit/e7ef22c3ba2334cb3b476e95d7c083cf6b48ce56.patch";
|
||||
sha256 = "174554k1pbf92bj7wgq0xjj16bkib32ailyhwavdxaknh4bd9nmv";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
pillow
|
||||
glibcLocales
|
||||
|
Loading…
Reference in New Issue
Block a user