Loading pkgs/development/python-modules/lancedb/default.nix +13 −6 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ buildPythonPackage, fetchFromGitHub, rustPlatform, pythonAtLeast, # buildInputs openssl, Loading Loading @@ -105,7 +106,13 @@ buildPythonPackage rec { disabledTestMarks = [ "slow" ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ disabledTests = lib.optionals (pythonAtLeast "3.14") [ # TypeError: Converting Pydantic type to Arrow Type: unsupported type # <class 'test_pydantic.test_optional_nested_model.<locals>.WALocation'>. "test_optional_nested_model" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Flaky (even when the sandbox is disabled): # FileNotFoundError: [Errno 2] Cannot delete directory '/nix/var/nix/builds/nix-41395-654732360/.../test.lance/_indices/fts': # Cannot get information for path '/nix/var/nix/builds/nix-41395-654732360/.../test.lance/_indices/fts/.tmppyKXfw' Loading pkgs/development/python-modules/pylance/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ buildPythonPackage, fetchFromGitHub, rustPlatform, pythonAtLeast, # nativeBuildInputs pkg-config, Loading Loading @@ -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"; Loading @@ -52,7 +53,7 @@ buildPythonPackage rec { src sourceRoot ; hash = "sha256-dPfj8Zd5+pW4Xe6IFaOcvcJdzcuC6qURSNJRcbceoHg="; hash = "sha256-5ngkyjzxQ2NVxst3t7U18hdZ5zHNo0gjv0dif9HlyhU="; }; nativeBuildInputs = [ Loading Loading @@ -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" Loading Loading
pkgs/development/python-modules/lancedb/default.nix +13 −6 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ buildPythonPackage, fetchFromGitHub, rustPlatform, pythonAtLeast, # buildInputs openssl, Loading Loading @@ -105,7 +106,13 @@ buildPythonPackage rec { disabledTestMarks = [ "slow" ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ disabledTests = lib.optionals (pythonAtLeast "3.14") [ # TypeError: Converting Pydantic type to Arrow Type: unsupported type # <class 'test_pydantic.test_optional_nested_model.<locals>.WALocation'>. "test_optional_nested_model" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Flaky (even when the sandbox is disabled): # FileNotFoundError: [Errno 2] Cannot delete directory '/nix/var/nix/builds/nix-41395-654732360/.../test.lance/_indices/fts': # Cannot get information for path '/nix/var/nix/builds/nix-41395-654732360/.../test.lance/_indices/fts/.tmppyKXfw' Loading
pkgs/development/python-modules/pylance/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ buildPythonPackage, fetchFromGitHub, rustPlatform, pythonAtLeast, # nativeBuildInputs pkg-config, Loading Loading @@ -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"; Loading @@ -52,7 +53,7 @@ buildPythonPackage rec { src sourceRoot ; hash = "sha256-dPfj8Zd5+pW4Xe6IFaOcvcJdzcuC6qURSNJRcbceoHg="; hash = "sha256-5ngkyjzxQ2NVxst3t7U18hdZ5zHNo0gjv0dif9HlyhU="; }; nativeBuildInputs = [ Loading Loading @@ -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" Loading