From e7e21246b31d493c1a571efe4139e908ea932b13 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 25 Jan 2026 15:26:52 -0800 Subject: [PATCH] python3Packages.x-transformers: disable failing test on python 3.14 --- pkgs/development/python-modules/x-transformers/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/x-transformers/default.nix b/pkgs/development/python-modules/x-transformers/default.nix index 9d9baffdef6f..48b3e453210a 100644 --- a/pkgs/development/python-modules/x-transformers/default.nix +++ b/pkgs/development/python-modules/x-transformers/default.nix @@ -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 = {