python313Packages.clarifai: 11.6.7 -> 11.8.2

Changelog: https://github.com/Clarifai/clarifai-python/releases/tag/11.8.2

Changed files
+32 -9
pkgs
development
python-modules
clarifai
+32 -9
pkgs/development/python-modules/clarifai/default.nix
···
{
lib,
+
aiohttp,
buildPythonPackage,
clarifai-grpc,
clarifai-protocol,
click,
fetchFromGitHub,
fsspec,
+
huggingface-hub,
inquirerpy,
numpy,
pillow,
+
pkgs,
+
psutil,
pycocotools,
+
pydantic-core,
+
pytest-asyncio,
pytestCheckHook,
pythonOlder,
pyyaml,
rich,
+
ruff,
schema,
setuptools,
tabulate,
tqdm,
tritonclient,
+
uv,
+
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "clarifai";
-
version = "11.6.7";
+
version = "11.8.2";
pyproject = true;
disabled = pythonOlder "3.8";
···
owner = "Clarifai";
repo = "clarifai-python";
tag = version;
-
hash = "sha256-1ftwsIKJ494F8q45x0LtvOZhM72AAhJWe0LligNNpkQ=";
+
hash = "sha256-7luvK7xnkJRALXm7X7mg6VG9qRpq9pmFdBRW2GP3heI=";
};
pythonRelaxDeps = [
+
"clarifai-protocol"
"click"
"fsspec"
+
"ruff"
"schema"
+
"uv"
];
build-system = [ setuptools ];
dependencies = [
+
aiohttp
clarifai-grpc
clarifai-protocol
click
···
inquirerpy
numpy
pillow
+
psutil
+
pydantic-core
pyyaml
rich
+
ruff
schema
tabulate
tqdm
tritonclient
+
uv
];
optional-dependencies = {
all = [ pycocotools ];
};
-
nativeCheckInputs = [ pytestCheckHook ];
-
-
preCheck = ''
-
export HOME=$(mktemp -d)
-
'';
+
nativeCheckInputs = [
+
pkgs.gitMinimal
+
huggingface-hub
+
pytest-asyncio
+
pytestCheckHook
+
writableTmpDirAsHomeHook
+
];
disabledTests = [
# Test requires network access and API key
···
disabledTestPaths = [
# Tests require network access and API key
"tests/cli/test_compute_orchestration.py"
-
"tests/runners/test_anymodel.py"
"tests/runners/test_download_checkpoints.py"
+
"tests/runners/test_model_run_locally.py"
+
"tests/runners/test_model_upload.py"
+
"tests/runners/test_num_threads_config.py"
+
"tests/runners/test_runners_proto.py"
"tests/runners/test_runners.py"
-
"tests/runners/test_textmodel.py"
"tests/runners/test_url_fetcher.py"
+
"tests/runners/test_vllm_model_upload.py"
"tests/test_app.py"
"tests/test_data_upload.py"
"tests/test_eval.py"
+
"tests/test_list_models.py"
"tests/test_model_predict.py"
"tests/test_model_train.py"
"tests/test_rag.py"