python3Packages.langchain: 0.3.15 -> 0.3.18
Diff: https://github.com/langchain-ai/langchain/compare/refs/tags/langchain==0.3.15...langchain==0.3.18 Changelog: https://github.com/langchain-ai/langchain/releases/tag/v0.3.18
This commit is contained in:
@@ -2,27 +2,27 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
pdm-backend,
|
||||
|
||||
# buildInputs
|
||||
bash,
|
||||
|
||||
# dependencies
|
||||
aiohttp,
|
||||
async-timeout,
|
||||
langchain-core,
|
||||
langchain-text-splitters,
|
||||
langsmith,
|
||||
numpy,
|
||||
pydantic,
|
||||
pyyaml,
|
||||
requests,
|
||||
sqlalchemy,
|
||||
tenacity,
|
||||
|
||||
# optional-dependencies
|
||||
numpy,
|
||||
|
||||
# tests
|
||||
freezegun,
|
||||
httpx,
|
||||
@@ -40,19 +40,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain";
|
||||
version = "0.3.15";
|
||||
version = "0.3.18";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain";
|
||||
tag = "langchain==${version}";
|
||||
hash = "sha256-lANGoMABH1f9Tl/GgMMr7eTCji9q3uqD+Mwjr4nd2Dg=";
|
||||
hash = "sha256-oJ4lUbQqHNEqd9UdgLH0ZmTkdZpUbJ7UNsQyIrs8JvI=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/langchain";
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
buildInputs = [ bash ];
|
||||
|
||||
@@ -66,12 +66,13 @@ buildPythonPackage rec {
|
||||
langchain-core
|
||||
langchain-text-splitters
|
||||
langsmith
|
||||
numpy
|
||||
pydantic
|
||||
pyyaml
|
||||
requests
|
||||
sqlalchemy
|
||||
tenacity
|
||||
];
|
||||
] ++ lib.optional (pythonOlder "3.11") async-timeout;
|
||||
|
||||
optional-dependencies = {
|
||||
numpy = [ numpy ];
|
||||
|
||||
Reference in New Issue
Block a user