From bc7ae753e3e2d1199185eae3a3fda1b2a3688a95 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 11 Jun 2025 13:14:25 -0700 Subject: [PATCH] python3Packages.langsmith: 0.3.22 -> 0.3.45 Update, disables integration tests as they contain circular dependencies on langchain-core changelog: https://github.com/langchain-ai/langsmith-sdk/releases/tag/v0.3.45 diff: https://github.com/langchain-ai/langsmith-sdk/compare/v0.3.22...v0.3.45 --- pkgs/development/python-modules/langsmith/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/langsmith/default.nix b/pkgs/development/python-modules/langsmith/default.nix index 111067b979f5..96bc3f1b861c 100644 --- a/pkgs/development/python-modules/langsmith/default.nix +++ b/pkgs/development/python-modules/langsmith/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "langsmith"; - version = "0.3.22"; + version = "0.3.45"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langsmith-sdk"; tag = "v${version}"; - hash = "sha256-6KHiRwz3lR0+w1DHn1HgYK93MP9hvYFgoUvXtEogskA="; + hash = "sha256-uR3Uukt8LwoBKBcgyX2srK0C6O04IEECe/cFhBQFO2s="; }; sourceRoot = "${src.name}/python"; @@ -85,13 +85,12 @@ buildPythonPackage rec { ]; disabledTestPaths = [ - # due to circular import - "tests/integration_tests/test_client.py" - "tests/integration_tests/test_prompts.py" + # Circular import + "tests/integration_tests/" "tests/unit_tests/test_client.py" "tests/unit_tests/evaluation/test_runner.py" "tests/unit_tests/evaluation/test_runner.py" - # Tests require a Langsmith API key + # Require a Langsmith API key "tests/evaluation/test_evaluation.py" "tests/external/test_instructor_evals.py" # Marked as flaky in source