From 36398ca28326475d3eef938539a70e5d942a6eb5 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 30 Mar 2026 22:11:19 +0000 Subject: [PATCH 1/2] python3Packages.pylance: 3.0.1 -> 4.0.0 Diff: https://github.com/lancedb/lance/compare/v3.0.1...v4.0.0 Changelog: https://github.com/lancedb/lance/releases/tag/v4.0.0 --- pkgs/development/python-modules/pylance/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pylance/default.nix b/pkgs/development/python-modules/pylance/default.nix index 70be656ae915..9df2ae84c750 100644 --- a/pkgs/development/python-modules/pylance/default.nix +++ b/pkgs/development/python-modules/pylance/default.nix @@ -34,14 +34,14 @@ buildPythonPackage (finalAttrs: { pname = "pylance"; - version = "3.0.1"; + version = "4.0.0"; pyproject = true; src = fetchFromGitHub { owner = "lancedb"; repo = "lance"; tag = "v${finalAttrs.version}"; - hash = "sha256-zlD6jHMpgk4gvMjBizZP2VV0zM6iKaatIq6PbBKWaJ8="; + hash = "sha256-Z7lgK7sIeZCL8VXfmwC8G1f7cBqG2nfFM3oyJZfmNQ4="; }; sourceRoot = "${finalAttrs.src.name}/python"; @@ -53,7 +53,7 @@ buildPythonPackage (finalAttrs: { src sourceRoot ; - hash = "sha256-+4UVY4JjQsVT+S5+j9PEXoFuiZhrrelSEfY8EvXp/Sk="; + hash = "sha256-hZEcTo4B3+viRwWExkaguq+c7DejjaouNf0+L96rms4="; }; nativeBuildInputs = [ @@ -151,6 +151,9 @@ buildPythonPackage (finalAttrs: { ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # OSError: LanceError(IO): Resources exhausted: Failed to allocate additional 1245184 bytes for ExternalSorter[0]... "test_merge_insert_large" + + # RuntimeError: Failed to initialize cpuinfo! + "test_index_cast_centroids" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Build hangs after all the tests are run due to a torch subprocess not exiting From 734c604f30e25dfe4e5c64d5e8cf7523c620c0bd Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 5 Apr 2026 10:20:48 +0000 Subject: [PATCH 2/2] python3Packages.lancedb: 0.30.1 -> 0.30.2 Diff: https://github.com/lancedb/lancedb/compare/python-v0.30.1...python-v0.30.2 Changelog: https://github.com/lancedb/lancedb/releases/tag/python-v0.30.2 --- pkgs/development/python-modules/lancedb/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/lancedb/default.nix b/pkgs/development/python-modules/lancedb/default.nix index ded3466b2ea0..5fa068355a65 100644 --- a/pkgs/development/python-modules/lancedb/default.nix +++ b/pkgs/development/python-modules/lancedb/default.nix @@ -42,21 +42,21 @@ buildPythonPackage (finalAttrs: { pname = "lancedb"; - version = "0.30.1"; + version = "0.30.2"; pyproject = true; src = fetchFromGitHub { owner = "lancedb"; repo = "lancedb"; tag = "python-v${finalAttrs.version}"; - hash = "sha256-LzuzVl6cTkn1Owd91bHi5JS43KZUhd/ZD9biS21MdVs="; + hash = "sha256-k7eVUOnriR91DqVRJP7N9VG75bHAzbDB8bHFLFi5h1w="; }; buildAndTestSubdir = "python"; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-U5wpWN6e26187DYeT85l6TxBnUu8rD+UzE98OIkretc="; + hash = "sha256-yux18lKMaNOmrmVOYNMo5MMNAO0at5g/0eEsjF97Pes="; }; build-system = [ rustPlatform.maturinBuildHook ];