python3Packages.langsmith: 0.1.47 -> 0.3.4
This commit is contained in:
@@ -9,10 +9,12 @@
|
||||
|
||||
# dependencies
|
||||
httpx,
|
||||
langchain-core,
|
||||
orjson,
|
||||
pydantic,
|
||||
requests,
|
||||
requests-toolbelt,
|
||||
zstandard,
|
||||
|
||||
# tests
|
||||
anthropic,
|
||||
@@ -28,14 +30,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langsmith";
|
||||
version = "0.1.147";
|
||||
version = "0.3.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langsmith-sdk";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-d0PJaC1MhVS3i4AtXUjSkkq/Yj2Pi42H/cW/XML/94o=";
|
||||
hash = "sha256-mJS9Sdt4ESh9YRyjiUdVHC6R400SKhTeSdTjnbtY61I=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
@@ -50,6 +52,7 @@ buildPythonPackage rec {
|
||||
pydantic
|
||||
requests
|
||||
requests-toolbelt
|
||||
zstandard
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -85,6 +88,7 @@ buildPythonPackage rec {
|
||||
"tests/integration_tests/test_client.py"
|
||||
"tests/integration_tests/test_prompts.py"
|
||||
"tests/unit_tests/test_client.py"
|
||||
"tests/unit_tests/evaluation/test_runner.py"
|
||||
# Tests require a Langsmith API key
|
||||
"tests/evaluation/test_evaluation.py"
|
||||
"tests/external/test_instructor_evals.py"
|
||||
|
||||
Reference in New Issue
Block a user