python312Packages.nianet: allow Numpy 2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user