From b2945bc0a84fd55be39ba218fad4da2dbefe22b0 Mon Sep 17 00:00:00 2001 From: sarahec Date: Thu, 7 Nov 2024 14:23:11 -0800 Subject: [PATCH] python312Packages.langgraph: Fix unit tests that were breaking Hydra --- pkgs/development/python-modules/langgraph/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/langgraph/default.nix b/pkgs/development/python-modules/langgraph/default.nix index 65f4e3aa23c7..3750ff262179 100644 --- a/pkgs/development/python-modules/langgraph/default.nix +++ b/pkgs/development/python-modules/langgraph/default.nix @@ -88,8 +88,6 @@ buildPythonPackage rec { postgresqlTestHook ]; - pytestFlagsArray = [ "tests/unit_tests" ]; - disabledTests = [ # test is flaky due to pydantic error on the exception "test_doesnt_warn_valid_schema" @@ -116,9 +114,7 @@ buildPythonPackage rec { "tests/test_pregel.py" ]; - passthru = { - updateScript = langgraph-sdk.updateScript; - }; + passthru.updateScript = langgraph-sdk.updateScript; meta = { description = "Build resilient language agents as graphs";