pythonPackages.scikitlearn: 0.17 -> 0.17.1
This commit is contained in:
parent
7177d4fa6b
commit
cc58339345
@ -18588,12 +18588,12 @@ in modules // {
|
|||||||
|
|
||||||
scikitlearn = buildPythonPackage rec {
|
scikitlearn = buildPythonPackage rec {
|
||||||
name = "scikit-learn-${version}";
|
name = "scikit-learn-${version}";
|
||||||
version = "0.17";
|
version = "0.17.1";
|
||||||
disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
|
disabled = stdenv.isi686; # https://github.com/scikit-learn/scikit-learn/issues/5534
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://github.com/scikit-learn/scikit-learn/archive/${version}.tar.gz";
|
url = "https://pypi.python.org/packages/source/s/scikit-learn/${name}.tar.gz";
|
||||||
sha256 = "9946ab26bec8ba771a366c6c496514e37da88b9cb4cd05b3bb1c031eb1da1168";
|
sha256 = "9f4cf58e57d81783289fc503caaed1f210bab49b7a6f680bf3c04b1e0a96e5f0";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
|
buildInputs = with self; [ nose pillow pkgs.gfortran pkgs.glibcLocales ];
|
||||||
@ -18601,13 +18601,6 @@ in modules // {
|
|||||||
|
|
||||||
LC_ALL="en_US.UTF-8";
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
# Exclude "test_image.py" because the Lena function/image was removed from SciPy since 0.17
|
|
||||||
# Should be fixed in next release.
|
|
||||||
# Using the -I switch broke nosetests...?
|
|
||||||
patchPhase = ''
|
|
||||||
rm sklearn/feature_extraction/tests/test_image.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/
|
HOME=$TMPDIR OMP_NUM_THREADS=1 nosetests $out/${python.sitePackages}/sklearn/
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user