natsukium 2023-05-14 17:05:37 +09:00 committed by Yt
parent 4d5505e97b
commit a8a036a1ba

View File

@ -53,6 +53,8 @@
, lark , lark
, jq , jq
, protobuf , protobuf
, steamship
, pdfminer-six
# test dependencies # test dependencies
, pytest-vcr , pytest-vcr
, pytest-asyncio , pytest-asyncio
@ -67,7 +69,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "langchain"; pname = "langchain";
version = "0.0.166"; version = "0.0.168";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -76,7 +78,7 @@ buildPythonPackage rec {
owner = "hwchase17"; owner = "hwchase17";
repo = "langchain"; repo = "langchain";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-i6CvboYZigky49a7X8RuQH2EfcucJPtEtFEzZxaNJG8="; hash = "sha256-2L5yFkXr6dioEP1QAMXWX6x+IRbGUIW3cxLLxJJjkMI=";
}; };
postPatch = '' postPatch = ''
@ -194,6 +196,8 @@ buildPythonPackage rec {
# docarray # docarray
protobuf protobuf
# hnswlib # hnswlib
steamship
pdfminer-six
]; ];
}; };
@ -210,7 +214,7 @@ buildPythonPackage rec {
pytestFlagsArray = [ pytestFlagsArray = [
# integration_tests have many network, db access and require `OPENAI_API_KEY`, etc. # integration_tests have many network, db access and require `OPENAI_API_KEY`, etc.
"--ignore=tests/integration_tests" "tests/unit_tests"
]; ];
disabledTests = [ disabledTests = [