diff --git a/pkgs/development/python-modules/langchain-community/default.nix b/pkgs/development/python-modules/langchain-community/default.nix index 6832aeffeaf4..472022947fed 100644 --- a/pkgs/development/python-modules/langchain-community/default.nix +++ b/pkgs/development/python-modules/langchain-community/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "langchain-community"; - version = "0.0.32"; + version = "0.0.33"; pyproject = true; disabled = pythonOlder "3.8"; @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "langchain_community"; inherit version; - hash = "sha256-FRAhfWRsg4D1TphQNR9tKgsN1zxQG2Zsb0tAuqgWCyk="; + hash = "sha256-u1bbwe8RygnyWEaOETaHga3akhnhRAc+MM2mlJbTQrI="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index bab510205cff..32c0daba438e 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "langchain-core"; - version = "0.1.43"; + version = "0.1.44"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "langchain_core"; inherit version; - hash = "sha256-SZEz+two7899JDBiNlIVGAgLsQ/Yv290Jt5KK78q67U="; + hash = "sha256-4xOXXZrikmNC5vKtdgM40x8YsSI+m4tNxAja7q3kaoM="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/langsmith/default.nix b/pkgs/development/python-modules/langsmith/default.nix index db00f39cfe89..d77c61338475 100644 --- a/pkgs/development/python-modules/langsmith/default.nix +++ b/pkgs/development/python-modules/langsmith/default.nix @@ -1,9 +1,12 @@ { lib, + stdenv, attr, buildPythonPackage, + fastapi, fetchFromGitHub, freezegun, + httpx, orjson, poetry-core, pydantic, @@ -12,11 +15,12 @@ pythonOlder, pythonRelaxDepsHook, requests, + uvicorn, }: buildPythonPackage rec { pname = "langsmith"; - version = "0.1.45"; + version = "0.1.48"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,7 +29,7 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langsmith-sdk"; rev = "refs/tags/v${version}"; - hash = "sha256-8A9wqhM8U5Q8o0uMyu+LQKhV+1Nsyg4opJjwylc6kkI="; + hash = "sha256-n24rlulncJHNyHFqszEbALGfnT7+tTGjLjwR7Fw1smI="; }; sourceRoot = "${src.name}/python"; @@ -44,10 +48,14 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - attr + fastapi freezegun + httpx pytest-asyncio pytestCheckHook + uvicorn + ] ++ lib.optionals stdenv.isLinux [ + attr ]; disabledTests = [ @@ -71,6 +79,8 @@ buildPythonPackage rec { # due to circular import "tests/integration_tests/test_client.py" "tests/unit_tests/test_client.py" + # Tests require a Langsmith API key + "tests/evaluation/test_evaluation.py" ]; pythonImportsCheck = [ "langsmith" ];