python3Packages.scikitlearn: rename to scikit-learn

wip/little-gl
DavHau 3 years ago
parent a17bfa39ce
commit cd8f3e6c44
  1. 2
      nixos/modules/services/development/jupyter/default.nix
  2. 2
      nixos/modules/services/development/jupyterhub/default.nix
  3. 4
      pkgs/development/python-modules/batchgenerators/default.nix
  4. 4
      pkgs/development/python-modules/bayesian-optimization/default.nix
  5. 4
      pkgs/development/python-modules/cnvkit/default.nix
  6. 4
      pkgs/development/python-modules/dask-glm/default.nix
  7. 4
      pkgs/development/python-modules/dask-ml/default.nix
  8. 4
      pkgs/development/python-modules/dftfit/default.nix
  9. 4
      pkgs/development/python-modules/gensim/default.nix
  10. 4
      pkgs/development/python-modules/graspologic/default.nix
  11. 4
      pkgs/development/python-modules/hdbscan/default.nix
  12. 4
      pkgs/development/python-modules/hmmlearn/default.nix
  13. 4
      pkgs/development/python-modules/hyppo/default.nix
  14. 4
      pkgs/development/python-modules/ignite/default.nix
  15. 4
      pkgs/development/python-modules/imbalanced-learn/0.4.nix
  16. 4
      pkgs/development/python-modules/imbalanced-learn/default.nix
  17. 4
      pkgs/development/python-modules/kmapper/default.nix
  18. 4
      pkgs/development/python-modules/librosa/default.nix
  19. 4
      pkgs/development/python-modules/lightgbm/default.nix
  20. 4
      pkgs/development/python-modules/mlrose/default.nix
  21. 6
      pkgs/development/python-modules/mlxtend/default.nix
  22. 4
      pkgs/development/python-modules/mne-python/default.nix
  23. 6
      pkgs/development/python-modules/moviepy/default.nix
  24. 4
      pkgs/development/python-modules/nilearn/default.nix
  25. 4
      pkgs/development/python-modules/osmnx/default.nix
  26. 4
      pkgs/development/python-modules/persim/default.nix
  27. 4
      pkgs/development/python-modules/ppscore/default.nix
  28. 4
      pkgs/development/python-modules/pygbm/default.nix
  29. 4
      pkgs/development/python-modules/pynndescent/default.nix
  30. 4
      pkgs/development/python-modules/pytorch-metric-learning/default.nix
  31. 4
      pkgs/development/python-modules/qiskit-aqua/default.nix
  32. 4
      pkgs/development/python-modules/qiskit-ignis/default.nix
  33. 4
      pkgs/development/python-modules/ripser/default.nix
  34. 4
      pkgs/development/python-modules/scikit-bio/default.nix
  35. 0
      pkgs/development/python-modules/scikit-learn/0.20.nix
  36. 0
      pkgs/development/python-modules/scikit-learn/default.nix
  37. 4
      pkgs/development/python-modules/scikit-optimize/default.nix
  38. 4
      pkgs/development/python-modules/scikit-tda/default.nix
  39. 4
      pkgs/development/python-modules/seqeval/default.nix
  40. 4
      pkgs/development/python-modules/shap/default.nix
  41. 4
      pkgs/development/python-modules/sklearn-deap/default.nix
  42. 4
      pkgs/development/python-modules/skorch/default.nix
  43. 4
      pkgs/development/python-modules/textacy/default.nix
  44. 4
      pkgs/development/python-modules/umap-learn/default.nix
  45. 4
      pkgs/development/python-modules/vowpalwabbit/default.nix
  46. 4
      pkgs/development/python-modules/word2vec/default.nix
  47. 4
      pkgs/development/python-modules/xgboost/default.nix
  48. 4
      pkgs/top-level/python-packages.nix
  49. 2
      pkgs/top-level/python2-packages.nix

@ -131,7 +131,7 @@ in {
env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
ipykernel
pandas
scikitlearn
scikit-learn
]));
in {
displayName = "Python 3 for machine learning";

@ -117,7 +117,7 @@ in {
env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [
ipykernel
pandas
scikitlearn
scikit-learn
]));
in {
displayName = "Python 3 for machine learning";

@ -8,7 +8,7 @@
, numpy
, pillow
, scipy
, scikitlearn
, scikit-learn
, scikitimage
, threadpoolctl
}:
@ -28,7 +28,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
future numpy pillow scipy scikitlearn scikitimage threadpoolctl
future numpy pillow scipy scikit-learn scikitimage threadpoolctl
];
checkInputs = [ pytestCheckHook unittest2 ];

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, python
, scikitlearn
, scikit-learn
, scipy
, pytest
, isPy27
@ -21,7 +21,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
scikitlearn
scikit-learn
scipy
];

@ -6,7 +6,7 @@
, biopython
, numpy
, scipy
, scikitlearn
, scikit-learn
, pandas
, matplotlib
, reportlab
@ -42,7 +42,7 @@ buildPythonPackage rec {
biopython
numpy
scipy
scikitlearn
scikit-learn
pandas
matplotlib
reportlab

@ -7,7 +7,7 @@
, multipledispatch
, setuptools-scm
, scipy
, scikitlearn
, scikit-learn
, pytestCheckHook
}:
@ -22,7 +22,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ];
checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikitlearn ];
propagatedBuildInputs = [ cloudpickle dask numpy toolz multipledispatch scipy scikit-learn ];
meta = with lib; {
homepage = "https://github.com/dask/dask-glm/";

@ -6,7 +6,7 @@
, numpy, toolz # dask[array]
, numba
, pandas
, scikitlearn
, scikit-learn
, scipy
, dask-glm
, six
@ -39,7 +39,7 @@ buildPythonPackage rec {
numpy
packaging
pandas
scikitlearn
scikit-learn
scipy
six
toolz

@ -8,7 +8,7 @@
, pandas
, scipy
, numpy
, scikitlearn
, scikit-learn
, lammps-cython
, pymatgen-lammps
, pytestrunner
@ -34,7 +34,7 @@ buildPythonPackage rec {
pandas
scipy
numpy
scikitlearn
scikit-learn
lammps-cython
pymatgen-lammps
];

@ -5,7 +5,7 @@
, six
, scipy
, smart_open
, scikitlearn, testfixtures, unittest2
, scikit-learn, testfixtures, unittest2
, isPy3k
}:
@ -21,7 +21,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ smart_open numpy six scipy ];
checkInputs = [ scikitlearn testfixtures unittest2 ];
checkInputs = [ scikit-learn testfixtures unittest2 ];
# Two tests fail.
#

@ -8,7 +8,7 @@
, matplotlib
, networkx
, numpy
, scikitlearn
, scikit-learn
, scipy
, seaborn
}:
@ -31,7 +31,7 @@ buildPythonPackage rec {
matplotlib
networkx
numpy
scikitlearn
scikit-learn
scipy
seaborn
];

@ -5,7 +5,7 @@
, numpy
, pytestCheckHook
, scipy
, scikitlearn
, scikit-learn
, fetchPypi
, joblib
, six
@ -29,7 +29,7 @@ buildPythonPackage rec {
];
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [ numpy scipy scikitlearn joblib six ];
propagatedBuildInputs = [ numpy scipy scikit-learn joblib six ];
preCheck = ''
cd hdbscan/tests
rm __init__.py

@ -1,4 +1,4 @@
{ lib, fetchurl, buildPythonPackage, numpy, scikitlearn, setuptools_scm, cython, pytest }:
{ lib, fetchurl, buildPythonPackage, numpy, scikit-learn, setuptools_scm, cython, pytest }:
buildPythonPackage rec {
pname = "hmmlearn";
@ -10,7 +10,7 @@ buildPythonPackage rec {
};
buildInputs = [ setuptools_scm cython ];
propagatedBuildInputs = [ numpy scikitlearn ];
propagatedBuildInputs = [ numpy scikit-learn ];
checkInputs = [ pytest ];
checkPhase = ''

@ -4,7 +4,7 @@
, fetchFromGitHub
, pytestCheckHook , pytestcov , numba
, numpy
, scikitlearn
, scikit-learn
, scipy
, matplotlib
, seaborn
@ -26,7 +26,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numba
numpy
scikitlearn
scikit-learn
scipy
];

@ -8,7 +8,7 @@
, mock
, pytorch
, pynvml
, scikitlearn
, scikit-learn
, tqdm
}:
@ -24,7 +24,7 @@ buildPythonPackage rec {
};
checkInputs = [ pytestCheckHook matplotlib mock pytest_xdist ];
propagatedBuildInputs = [ pytorch scikitlearn tqdm pynvml ];
propagatedBuildInputs = [ pytorch scikit-learn tqdm pynvml ];
# runs succesfully in 3.9, however, async isn't correctly closed so it will fail after test suite.
doCheck = pythonOlder "3.9";

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, scikitlearn, pandas, nose, pytest }:
{ lib, buildPythonPackage, fetchPypi, scikit-learn, pandas, nose, pytest }:
buildPythonPackage rec {
pname = "imbalanced-learn";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "5bd9e86e40ce4001a57426541d7c79b18143cbd181e3330c1a3e5c5c43287083";
};
propagatedBuildInputs = [ scikitlearn ];
propagatedBuildInputs = [ scikit-learn ];
checkInputs = [ nose pytest pandas ];
checkPhase = ''
export HOME=$PWD

@ -4,7 +4,7 @@
, isPy27
, pandas
, pytestCheckHook
, scikitlearn
, scikit-learn
}:
buildPythonPackage rec {
@ -17,7 +17,7 @@ buildPythonPackage rec {
sha256 = "0a9xrw4qsh95g85pg2611hvj6xcfncw646si2icaz22haw1x410w";
};
propagatedBuildInputs = [ scikitlearn ];
propagatedBuildInputs = [ scikit-learn ];
checkInputs = [ pytestCheckHook pandas ];
preCheck = ''
export HOME=$TMPDIR

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, scikitlearn
, scikit-learn
, numpy
, scipy
, jinja2
@ -25,7 +25,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
scikitlearn
scikit-learn
numpy
scipy
jinja2

@ -4,7 +4,7 @@
, joblib
, matplotlib
, six
, scikitlearn
, scikit-learn
, decorator
, audioread
, resampy
@ -21,7 +21,7 @@ buildPythonPackage rec {
sha256 = "af0b9f2ed4bbf6aecbc448a4cd27c16453c397cb6bef0f0cfba0e63afea2b839";
};
propagatedBuildInputs = [ joblib matplotlib six scikitlearn decorator audioread resampy soundfile pooch ];
propagatedBuildInputs = [ joblib matplotlib six scikit-learn decorator audioread resampy soundfile pooch ];
# No tests
# 1. Internet connection is required

@ -4,7 +4,7 @@
, cmake
, numpy
, scipy
, scikitlearn
, scikit-learn
, llvmPackages ? null
}:
@ -39,7 +39,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
scipy
scikitlearn
scikit-learn
];
postConfigure = ''

@ -3,7 +3,7 @@
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, scikitlearn
, scikit-learn
, pytestCheckHook
, pytest-randomly
}:
@ -28,7 +28,7 @@ buildPythonPackage rec {
})
];
propagatedBuildInputs = [ scikitlearn ];
propagatedBuildInputs = [ scikit-learn ];
checkInputs = [ pytest-randomly pytestCheckHook ];
postPatch = ''

@ -5,7 +5,7 @@
, pytestCheckHook
, scipy
, numpy
, scikitlearn
, scikit-learn
, pandas
, matplotlib
, joblib
@ -33,7 +33,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
scipy
numpy
scikitlearn
scikit-learn
pandas
matplotlib
joblib
@ -45,7 +45,7 @@ buildPythonPackage rec {
license= licenses.bsd3;
maintainers = with maintainers; [ evax ];
platforms = platforms.unix;
# incompatible with nixpkgs scikitlearn version
# incompatible with nixpkgs scikit-learn version
broken = true;
};
}

@ -11,7 +11,7 @@
, matplotlib
, nibabel
, pandas
, scikitlearn
, scikit-learn
}:
buildPythonPackage rec {
@ -40,7 +40,7 @@ buildPythonPackage rec {
matplotlib
nibabel
pandas
scikitlearn
scikit-learn
];
preCheck = ''
export HOME=$TMP

@ -13,14 +13,14 @@
, advancedProcessing ? false
, opencv3 ? null
, scikitimage ? null
, scikitlearn ? null
, scikit-learn ? null
, scipy ? null
, matplotlib ? null
, youtube-dl ? null
}:
assert advancedProcessing -> (
opencv3 != null && scikitimage != null && scikitlearn != null
opencv3 != null && scikitimage != null && scikit-learn != null
&& scipy != null && matplotlib != null && youtube-dl != null);
buildPythonPackage rec {
@ -40,7 +40,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy decorator imageio imageio-ffmpeg tqdm requests proglog
] ++ (lib.optionals advancedProcessing [
opencv3 scikitimage scikitlearn scipy matplotlib youtube-dl
opencv3 scikitimage scikit-learn scipy matplotlib youtube-dl
]);
meta = with lib; {

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, matplotlib
, nibabel, numpy, pandas, scikitlearn, scipy, joblib, requests }:
, nibabel, numpy, pandas, scikit-learn, scipy, joblib, requests }:
buildPythonPackage rec {
pname = "nilearn";
@ -20,7 +20,7 @@ buildPythonPackage rec {
numpy
pandas
requests
scikitlearn
scikit-learn
scipy
];

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub, geopandas, descartes, matplotlib, networkx, numpy
, pandas, requests, Rtree, shapely, folium, scikitlearn, scipy}:
, pandas, requests, Rtree, shapely, folium, scikit-learn, scipy}:
buildPythonPackage rec {
pname = "osmnx";
@ -12,7 +12,7 @@ buildPythonPackage rec {
sha256 = "1k3y5kl4k93vxaxyanc040x44s2fyyc3m1ndy2j3kg0037z8ad4z";
};
propagatedBuildInputs = [ geopandas descartes matplotlib networkx numpy pandas requests Rtree shapely folium scikitlearn scipy ];
propagatedBuildInputs = [ geopandas descartes matplotlib networkx numpy pandas requests Rtree shapely folium scikit-learn scipy ];
# requires network
doCheck = false;

@ -6,7 +6,7 @@
, joblib
, matplotlib
, numpy
, scikitlearn
, scikit-learn
, scipy
, pytestCheckHook
}:
@ -26,7 +26,7 @@ buildPythonPackage rec {
joblib
matplotlib
numpy
scikitlearn
scikit-learn
scipy
];

@ -3,7 +3,7 @@
, fetchFromGitHub
, isPy27
, pandas
, scikitlearn
, scikit-learn
, pytestCheckHook
}:
@ -23,7 +23,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
pandas
scikitlearn
scikit-learn
];
meta = with lib; {

@ -4,7 +4,7 @@
, scipy
, numpy
, numba
, scikitlearn
, scikit-learn
, pytest
, pythonOlder
}:
@ -25,7 +25,7 @@ buildPythonPackage rec {
scipy
numpy
numba
scikitlearn
scikit-learn
];
checkInputs = [

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, nose
, scikitlearn
, scikit-learn
, scipy
, numba
, llvmlite
@ -19,7 +19,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
scikitlearn
scikit-learn
scipy
numba
llvmlite

@ -3,7 +3,7 @@
, fetchFromGitHub
, isPy27
, numpy
, scikitlearn
, scikit-learn
, pytestCheckHook
, pytorch
, torchvision
@ -26,7 +26,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
pytorch
scikitlearn
scikit-learn
torchvision
tqdm
];

@ -14,7 +14,7 @@
, qiskit-ignis
, qiskit-terra
, quandl
, scikitlearn
, scikit-learn
, yfinance
# Optional inputs
, withTorch ? false
@ -59,7 +59,7 @@ buildPythonPackage rec {
qiskit-terra
qiskit-ignis
quandl
scikitlearn
scikit-learn
yfinance
] ++ lib.optionals (withTorch) [ pytorch ]
++ lib.optionals (withPyscf) [ pyscf ]

@ -5,7 +5,7 @@
, python
, numpy
, qiskit-terra
, scikitlearn
, scikit-learn
, scipy
# Optional package inputs
, withVisualization ? false
@ -44,7 +44,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
qiskit-terra
scikitlearn
scikit-learn
scipy
] ++ lib.optionals (withCvx) [ cvxpy ]
++ lib.optionals (withVisualization) [ matplotlib ]

@ -5,7 +5,7 @@
, cython
, numpy
, scipy
, scikitlearn
, scikit-learn
, persim
, pytest
}:
@ -28,7 +28,7 @@ buildPythonPackage rec {
cython
numpy
scipy
scikitlearn
scikit-learn
persim
];

@ -12,7 +12,7 @@
, pandas
, scipy
, hdmedians
, scikitlearn
, scikit-learn
, coverage
, python
, isPy3k
@ -30,7 +30,7 @@ buildPythonPackage rec {
buildInputs = [ cython ];
checkInputs = [ coverage ];
propagatedBuildInputs = [ lockfile cachecontrol decorator ipython matplotlib natsort numpy pandas scipy hdmedians scikitlearn ];
propagatedBuildInputs = [ lockfile cachecontrol decorator ipython matplotlib natsort numpy pandas scipy hdmedians scikit-learn ];
# cython package not included for tests
doCheck = false;

@ -5,7 +5,7 @@
, matplotlib
, numpy
, scipy
, scikitlearn
, scikit-learn
, pyaml
, pytestCheckHook
}:
@ -26,7 +26,7 @@ buildPythonPackage rec {
matplotlib
numpy
scipy
scikitlearn
scikit-learn
pyaml
];

@ -3,7 +3,7 @@
, fetchFromGitHub
, numpy
, scipy
, scikitlearn
, scikit-learn
, matplotlib
, numba
, umap-learn
@ -32,7 +32,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
scipy
scikitlearn
scikit-learn
matplotlib
numba
umap-learn

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, numpy
, scikitlearn
, scikit-learn
, perl
, pytestCheckHook
}:
@ -27,7 +27,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
scikitlearn
scikit-learn
];
checkInputs = [

@ -5,7 +5,7 @@
, pytestCheckHook
, numpy
, scipy
, scikitlearn
, scikit-learn
, pandas
, tqdm
, slicer
@ -30,7 +30,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
scipy
scikitlearn
scikit-learn
pandas
tqdm
slicer

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, numpy, scipy, deap, scikitlearn, python }:
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, numpy, scipy, deap, scikit-learn, python }:
buildPythonPackage rec {
pname = "sklearn-deap";
@ -20,7 +20,7 @@ buildPythonPackage rec {
})
];
propagatedBuildInputs = [ numpy scipy deap scikitlearn ];
propagatedBuildInputs = [ numpy scipy deap scikit-learn ];
checkPhase = ''
${python.interpreter} test.py

@ -8,7 +8,7 @@
, numpy
, pandas
, pytorch
, scikitlearn
, scikit-learn
, scipy
, tabulate
, tqdm
@ -23,7 +23,7 @@ buildPythonPackage rec {
sha256 = "9910f97339e654c8d38e0075d87b735e69e5eb11db59c527fb36705b30c8d0a4";
};
propagatedBuildInputs = [ numpy pytorch scikitlearn scipy tabulate tqdm ];
propagatedBuildInputs = [ numpy pytorch scikit-learn scipy tabulate tqdm ];
checkInputs = [ pytest pytestcov flaky pandas pytestCheckHook ];
disabledTests = [

@ -9,7 +9,7 @@
, pyphen
, pytest
, requests
, scikitlearn
, scikit-learn
, scipy
, spacy
, srsly
@ -35,7 +35,7 @@ buildPythonPackage rec {
pyemd
pyphen
requests
scikitlearn
scikit-learn
scipy
spacy
srsly

@ -3,7 +3,7 @@
, fetchFromGitHub
, nose
, numpy
, scikitlearn
, scikit-learn
, scipy
, numba
, pynndescent
@ -24,7 +24,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
scikitlearn
scikit-learn
scipy
numba
pynndescent

@ -11,7 +11,7 @@
, pygments
, numpy
, scipy
, scikitlearn }:
, scikit-learn }:
buildPythonPackage rec {
pname = "vowpalwabbit";
@ -36,7 +36,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
scikitlearn
scikit-learn
scipy
];

@ -4,7 +4,7 @@
, fetchzip
, cython
, numpy
, scikitlearn
, scikit-learn
, six
, setuptools_scm
, gcc
@ -30,7 +30,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools_scm gcc ];
propagatedBuildInputs = [ cython numpy scikitlearn six ];
propagatedBuildInputs = [ cython numpy scikit-learn six ];
checkInputs = [ pytest pytestcov ];

@ -2,7 +2,7 @@
, pytestCheckHook
, cmake
, scipy
, scikitlearn
, scikit-learn
, stdenv
, xgboost
, substituteAll
@ -22,7 +22,7 @@ buildPythonPackage {
propagatedBuildInputs = [ scipy ];
checkInputs = [
pytestCheckHook
scikitlearn
scikit-learn
pandas
matplotlib
graphviz

@ -7350,10 +7350,12 @@ in {
scikitimage = callPackage ../development/python-modules/scikit-image { };
scikitlearn = callPackage ../development/python-modules/scikitlearn {
scikit-learn = callPackage ../development/python-modules/scikit-learn {
inherit (pkgs) gfortran glibcLocales;
};
scikitlearn = self.scikit-learn;
scikit-optimize = callPackage ../development/python-modules/scikit-optimize { };
scikits-odes = callPackage ../development/python-modules/scikits-odes { };

@ -524,7 +524,7 @@ with self; with super; {
scandir = callPackage ../development/python-modules/scandir { };
scikitlearn = callPackage ../development/python-modules/scikitlearn/0.20.nix {
scikit-learn = callPackage ../development/python-modules/scikit-learn/0.20.nix {
inherit (pkgs) gfortran glibcLocales;
};

Loading…
Cancel
Save