Merge pull request #302783 from fabaff/clarifai-bump
python312Packages.clarifai: 10.2.1 -> 10.3.0
This commit is contained in:
commit
0fdf669798
|
@ -1,30 +1,31 @@
|
||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, clarifai-grpc
|
buildPythonPackage,
|
||||||
, fetchFromGitHub
|
clarifai-grpc,
|
||||||
, inquirerpy
|
fetchFromGitHub,
|
||||||
, llama-index-core
|
inquirerpy,
|
||||||
, numpy
|
llama-index-core,
|
||||||
, opencv4
|
numpy,
|
||||||
, pandas
|
opencv4,
|
||||||
, pillow
|
pandas,
|
||||||
, pycocotools
|
pillow,
|
||||||
, pypdf
|
pycocotools,
|
||||||
, pytestCheckHook
|
pypdf,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
, pythonRelaxDepsHook
|
pythonOlder,
|
||||||
, pyyaml
|
pythonRelaxDepsHook,
|
||||||
, rich
|
pyyaml,
|
||||||
, schema
|
rich,
|
||||||
, setuptools
|
schema,
|
||||||
, tabulate
|
setuptools,
|
||||||
, tqdm
|
tabulate,
|
||||||
, tritonclient
|
tqdm,
|
||||||
|
tritonclient,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "clarifai";
|
pname = "clarifai";
|
||||||
version = "10.2.1";
|
version = "10.3.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -33,21 +34,16 @@ buildPythonPackage rec {
|
||||||
owner = "Clarifai";
|
owner = "Clarifai";
|
||||||
repo = "clarifai-python";
|
repo = "clarifai-python";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-jI85xMApeEd0Hl6h4Am5qxWoSSTWHsmb7FxUjJPmBQM=";
|
hash = "sha256-8EPs6kGB+Px9Fs2Z+YwDcmEYI5+z/kOIKLraJFMykF0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [ "clarifai-grpc" ];
|
||||||
"clarifai-grpc"
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonRemoveDeps = [
|
pythonRemoveDeps = [ "opencv-python" ];
|
||||||
"opencv-python"
|
|
||||||
];
|
|
||||||
|
|
||||||
build-system = [
|
build-system = [ setuptools ];
|
||||||
pythonRelaxDepsHook
|
|
||||||
setuptools
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||||
];
|
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
clarifai-grpc
|
clarifai-grpc
|
||||||
|
@ -67,14 +63,10 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
all = [
|
all = [ pycocotools ];
|
||||||
pycocotools
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
pytestCheckHook
|
|
||||||
];
|
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
|
@ -99,9 +91,7 @@ buildPythonPackage rec {
|
||||||
"clarifai/models/model_serving/repo_build/static_files/base_test.py"
|
"clarifai/models/model_serving/repo_build/static_files/base_test.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "clarifai" ];
|
||||||
"clarifai"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Clarifai Python Utilities";
|
description = "Clarifai Python Utilities";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user