Commit 6751ac23 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.llguidance: skip failing tests on python 3.14

parent 9054b55f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  pythonAtLeast,

  # nativeBuildInputs
  cargo,
@@ -91,6 +92,10 @@ buildPythonPackage (finalAttrs: {
    "python/torch_tests/test_llamacpp.py"
    "python/torch_tests/test_tiktoken.py"
    "scripts/tokenizer_test.py"
  ]
  ++ lib.optionals (pythonAtLeast "3.14") [
    # RuntimeError: torch.compile is not supported on Python 3.14+
    "python/torch_tests/test_bitmask.py"
  ];

  meta = {