Unverified Commit 5d077fc1 authored by Greg Hellings's avatar Greg Hellings Committed by natsukium
Browse files

python312Packages.lancedb: 0.13.0 -> 0.14.0

parent a88db7d6
Loading
Loading
Loading
Loading
+401 −412

File changed.

Preview size limit exceeded, changes collapsed.

+19 −10
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
  fetchFromGitHub,
  darwin,
  libiconv,
  openssl,
  pkg-config,
  protobuf,
  attrs,
@@ -28,14 +29,14 @@

buildPythonPackage rec {
  pname = "lancedb";
  version = "0.13.0";
  version = "0.14.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "lancedb";
    repo = "lancedb";
    rev = "refs/tags/python-v${version}";
    hash = "sha256-6E20WgyoEALdxmiOfgq89dCkqovvIMzc/wy+kvjDWwU=";
    hash = "sha256-lw2tZ26Py6JUxuetaokJKnxOv/WoLK4spxssLKxvxJA=";
  };

  buildAndTestSubdir = "python";
@@ -50,13 +51,14 @@ buildPythonPackage rec {

  nativeBuildInputs = [
    pkg-config
    protobuf
    rustPlatform.cargoSetupHook
  ];

  buildInputs =
    [
      libiconv
      protobuf
      openssl
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin (
      with darwin.apple_sdk.frameworks;
@@ -96,13 +98,20 @@ buildPythonPackage rec {

  pytestFlagsArray = [ "-m 'not slow'" ];

  disabledTests = [
  disabledTests =
    [
      # require tantivy which is not packaged in nixpkgs
      "test_basic"

      # polars.exceptions.ComputeError: TypeError: _scan_pyarrow_dataset_impl() got multiple values for argument 'batch_size'
      # https://github.com/lancedb/lancedb/issues/1539
      "test_polars"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # fail with darwin sandbox
      "test_async_remote_db"
      "test_http_error"
      "test_retry_error"
    ];

  disabledTestPaths = [
+3 −1
Original line number Diff line number Diff line
@@ -6887,7 +6887,9 @@ self: super: with self; {
    inherit (pkgs) lammps;
  };
  lancedb = callPackage ../development/python-modules/lancedb { };
  lancedb = callPackage ../development/python-modules/lancedb {
    inherit (pkgs) protobuf;
  };
  langchain = callPackage ../development/python-modules/langchain { };