python3Packages.hyper-connections: disable failing test on aarch64-linux

This commit is contained in:
Harinn
2026-05-06 13:40:46 +07:00
parent deb7fe62be
commit b98b7e2f63
@@ -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 = {