Unverified Commit c53157f3 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

python3Packages.marqo: init at 3.11.0 (#335519)

parents b35afb8c 887a02ef
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -16522,6 +16522,13 @@
    githubId = 56316606;
    name = "Amneesh Singh";
  };
  naufik = {
    email = "naufal@naufik.net";
    github = "naufik";
    githubId = 8577904;
    name = "Naufal Fikri";
    keys = [ { fingerprint = "1575 D651 E31EC 6117A CF0AA C1A3B 8BBC A515 8835"; } ];
  };
  naxdy = {
    name = "Naxdy";
    email = "naxdy@naxdy.org";
+78 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
  requests,
  packaging,
  pydantic,
  typing-extensions,
  requests-mock,
}:

buildPythonPackage rec {
  name = "marqo";
  version = "3.11.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "marqo-ai";
    repo = "py-marqo";
    rev = "refs/tags/${version}";
    hash = "sha256-8BcYJZ7tXkuvtQzopZO9bvLXAJQdd8MnQflVTawTaw0=";
  };

  build-system = [ setuptools ];

  nativeCheckInputs = [
    pytestCheckHook
    requests-mock
    typing-extensions
  ];

  disabledTestPaths = [
    # Tests require network
    "tests/v2_tests/test_tensor_search.py"
    "tests/v2_tests/test_client.py"
    "tests/v2_tests/test_get_settings.py"
    "tests/v2_tests/test_tensor_search.py"
    "tests/v2_tests/test_add_documents.py"
    "tests/v2_tests/test_delete_documents.py"
    "tests/v2_tests/test_demos.py"
    "tests/v2_tests/test_custom_vector_search.py"
    "tests/v2_tests/test_create_index.py"
    "tests/v2_tests/test_image_chunking.py"
    "tests/v2_tests/test_telemetry.py"
    "tests/v2_tests/test_score_modifier_search.py"
    "tests/v2_tests/test_model_cache_management.py"
    "tests/v2_tests/test_embed.py"
    "tests/v2_tests/test_index_init_logging.py"
    "tests/v2_tests/test_marqo_cloud_instance_mapping.py"
    "tests/v2_tests/test_index_manipulation_features.py"
    "tests/v2_tests/test_index.py"
    "tests/v2_tests/test_get_indexes.py"
    "tests/v2_tests/test_hybrid_search.py"
    "tests/v2_tests/test_logging.py"
    "tests/v2_tests/test_recommend.py"
  ];

  dependencies = [
    packaging
    pydantic
    requests

  ];

  pythonRemoveDeps = [ "urllib3" ];

  pythonImportsCheck = [ "marqo" ];

  meta = with lib; {
    description = "Unified embedding generation and search engine";
    homepage = "https://marqo.ai";
    changelog = "https://github.com/marqo-ai/py-marqo/releases/tag/${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ naufik ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8113,6 +8113,8 @@ self: super: with self; {
  markups = callPackage ../development/python-modules/markups { };
  marqo = callPackage ../development/python-modules/marqo { };
  marshmallow = callPackage ../development/python-modules/marshmallow { };
  marshmallow-dataclass = callPackage ../development/python-modules/marshmallow-dataclass { };