diff options
Diffstat (limited to 'pkgs/development/python-modules/langsmith/default.nix')
-rw-r--r-- | pkgs/development/python-modules/langsmith/default.nix | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/langsmith/default.nix b/pkgs/development/python-modules/langsmith/default.nix index cdb89dc4912..3b81c612888 100644 --- a/pkgs/development/python-modules/langsmith/default.nix +++ b/pkgs/development/python-modules/langsmith/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "langsmith"; - version = "0.0.35"; + version = "0.0.63"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langsmith-sdk"; rev = "refs/tags/v${version}"; - hash = "sha256-TR4vBsRImMLs7CTlBt1NHL+n65jXxBNbOY7wIlfFBfM="; + hash = "sha256-KE+WMnuWAq1stZuuwZkOPOKQ2lZNKtxzNbZMRoOdmz0="; }; sourceRoot = "${src.name}/python"; @@ -44,12 +44,24 @@ buildPythonPackage rec { disabledTests = [ # These tests require network access "integration_tests" + # due to circular import + "test_as_runnable" + "test_as_runnable_batch" + "test_as_runnable_async" + "test_as_runnable_async_batch" + ]; + + disabledTestPaths = [ + # due to circular import + "tests/integration_tests/test_client.py" ]; pythonImportsCheck = [ "langsmith" ]; + __darwinAllowLocalNetworking = true; + meta = with lib; { description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform"; homepage = "https://github.com/langchain-ai/langsmith-sdk"; |