Unverified Commit b76b0b1d authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python312Packages.pylance: 0.26.1 -> 0.27.1 (#408302)

parents f0d925b9 0c47bd2a
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
  torch,

  # tests
  datafusion,
  duckdb,
  ml-dtypes,
  pandas,
@@ -31,14 +32,14 @@

buildPythonPackage rec {
  pname = "pylance";
  version = "0.26.1";
  version = "0.27.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "lancedb";
    repo = "lance";
    tag = "v${version}";
    hash = "sha256-peTfrSDByfqg3jiSK8FZr7m+/Mu/mCqeZhR/902Qp4s=";
    hash = "sha256-fk32CnWH9wVKfTgT2Es6+tnvB+rPzkA8in0J726JHx0=";
  };

  sourceRoot = "${src.name}/python";
@@ -50,7 +51,7 @@ buildPythonPackage rec {
      src
      sourceRoot
      ;
    hash = "sha256-UZ2a7bhK+rJ2jMw9hqyfHjfGRrmG/eB7thjkfguU11o=";
    hash = "sha256-N7ODbv+q9xX8lb4vvUzMGTul/whNw+dVrBp/YcEaREI=";
  };

  nativeBuildInputs = [
@@ -83,6 +84,7 @@ buildPythonPackage rec {
  pythonImportsCheck = [ "lance" ];

  nativeCheckInputs = [
    datafusion
    duckdb
    ml-dtypes
    pandas
@@ -101,6 +103,13 @@ buildPythonPackage rec {
      # Writes to read-only build directory
      "test_add_data_storage_version"
      "test_fix_data_storage_version"

      # AttributeError: 'SessionContext' object has no attribute 'register_table_provider'
      "test_table_loading"

      # subprocess.CalledProcessError: Command ... returned non-zero exit status 1.
      # ModuleNotFoundError: No module named 'lance'
      "test_tracing"
    ]
    ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
      # OSError: LanceError(IO): Resources exhausted: Failed to allocate additional 1245184 bytes for ExternalSorter[0]...