Merge pull request #232542 from natsukium/langchain/update

python3Packages.langchain: 0.0.170 -> 0.0.179
This commit is contained in:
Weijia Wang 2023-05-25 14:34:33 +03:00 committed by GitHub
commit 71b17dd143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,14 +52,17 @@
, duckduckgo-search
, lark
, jq
, protobuf
, steamship
, pdfminer-six
, lxml
, chardet
, requests-toolbelt
, neo4j
# test dependencies
, pytest-vcr
, pytest-asyncio
, pytest-mock
, pytest-socket
, pandas
, toml
, freezegun
@ -70,7 +73,7 @@
buildPythonPackage rec {
pname = "langchain";
version = "0.0.170";
version = "0.0.179";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -79,7 +82,7 @@ buildPythonPackage rec {
owner = "hwchase17";
repo = "langchain";
rev = "refs/tags/v${version}";
hash = "sha256-0hV8X1c+vMJlynNud//hb164oTYmYlsmeSM4dKwC0G4=";
hash = "sha256-9MotnDsDXwdwVGuD3sO+FFWluPCHHXkQRH0B1zskLZg=";
};
postPatch = ''
@ -129,9 +132,15 @@ buildPythonPackage rec {
openai = [
openai
];
text_helpers = [
chardet
];
cohere = [
cohere
];
docarray = [
# docarray
];
embeddings = [
sentence-transformers
];
@ -189,17 +198,22 @@ buildPythonPackage rec {
# clickhouse-connect
azure-cosmos
# lancedb
# langkit
lark
pexpect
# pyvespa
# O365
jq
# docarray
protobuf
# hnswlib
steamship
pdfminer-six
lxml
requests-toolbelt
neo4j
# openlm
# azure-ai-formrecognizer
# azure-ai-vision
# azure-cognitiveservices-speech
];
};
@ -207,6 +221,7 @@ buildPythonPackage rec {
pytestCheckHook
pytest-vcr
pytest-mock
pytest-socket
pytest-asyncio
pandas
toml
@ -223,6 +238,9 @@ buildPythonPackage rec {
# these tests have db access
"test_table_info"
"test_sql_database_run"
# these tests have network access
"test_socket_disabled"
];
meta = with lib; {