mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
Merge pull request #285963 from natsukium/linear-operator
python311Packages.linear-operator: fix build
This commit is contained in:
commit
7f2a47044f
@ -11,6 +11,7 @@
|
||||
, torch
|
||||
, scipy
|
||||
, pytestCheckHook
|
||||
, pythonRelaxDepsHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -26,6 +27,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wheel
|
||||
@ -40,6 +42,10 @@ buildPythonPackage rec {
|
||||
torch
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"linear-operator"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
@ -3,10 +3,12 @@
|
||||
, fetchFromGitHub
|
||||
, jaxtyping
|
||||
, pytestCheckHook
|
||||
, pythonRelaxDepsHook
|
||||
, scipy
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, torch
|
||||
, typeguard
|
||||
, wheel
|
||||
}:
|
||||
|
||||
@ -23,6 +25,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wheel
|
||||
@ -32,6 +35,11 @@ buildPythonPackage rec {
|
||||
jaxtyping
|
||||
scipy
|
||||
torch
|
||||
typeguard
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"typeguard"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "linear_operator" ];
|
||||
@ -42,6 +50,7 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTests = [
|
||||
# flaky numerical tests
|
||||
"test_matmul_matrix_broadcast"
|
||||
"test_svd"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user