Merge pull request #319079 from GaetanLepage/langchain

python311Packages.langchain[-core]: fix update mistakes
This commit is contained in:
OTABI Tomoya 2024-06-12 01:00:41 +09:00 committed by GitHub
commit eff8b8c46d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 57 deletions

View File

@ -72,6 +72,8 @@ buildPythonPackage rec {
pytestFlagsArray = [ "tests/unit_tests" ];
disabledTests = [
# Fail for an unclear reason with:
# AssertionError: assert '6a92363c-4ac...-d344769ab6ac' == '09af124a-2ed...-671c64c72b70'
"test_config_traceable_handoff"
"test_config_traceable_async_handoff"
];

View File

@ -2,26 +2,15 @@
lib,
aiohttp,
async-timeout,
azure-core,
azure-cosmos,
azure-identity,
bash,
buildPythonPackage,
chardet,
clarifai,
cohere,
esprima,
fetchFromGitHub,
freezegun,
huggingface-hub,
langchain-core,
langchain-text-splitters,
langsmith,
lark,
manifest-ml,
nlpcloud,
numpy,
openai,
pandas,
poetry-core,
pydantic,
@ -31,19 +20,13 @@
pytestCheckHook,
pythonOlder,
pyyaml,
qdrant-client,
requests-mock,
requests,
responses,
sentence-transformers,
sqlalchemy,
syrupy,
tenacity,
tiktoken,
toml,
torch,
transformers,
typer,
}:
buildPythonPackage rec {
@ -79,46 +62,6 @@ buildPythonPackage rec {
tenacity
] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
passthru.optional-dependencies = {
llms = [
clarifai
cohere
openai
# openlm
nlpcloud
huggingface-hub
manifest-ml
torch
transformers
];
qdrant = [ qdrant-client ];
openai = [
openai
tiktoken
];
text_helpers = [ chardet ];
clarifai = [ clarifai ];
cohere = [ cohere ];
docarray = [
# docarray
];
embeddings = [ sentence-transformers ];
javascript = [ esprima ];
azure = [
azure-identity
azure-cosmos
openai
azure-core
# azure-ai-formrecognizer
# azure-ai-vision
# azure-cognitiveservices-speech
# azure-search-documents
# azure-ai-textanalytics
];
all = [ ];
cli = [ typer ];
};
nativeCheckInputs = [
freezegun
lark