mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
Merge pull request #266794 from natsukium/langchain/update
python311Packages.langchain: 0.325 -> 0.0.334; python311Packages.langsmith: 0.0.57 -> 0.0.63
This commit is contained in:
commit
a4870a0614
@ -42,7 +42,6 @@
|
||||
, librosa
|
||||
, lxml
|
||||
, manifest-ml
|
||||
, markdownify
|
||||
, neo4j
|
||||
, networkx
|
||||
, nlpcloud
|
||||
@ -76,8 +75,8 @@
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytest-socket
|
||||
, pytest-vcr
|
||||
, pytestCheckHook
|
||||
, requests-mock
|
||||
, responses
|
||||
, syrupy
|
||||
, toml
|
||||
@ -85,7 +84,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain";
|
||||
version = "0.0.325";
|
||||
version = "0.0.334";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -94,7 +93,7 @@ buildPythonPackage rec {
|
||||
owner = "hwchase17";
|
||||
repo = "langchain";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-/bk4RafDDL4nozyFOiikyU4auBSftej21m5/FnEtDog=";
|
||||
hash = "sha256-mXPqc8wF9DhEtITm8h5R9kHBcMJ7AEK4kL5Z7V2p8NE=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/langchain";
|
||||
@ -253,21 +252,22 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
freezegun
|
||||
markdownify
|
||||
lark
|
||||
pandas
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytest-socket
|
||||
pytest-vcr
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
responses
|
||||
syrupy
|
||||
toml
|
||||
] ++ passthru.optional-dependencies.all;
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# integration_tests have many network, db access and require `OPENAI_API_KEY`, etc.
|
||||
"tests/unit_tests"
|
||||
"--only-core"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
@ -279,6 +279,10 @@ buildPythonPackage rec {
|
||||
"test_socket_disabled"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"langchain"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Building applications with LLMs through composability";
|
||||
homepage = "https://github.com/hwchase17/langchain";
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langsmith";
|
||||
version = "0.0.57";
|
||||
version = "0.0.63";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "langchain-ai";
|
||||
repo = "langsmith-sdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-3P0vB7wz/K3skejyPwtFZN17mFrOw9TGLHTJHvu4m7M=";
|
||||
hash = "sha256-KE+WMnuWAq1stZuuwZkOPOKQ2lZNKtxzNbZMRoOdmz0=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
@ -60,6 +60,8 @@ buildPythonPackage rec {
|
||||
"langsmith"
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform";
|
||||
homepage = "https://github.com/langchain-ai/langsmith-sdk";
|
||||
|
Loading…
Reference in New Issue
Block a user