From 0151114bb654ee6715fc707f95a6f14cae7c0acf Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 19 Jun 2025 22:47:42 +0200 Subject: [PATCH] python3Packages.pylance: 0.29.0 -> 0.30.0 Diff: https://github.com/lancedb/lance/compare/refs/tags/v0.29.0...refs/tags/v0.30.0 Changelog: https://github.com/lancedb/lance/releases/tag/v0.30.0 --- .../python-modules/pylance/default.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pylance/default.nix b/pkgs/development/python-modules/pylance/default.nix index 1f9faf26245c..cf6586cf512e 100644 --- a/pkgs/development/python-modules/pylance/default.nix +++ b/pkgs/development/python-modules/pylance/default.nix @@ -32,14 +32,14 @@ buildPythonPackage rec { pname = "pylance"; - version = "0.29.0"; + version = "0.30.0"; pyproject = true; src = fetchFromGitHub { owner = "lancedb"; repo = "lance"; tag = "v${version}"; - hash = "sha256-lEGxutBKbRFqr9Uhdv2oOXCdb8Y2quqLoSoJ0F+F3h0="; + hash = "sha256-Bs0xBRAehAzLEHvsGIFPX6y1msvfhkTbBRPMggbahxE="; }; sourceRoot = "${src.name}/python"; @@ -51,7 +51,7 @@ buildPythonPackage rec { src sourceRoot ; - hash = "sha256-NZeFgEWkiDewWI5R+lpBsMTU7+7L7oaHefSGAS+CoFU="; + hash = "sha256-ZUS83iuaC7IkwhAplTSHTqaa/tHO1Kti4rSQDuRgX98="; }; nativeBuildInputs = [ @@ -114,6 +114,17 @@ buildPythonPackage rec { # Flaky (AssertionError) "test_index_cache_size" + + # OSError: LanceError(IO): Failed to initialize default tokenizer: + # An invalid argument was passed: + # 'LinderaError { kind: Parse, source: failed to build tokenizer: LinderaError(kind=Io, source=No such file or directory (os error 2)) }', /build/source/rust/lance-index/src/scalar/inverted/tokenizer/lindera.rs:63:21 + "test_lindera_load_config_fallback" + + # OSError: LanceError(IO): Failed to load tokenizer config + "test_indexed_filter_with_fts_index_with_lindera_ipadic_jp_tokenizer" + "test_lindera_ipadic_jp_tokenizer_bin_user_dict" + "test_lindera_ipadic_jp_tokenizer_csv_user_dict" + "test_lindera_load_config_priority" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # OSError: LanceError(IO): Resources exhausted: Failed to allocate additional 1245184 bytes for ExternalSorter[0]...