Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

+10 -6
+10 -6
pkgs/development/python-modules/shap/default.nix
··· 13 13 matplotlib, 14 14 numba, 15 15 numpy, 16 - oldest-supported-numpy, 17 16 opencv4, 18 17 pandas, 19 18 pyspark, ··· 31 30 32 31 buildPythonPackage rec { 33 32 pname = "shap"; 34 - version = "0.45.1"; 33 + version = "0.46.0"; 35 34 pyproject = true; 36 35 37 36 disabled = pythonOlder "3.8"; ··· 40 39 owner = "slundberg"; 41 40 repo = "shap"; 42 41 rev = "refs/tags/v${version}"; 43 - hash = "sha256-REMAubT9WRe0exfhO4UCLt3FFQHq4HApHnI6i2F/V1o="; 42 + hash = "sha256-qW36/Xw5oaYKmaMfE5euzkED9CKkjl2O55aO0OpCkfI="; 44 43 }; 45 44 46 - nativeBuildInputs = [ 47 - oldest-supported-numpy 45 + postPatch = '' 46 + substituteInPlace pyproject.toml \ 47 + --replace-fail "numpy>=2.0" "numpy" 48 + ''; 49 + 50 + build-system = [ 51 + numpy 48 52 setuptools 49 53 setuptools-scm 50 54 ]; 51 55 52 - propagatedBuildInputs = [ 56 + dependencies = [ 53 57 cloudpickle 54 58 numba 55 59 numpy