diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/langchain/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/langchain/default.nix | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/langchain/default.nix b/nixpkgs/pkgs/development/python-modules/langchain/default.nix index d519748994a7..a8da3cce93cd 100644 --- a/nixpkgs/pkgs/development/python-modules/langchain/default.nix +++ b/nixpkgs/pkgs/development/python-modules/langchain/default.nix @@ -3,7 +3,6 @@ , buildPythonPackage , fetchFromGitHub , pythonOlder -, pythonRelaxDepsHook , poetry-core , aiohttp , async-timeout @@ -52,7 +51,7 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.1.6"; + version = "0.1.9"; pyproject = true; disabled = pythonOlder "3.8"; @@ -61,14 +60,13 @@ buildPythonPackage rec { owner = "langchain-ai"; repo = "langchain"; rev = "refs/tags/v${version}"; - hash = "sha256-DMUf1dW1/Xl8OKRDb2o9NFgFE4rEgsCBZEPejGz1tQQ="; + hash = "sha256-AgEze4JUo3i6HCg541tz/gV6g+zrueyOljy/TXUYBV4="; }; sourceRoot = "${src.name}/libs/langchain"; nativeBuildInputs = [ poetry-core - pythonRelaxDepsHook ]; buildInputs = [ @@ -76,18 +74,18 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ - langchain-core + aiohttp + dataclasses-json + jsonpatch langchain-community + langchain-core + langsmith + numpy pydantic - sqlalchemy - requests pyyaml - numpy - aiohttp + requests + sqlalchemy tenacity - jsonpatch - dataclasses-json - langsmith ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ]; |