python312Packages.langsmith: 0.1.48 -> 0.1.51
Diff: https://github.com/langchain-ai/langsmith-sdk/compare/refs/tags/v0.1.48...v0.1.51 Changelog: https://github.com/langchain-ai/langsmith-sdk/releases/tag/v0.1.51
This commit is contained in:
parent
eb6917ed38
commit
b1b82c7b47
|
@ -1,12 +1,14 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
|
anthropic,
|
||||||
attr,
|
attr,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fastapi,
|
fastapi,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
freezegun,
|
freezegun,
|
||||||
httpx,
|
httpx,
|
||||||
|
instructor,
|
||||||
orjson,
|
orjson,
|
||||||
poetry-core,
|
poetry-core,
|
||||||
pydantic,
|
pydantic,
|
||||||
|
@ -20,7 +22,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "langsmith";
|
pname = "langsmith";
|
||||||
version = "0.1.48";
|
version = "0.1.51";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -29,7 +31,7 @@ buildPythonPackage rec {
|
||||||
owner = "langchain-ai";
|
owner = "langchain-ai";
|
||||||
repo = "langsmith-sdk";
|
repo = "langsmith-sdk";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-n24rlulncJHNyHFqszEbALGfnT7+tTGjLjwR7Fw1smI=";
|
hash = "sha256-31DC5SqI2V7d3iC5LlZgU5xB0Lh6GrBFFF3A+HEbUKg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/python";
|
sourceRoot = "${src.name}/python";
|
||||||
|
@ -48,9 +50,11 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
anthropic
|
||||||
fastapi
|
fastapi
|
||||||
freezegun
|
freezegun
|
||||||
httpx
|
httpx
|
||||||
|
instructor
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
uvicorn
|
uvicorn
|
||||||
|
@ -81,6 +85,7 @@ buildPythonPackage rec {
|
||||||
"tests/unit_tests/test_client.py"
|
"tests/unit_tests/test_client.py"
|
||||||
# Tests require a Langsmith API key
|
# Tests require a Langsmith API key
|
||||||
"tests/evaluation/test_evaluation.py"
|
"tests/evaluation/test_evaluation.py"
|
||||||
|
"tests/external/test_instructor_evals.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "langsmith" ];
|
pythonImportsCheck = [ "langsmith" ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user