python312Packages.clarifai: 10.8.6 -> 10.11.1
Diff: https://github.com/Clarifai/clarifai-python/compare/refs/tags/10.8.6...10.11.1 Changelog: https://github.com/Clarifai/clarifai-python/releases/tag/10.11.1
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
clarifai-grpc,
|
||||
clarifai-protocol,
|
||||
click,
|
||||
fetchFromGitHub,
|
||||
fsspec,
|
||||
inquirerpy,
|
||||
numpy,
|
||||
pillow,
|
||||
@@ -20,7 +23,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "clarifai";
|
||||
version = "10.8.6";
|
||||
version = "10.11.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -28,12 +31,12 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "Clarifai";
|
||||
repo = "clarifai-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-/fHNRFtxyNa9VdEi5wQ+YA+9mFv3ZpRFJQnWkuxQd5I=";
|
||||
tag = version;
|
||||
hash = "sha256-dXsEYHkt4Z2YldqbCorNPG7rVSLfU8shYdk6lzFBz/M=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"clarifai-grpc"
|
||||
"fsspec"
|
||||
"schema"
|
||||
];
|
||||
|
||||
@@ -41,6 +44,9 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [
|
||||
clarifai-grpc
|
||||
clarifai-protocol
|
||||
click
|
||||
fsspec
|
||||
inquirerpy
|
||||
numpy
|
||||
pillow
|
||||
@@ -71,16 +77,19 @@ buildPythonPackage rec {
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access and API key
|
||||
"tests/cli/test_compute_orchestration.py"
|
||||
"tests/runners/test_anymodel.py"
|
||||
"tests/runners/test_textmodel.py"
|
||||
"tests/runners/test_url_fetcher.py"
|
||||
"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_rag.py"
|
||||
"tests/test_search.py"
|
||||
"tests/workflow/test_create_delete.py"
|
||||
"tests/workflow/test_predict.py"
|
||||
"tests/test_rag.py"
|
||||
"clarifai/models/model_serving/repo_build/static_files/base_test.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "clarifai" ];
|
||||
|
||||
Reference in New Issue
Block a user