Merge pull request #231383 from natsukium/langchain/update

python3Packages.langchain: 0.0.163 -> 0.0.166
This commit is contained in:
Mario Rodas
2023-05-12 06:33:33 -05:00
committed by GitHub
@@ -52,6 +52,7 @@
, duckduckgo-search
, lark
, jq
, protobuf
# test dependencies
, pytest-vcr
, pytest-asyncio
@@ -66,7 +67,7 @@
buildPythonPackage rec {
pname = "langchain";
version = "0.0.163";
version = "0.0.166";
format = "pyproject";
disabled = pythonOlder "3.8";
@@ -75,7 +76,7 @@ buildPythonPackage rec {
owner = "hwchase17";
repo = "langchain";
rev = "refs/tags/v${version}";
hash = "sha256-3oebRLMunzfz+fAS5h+HaabioIPXTJLJc0YAktLx4/U=";
hash = "sha256-i6CvboYZigky49a7X8RuQH2EfcucJPtEtFEzZxaNJG8=";
};
postPatch = ''
@@ -190,6 +191,9 @@ buildPythonPackage rec {
# pyvespa
# O365
jq
# docarray
protobuf
# hnswlib
];
};
@@ -204,10 +208,10 @@ buildPythonPackage rec {
responses
];
preCheck = ''
pytestFlagsArray = [
# integration_tests have many network, db access and require `OPENAI_API_KEY`, etc.
rm -r tests/integration_tests
'';
"--ignore=tests/integration_tests"
];
disabledTests = [
# these tests have db access