Commit e7e21246 authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.x-transformers: disable failing test on python 3.14

parent 90e0b24f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,

  # build-system
  hatchling,
@@ -41,6 +42,9 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  # RuntimeError: torch.compile is not supported on Python 3.14+
  disabledTests = lib.optionals (pythonAtLeast "3.14") [ "test_up" ];

  pythonImportsCheck = [ "x_transformers" ];

  meta = {