python312Packages.clarifai: fix build

This commit is contained in:
natsukium 2024-07-06 00:17:13 +09:00
parent 7a631a4434
commit b55d56cbc9
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53

View File

@ -36,22 +36,18 @@ buildPythonPackage rec {
hash = "sha256-zAjGVICrYgai6GFpcJyigKxn7kNEZKclggR5ktzrCQ0=";
};
pythonRelaxDeps = [ "clarifai-grpc" ];
pythonRemoveDeps = [ "opencv-python" ];
pythonRelaxDeps = [
"clarifai-grpc"
"schema"
];
build-system = [ setuptools ];
dependencies = [
clarifai-grpc
inquirerpy
llama-index-core
numpy
opencv4
pandas
pillow
pypdf
pyyaml
rich
schema
@ -73,6 +69,8 @@ buildPythonPackage rec {
disabledTests = [
# Test requires network access and API key
"test_export_workflow_general"
"test_validate_invalid_id"
"test_validate_invalid_hex_id"
];
disabledTestPaths = [