From 4648e2ab592b36dc2acd2357dbee4cd48b5da318 Mon Sep 17 00:00:00 2001 From: Dionysis Grigoropoulos Date: Mon, 5 May 2025 00:31:22 +0300 Subject: [PATCH] python312Packages.fnllm: fix build --- pkgs/development/python-modules/fnllm/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/fnllm/default.nix b/pkgs/development/python-modules/fnllm/default.nix index 04edd78684be..365876edd3c2 100644 --- a/pkgs/development/python-modules/fnllm/default.nix +++ b/pkgs/development/python-modules/fnllm/default.nix @@ -9,8 +9,10 @@ httpx, json-repair, openai, + polyfactory, pydantic, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, tenacity, @@ -51,7 +53,9 @@ buildPythonPackage rec { }; nativeCheckInputs = [ + polyfactory pytest-asyncio + pytest-cov-stub pytestCheckHook ] ++ lib.flatten (builtins.attrValues optional-dependencies); @@ -65,10 +69,13 @@ buildPythonPackage rec { "test_default_operations" "test_estimate_request_tokens" "test_replace_value" - ]; - - disabledTestPaths = [ - "tests/unit/caching/test_blob.py" + "test_text_service_encode_decode" + "test_count_tokens" + "trim_to_max_tokens" + "test_split" + "test_clear" + "test_handles_common_errors" + "test_children" ]; meta = {