python311Packages.clarifai: 10.1.1 -> 10.2.1

Changelog: https://github.com/Clarifai/clarifai-python/releases/tag/10.2.1
This commit is contained in:
Fabian Affolter 2024-03-26 10:48:27 +01:00
parent 5fb1b86520
commit b3246705ad
1 changed files with 8 additions and 5 deletions

View File

@ -17,13 +17,14 @@
, rich
, schema
, setuptools
, tabulate
, tqdm
, tritonclient
}:
buildPythonPackage rec {
pname = "clarifai";
version = "10.1.1";
version = "10.2.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -32,7 +33,7 @@ buildPythonPackage rec {
owner = "Clarifai";
repo = "clarifai-python";
rev = "refs/tags/${version}";
hash = "sha256-36XceC40cL0SywY0Mus/s8OCO0ujWqxEIKZW+fvd7lw=";
hash = "sha256-jI85xMApeEd0Hl6h4Am5qxWoSSTWHsmb7FxUjJPmBQM=";
};
pythonRelaxDeps = [
@ -43,12 +44,12 @@ buildPythonPackage rec {
"opencv-python"
];
nativeBuildInputs = [
build-system = [
pythonRelaxDepsHook
setuptools
];
propagatedBuildInputs = [
dependencies = [
clarifai-grpc
inquirerpy
llama-index-core
@ -60,6 +61,7 @@ buildPythonPackage rec {
pyyaml
rich
schema
tabulate
tqdm
tritonclient
];
@ -87,6 +89,7 @@ buildPythonPackage rec {
# Tests require network access and API key
"tests/test_app.py"
"tests/test_data_upload.py"
"tests/test_eval.py"
"tests/test_model_predict.py"
"tests/test_model_train.py"
"tests/test_search.py"
@ -102,10 +105,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Clarifai Python Utilities";
mainProgram = "clarifai";
homepage = "https://github.com/Clarifai/clarifai-python";
changelog = "https://github.com/Clarifai/clarifai-python/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ natsukium ];
mainProgram = "clarifai";
};
}