python3Packages.hyper-connections: disable failing test on aarch64-linux
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
pytestCheckHook,
|
||||
stdenv,
|
||||
torch,
|
||||
torch-einops-utils,
|
||||
}:
|
||||
@@ -31,6 +32,12 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
|
||||
# torch's cpuinfo init fails to parse /sys/devices/system/cpu/{possible,present}
|
||||
# in the build sandbox on aarch64-linux, breaking `.half()` calls
|
||||
"test_mhc_dtype_restoration"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hyper_connections" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user