python313Packages.clarifai: 11.6.7 -> 11.8.2 (#446704)
This commit is contained in:
@@ -1,29 +1,38 @@
|
||||
{
|
||||
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";
|
||||
@@ -32,18 +41,22 @@ buildPythonPackage rec {
|
||||
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
|
||||
@@ -51,23 +64,29 @@ buildPythonPackage rec {
|
||||
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
|
||||
@@ -79,14 +98,18 @@ buildPythonPackage rec {
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user