python312Packages.nianet: allow Numpy 2

This commit is contained in:
FliegendeWurst
2025-01-07 10:16:05 +01:00
parent 7c2b4aa944
commit 1d72ee6de9
@@ -27,18 +27,22 @@ buildPythonPackage rec {
sha256 = "sha256-FZipl6Z9AfiL6WH0kvUn8bVxt8JLdDVlmTSqnyxe0nY=";
};
nativeBuildInputs = [
build-system = [
poetry-core
toml-adapt
];
propagatedBuildInputs = [
dependencies = [
niapy
numpy
scikit-learn
torch
];
pythonRelaxDeps = [
"numpy"
];
# create niapy and torch dep version consistent
preBuild = ''
toml-adapt -path pyproject.toml -a change -dep niapy -ver X