diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index ead028dd94de..df04d5b4659c 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -85,7 +85,7 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.0.263"; + version = "0.0.268"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -94,7 +94,7 @@ buildPythonPackage rec { owner = "hwchase17"; repo = "langchain"; rev = "refs/tags/v${version}"; - hash = "sha256-/ReuUVSVO/JqfXFmGU/Yk5GAzmSuJvnr8zOTw3qLZvQ="; + hash = "sha256-x5cYtOY91JpW3vV7Q6JNNRoTFKGMu93TqBAhnhQ6pHE="; }; sourceRoot = "${src.name}/libs/langchain"; diff --git a/pkgs/development/python-modules/langsmith/default.nix b/pkgs/development/python-modules/langsmith/default.nix index 910ba98e8815..eeae23611148 100644 --- a/pkgs/development/python-modules/langsmith/default.nix +++ b/pkgs/development/python-modules/langsmith/default.nix @@ -3,23 +3,24 @@ , fetchFromGitHub , poetry-core , pydantic -, requests -, pytestCheckHook , pytest-asyncio +, pytestCheckHook +, pythonOlder +, requests }: buildPythonPackage rec { pname = "langsmith"; - version = "0.0.14"; + version = "0.0.24"; format = "pyproject"; + disabled = pythonOlder "3.8"; + src = fetchFromGitHub { owner = "langchain-ai"; - repo = "langchainplus-sdk"; - # there are no correct tags - # https://github.com/langchain-ai/langchainplus-sdk/issues/105 - rev = "092f67222e4beabca0f51ba03f1ee028f916da63"; - hash = "sha256-U8fs16Uq80EB7Ey5YuQhUKKI9DOXJWlabM5JdoDnWP0="; + repo = "langsmith-sdk"; + rev = "refs/tags/v${version}"; + hash = "sha256-Uv6zzSWs+Fvb0ztwgkbkZcaNJOFpt8pWh88HZHsTris="; }; sourceRoot = "${src.name}/python"; @@ -39,15 +40,18 @@ buildPythonPackage rec { ]; disabledTests = [ - # these tests require network access + # These tests require network access "integration_tests" ]; - pythonImportsCheck = [ "langsmith" ]; + pythonImportsCheck = [ + "langsmith" + ]; meta = with lib; { description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform"; - homepage = "https://github.com/langchain-ai/langchainplus-sdk"; + homepage = "https://github.com/langchain-ai/langsmith-sdk"; + changelog = "https://github.com/langchain-ai/langsmith-sdk/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ natsukium ]; };