Unverified Commit 1fd9fe07 authored by Yt's avatar Yt Committed by GitHub
Browse files

python3Packages.timm: skip failing test on python>=3.14 (#476398)

parents 1d1bc4c2 85bff5fc
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,

  # build-system
  pdm-backend,
@@ -50,7 +51,12 @@ buildPythonPackage rec {

  enabledTestPaths = [ "tests" ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
  disabledTests =
    lib.optionals (pythonAtLeast "3.14") [
      # RuntimeError: torch.compile is not supported on Python 3.14+
      "test_kron"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
      # CppCompileError: C++ compile error
      # OpenMP support not found.