diff options
Diffstat (limited to 'pkgs/development/python-modules/clarifai/default.nix')
-rw-r--r-- | pkgs/development/python-modules/clarifai/default.nix | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/clarifai/default.nix b/pkgs/development/python-modules/clarifai/default.nix index 1c7b15ca241f0..f3fb349f412d3 100644 --- a/pkgs/development/python-modules/clarifai/default.nix +++ b/pkgs/development/python-modules/clarifai/default.nix @@ -4,16 +4,11 @@ clarifai-grpc, fetchFromGitHub, inquirerpy, - llama-index-core, numpy, - opencv4, - pandas, pillow, pycocotools, - pypdf, pytestCheckHook, pythonOlder, - pythonRelaxDepsHook, pyyaml, rich, schema, @@ -25,7 +20,7 @@ buildPythonPackage rec { pname = "clarifai"; - version = "10.5.2"; + version = "10.7.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -34,26 +29,21 @@ buildPythonPackage rec { owner = "Clarifai"; repo = "clarifai-python"; rev = "refs/tags/${version}"; - hash = "sha256-zAjGVICrYgai6GFpcJyigKxn7kNEZKclggR5ktzrCQ0="; + hash = "sha256-a/twKAwlvn017fqUsDBOcDxoZ63W0p6whQf53wlXFRU="; }; - pythonRelaxDeps = [ "clarifai-grpc" ]; - - pythonRemoveDeps = [ "opencv-python" ]; + pythonRelaxDeps = [ + "clarifai-grpc" + "schema" + ]; build-system = [ setuptools ]; - nativeBuildInputs = [ pythonRelaxDepsHook ]; - dependencies = [ clarifai-grpc inquirerpy - llama-index-core numpy - opencv4 - pandas pillow - pypdf pyyaml rich schema @@ -75,6 +65,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 = [ |