python312Packages.langsmith: format with nixfmt
This commit is contained in:
parent
e090994594
commit
6f5bb2b137
@ -1,16 +1,17 @@
|
||||
{ lib
|
||||
, attr
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, orjson
|
||||
, poetry-core
|
||||
, pydantic
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, requests
|
||||
{
|
||||
lib,
|
||||
attr,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
freezegun,
|
||||
orjson,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -29,9 +30,7 @@ buildPythonPackage rec {
|
||||
|
||||
sourceRoot = "${src.name}/python";
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"orjson"
|
||||
];
|
||||
pythonRelaxDeps = [ "orjson" ];
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
@ -59,7 +58,7 @@ buildPythonPackage rec {
|
||||
"test_as_runnable_batch"
|
||||
"test_as_runnable_async"
|
||||
"test_as_runnable_async_batch"
|
||||
# requires git repo
|
||||
# Test requires git repo
|
||||
"test_git_info"
|
||||
# Tests require OpenAI API key
|
||||
"test_chat_async_api"
|
||||
@ -74,18 +73,16 @@ buildPythonPackage rec {
|
||||
"tests/unit_tests/test_client.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"langsmith"
|
||||
];
|
||||
pythonImportsCheck = [ "langsmith" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform";
|
||||
mainProgram = "langsmith";
|
||||
homepage = "https://github.com/langchain-ai/langsmith-sdk";
|
||||
changelog = "https://github.com/langchain-ai/langsmith-sdk/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ natsukium ];
|
||||
mainProgram = "langsmith";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user