Unverified Commit a6401ae2 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python312Packages.torch-geometric: skip failing test on darwin (#350200)

parents e45b2e50 34395aeb
Loading
Loading
Loading
Loading
+22 −15
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,

@@ -153,7 +154,8 @@ buildPythonPackage rec {
    export HOME=$(mktemp -d)
  '';

  disabledTests = [
  disabledTests =
    [
      # TODO: try to re-enable when triton will have been updated to 3.0
      # torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
      # LoweringException: ImportError: cannot import name 'triton_key' from 'triton.compiler.compiler'
@@ -167,6 +169,11 @@ buildPythonPackage rec {

      # AttributeError: type object 'Any' has no attribute '_name'
      "test_type_repr"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # This test uses `torch.jit` which might not be working on darwin:
      # RuntimeError: required keyword attribute 'value' has the wrong type
      "test_traceable_my_conv_with_self_loops"
    ];

  meta = {