natsukium 2023-06-08 00:48:04 +09:00 committed by Yt
parent e60f893ad4
commit 21fcc1de89

@ -59,6 +59,7 @@
, chardet , chardet
, requests-toolbelt , requests-toolbelt
, neo4j , neo4j
, langchainplus-sdk
# test dependencies # test dependencies
, pytest-vcr , pytest-vcr
, pytest-asyncio , pytest-asyncio
@ -70,11 +71,12 @@
, responses , responses
, pexpect , pexpect
, pytestCheckHook , pytestCheckHook
, pythonRelaxDepsHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain"; pname = "langchain";
version = "0.0.188"; version = "0.0.193";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -83,7 +85,7 @@ buildPythonPackage rec {
owner = "hwchase17"; owner = "hwchase17";
repo = "langchain"; repo = "langchain";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-hf0pfWPXdutUKDzt56Uc0Q02TzScLAegQZ2gdR2IM/c="; hash = "sha256-Qg6kFFPOk+XpLzEl3YSI9I4fPq9KB4UtQf9Khgut7FE=";
}; };
postPatch = '' postPatch = ''
@ -95,6 +97,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
poetry-core poetry-core
pythonRelaxDepsHook
]; ];
buildInputs = [ buildInputs = [
@ -215,9 +218,14 @@ buildPythonPackage rec {
# azure-ai-formrecognizer # azure-ai-formrecognizer
# azure-ai-vision # azure-ai-vision
# azure-cognitiveservices-speech # azure-cognitiveservices-speech
langchainplus-sdk
]; ];
}; };
pythonRelaxDeps = [
"langchainplus-sdk"
];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pytest-vcr pytest-vcr