Unverified Commit 37b64e92 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.onnx-asr: disable pythonImportsCheck on aarch64-linux (#495491)

parents f258d7b2 699160ff
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,

@@ -68,7 +69,11 @@ buildPythonPackage (finalAttrs: {
  # Most tests require downloading models from Hugging Face
  doCheck = false;

  pythonImportsCheck = [
  # aarch64-linux fails cpuinfo test, because /sys/devices/system/cpu/ does not exist in the sandbox:
  # terminate called after throwing an instance of 'onnxruntime::OnnxRuntimeException'
  pythonImportsCheck =
    lib.optionals (!(stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64))
      [
        "onnx_asr"
      ];