python3Packages.llguidance: skip failing tests on python 3.14
https://github.com/NixOS/nixpkgs/issues/475732
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user