python312Packages.shap: 0.45.1 -> 0.46.0
Diff: https://github.com/slundberg/shap/compare/refs/tags/v0.45.1...v0.46.0 Changelog: https://github.com/slundberg/shap/releases/tag/v0.46.0
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
matplotlib,
|
||||
numba,
|
||||
numpy,
|
||||
oldest-supported-numpy,
|
||||
opencv4,
|
||||
pandas,
|
||||
pyspark,
|
||||
@@ -31,7 +30,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "shap";
|
||||
version = "0.45.1";
|
||||
version = "0.46.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -40,16 +39,21 @@ buildPythonPackage rec {
|
||||
owner = "slundberg";
|
||||
repo = "shap";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-REMAubT9WRe0exfhO4UCLt3FFQHq4HApHnI6i2F/V1o=";
|
||||
hash = "sha256-qW36/Xw5oaYKmaMfE5euzkED9CKkjl2O55aO0OpCkfI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
oldest-supported-numpy
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "numpy>=2.0" "numpy"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
numpy
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
cloudpickle
|
||||
numba
|
||||
numpy
|
||||
|
||||
Reference in New Issue
Block a user