python312Packages.langsmith: 0.1.45 -> 0.1.48
Diff: https://github.com/langchain-ai/langsmith-sdk/compare/refs/tags/v0.1.45...v0.1.48 Changelog: https://github.com/langchain-ai/langsmith-sdk/releases/tag/v0.1.48
This commit is contained in:
parent
28bf5e76dd
commit
1db6f3b6b0
|
@ -3,8 +3,10 @@
|
|||
stdenv,
|
||||
attr,
|
||||
buildPythonPackage,
|
||||
fastapi,
|
||||
fetchFromGitHub,
|
||||
freezegun,
|
||||
httpx,
|
||||
orjson,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
|
@ -13,11 +15,12 @@
|
|||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
requests,
|
||||
uvicorn,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langsmith";
|
||||
version = "0.1.45";
|
||||
version = "0.1.48";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -26,7 +29,7 @@ buildPythonPackage rec {
|
|||
owner = "langchain-ai";
|
||||
repo = "langsmith-sdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-8A9wqhM8U5Q8o0uMyu+LQKhV+1Nsyg4opJjwylc6kkI=";
|
||||
hash = "sha256-n24rlulncJHNyHFqszEbALGfnT7+tTGjLjwR7Fw1smI=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
|
@ -45,9 +48,12 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
fastapi
|
||||
freezegun
|
||||
httpx
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
uvicorn
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
attr
|
||||
];
|
||||
|
@ -73,6 +79,8 @@ buildPythonPackage rec {
|
|||
# due to circular import
|
||||
"tests/integration_tests/test_client.py"
|
||||
"tests/unit_tests/test_client.py"
|
||||
# Tests require a Langsmith API key
|
||||
"tests/evaluation/test_evaluation.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "langsmith" ];
|
||||
|
|
Loading…
Reference in New Issue
Block a user