python3Packages.scikit-learn: 1.3.0 -> 1.3.2

https://scikit-learn.org/stable/whats_new/v1.3.html#version-1-3-2
This commit is contained in:
Martin Weinelt
2023-12-20 20:45:21 +01:00
parent c7dd47dfbe
commit 56f861b29d
@@ -2,30 +2,36 @@
, lib
, buildPythonPackage
, fetchPypi
, fetchpatch
# build-system
, cython
, gfortran
, glibcLocales
, numpy
, oldest-supported-numpy
, scipy
, setuptools
# native dependencies
, glibcLocales
, llvmPackages
, pytestCheckHook
, pytest-xdist
, pillow
, cython
, joblib
, llvmPackages
, threadpoolctl
, pythonOlder
}:
buildPythonPackage rec {
pname = "scikit-learn";
version = "1.3.0";
format = "setuptools";
version = "1.3.2";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-i+VJiG9e2kZDa25VWw5Ic7TxCqIcB99FxLwXNa+8zXo=";
hash = "sha256-ovVMdqzMFaNL+5Bm5selbB5yNd2ldiuZB5IzC1LM+wU=";
};
buildInputs = [
@@ -38,19 +44,26 @@ buildPythonPackage rec {
nativeBuildInputs = [
cython
gfortran
numpy
oldest-supported-numpy
scipy
setuptools
];
propagatedBuildInputs = [
numpy
scipy
numpy.blas
joblib
numpy
numpy.blas
scipy
threadpoolctl
];
nativeCheckInputs = [ pytestCheckHook pytest-xdist ];
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
];
LC_ALL="en_US.UTF-8";
env.LC_ALL="en_US.UTF-8";
preBuild = ''
export SKLEARN_BUILD_PARALLEL=$NIX_BUILD_CORES