From c725fec6c7c7507b7b44199cd3b61fa82e4ab664 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 30 Dec 2025 22:56:18 +0000 Subject: [PATCH] python3Packages.pylance: 1.0.0 -> 1.0.1 Diff: https://github.com/lancedb/lance/compare/v1.0.0...v1.0.1 Changelog: https://github.com/lancedb/lance/releases/tag/v1.0.1 --- pkgs/development/python-modules/pylance/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pylance/default.nix b/pkgs/development/python-modules/pylance/default.nix index 266c5ca35406..fedf0cade6e5 100644 --- a/pkgs/development/python-modules/pylance/default.nix +++ b/pkgs/development/python-modules/pylance/default.nix @@ -4,6 +4,7 @@ buildPythonPackage, fetchFromGitHub, rustPlatform, + pythonAtLeast, # nativeBuildInputs pkg-config, @@ -33,14 +34,14 @@ buildPythonPackage rec { pname = "pylance"; - version = "1.0.0"; + version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "lancedb"; repo = "lance"; tag = "v${version}"; - hash = "sha256-SPvJHa8oVgydWSvTR7RWF3ojKmz4BOJgo1fiwjCtYLU="; + hash = "sha256-S/zVpsfoQG9NYnJyAJm+a0LllVE/lfaCua+NA9DGIsw="; }; sourceRoot = "${src.name}/python"; @@ -52,7 +53,7 @@ buildPythonPackage rec { src sourceRoot ; - hash = "sha256-dPfj8Zd5+pW4Xe6IFaOcvcJdzcuC6qURSNJRcbceoHg="; + hash = "sha256-5ngkyjzxQ2NVxst3t7U18hdZ5zHNo0gjv0dif9HlyhU="; }; nativeBuildInputs = [ @@ -101,6 +102,11 @@ buildPythonPackage rec { cd python/tests ''; + pytestFlags = lib.optionals (pythonAtLeast "3.14") [ + # DeprecationWarning: '_UnionGenericAlias' is deprecated and slated for removal in Python 3.17 + "-Wignore::DeprecationWarning" + ]; + disabledTests = [ # Hangs indefinitely "test_all_permutations"