Unverified Commit 95a41bc0 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python312Packages.pylance: 0.17.0 -> 0.18.2; python312Packages.lancedb: 0.13.0 -> 0.14.0 (#352139)

parents 8c3507a2 5d077fc1
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 = [
+272 −254

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -35,14 +35,14 @@

buildPythonPackage rec {
  pname = "pylance";
  version = "0.17.0";
  version = "0.18.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "lancedb";
    repo = "lance";
    rev = "refs/tags/v${version}";
    hash = "sha256-E+29CbVNbzmrQnBZt0860IvL4xYZqzE+uzSuKDwgxzg=";
    hash = "sha256-CIIZbeRrraTqWronkspDpBVP/Z4JVoaiS5iBIXfsZGg=";
  };

  buildAndTestSubdir = "python";
+3 −1
Original line number Diff line number Diff line
@@ -6905,7 +6905,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 { };