Commit b3246705 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.clarifai: 10.1.1 -> 10.2.1

parent 5fb1b865
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -17,13 +17,14 @@
, rich
, schema
, setuptools
, tabulate
, tqdm
, tritonclient
}:

buildPythonPackage rec {
  pname = "clarifai";
  version = "10.1.1";
  version = "10.2.1";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -32,7 +33,7 @@ buildPythonPackage rec {
    owner = "Clarifai";
    repo = "clarifai-python";
    rev = "refs/tags/${version}";
    hash = "sha256-36XceC40cL0SywY0Mus/s8OCO0ujWqxEIKZW+fvd7lw=";
    hash = "sha256-jI85xMApeEd0Hl6h4Am5qxWoSSTWHsmb7FxUjJPmBQM=";
  };

  pythonRelaxDeps = [
@@ -43,12 +44,12 @@ buildPythonPackage rec {
    "opencv-python"
  ];

  nativeBuildInputs = [
  build-system = [
    pythonRelaxDepsHook
    setuptools
  ];

  propagatedBuildInputs = [
  dependencies = [
    clarifai-grpc
    inquirerpy
    llama-index-core
@@ -60,6 +61,7 @@ buildPythonPackage rec {
    pyyaml
    rich
    schema
    tabulate
    tqdm
    tritonclient
  ];
@@ -87,6 +89,7 @@ buildPythonPackage rec {
    # Tests require network access and API key
    "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_search.py"
@@ -102,10 +105,10 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Clarifai Python Utilities";
    mainProgram = "clarifai";
    homepage = "https://github.com/Clarifai/clarifai-python";
    changelog = "https://github.com/Clarifai/clarifai-python/releases/tag/${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ natsukium ];
    mainProgram = "clarifai";
  };
}