python.pkgs.scikitlearn: 0.21.3 -> 0.22.2.post1

This commit is contained in:
Timo Kaufmann 2020-05-10 20:41:49 +02:00
parent 47548caf3b
commit cd45ab076d

View file

@ -12,13 +12,13 @@
buildPythonPackage rec {
pname = "scikit-learn";
version = "0.21.3";
version = "0.22.2.post1";
# UnboundLocalError: local variable 'message' referenced before assignment
disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
src = fetchPypi {
inherit pname version;
sha256 = "eb9b8ebf59eddd8b96366428238ab27d05a19e89c5516ce294abc35cea75d003";
sha256 = "0z81n13dxvd6qwq5lsnzw2machmxbirhdhr73v90fi55ic9qslsp";
};
buildInputs = [
@ -41,15 +41,6 @@ buildPythonPackage rec {
];
checkInputs = [ pytest ];
patches = [
# Fixes tests by changing threshold of a test-case that broke
# with numpy versions >= 1.17. This should be removed for versions > 0.21.2.
( fetchpatch {
url = "https://github.com/scikit-learn/scikit-learn/commit/b730befc821caec5b984d9ff3aa7bc4bd7f4d9bb.patch";
sha256 = "0z36m05mv6d494qwq0688rgwa7c4bbnm5s2rcjlrp29fwn3fy1bv";
})
];
LC_ALL="en_US.UTF-8";
doCheck = !stdenv.isAarch64;