From 3966b16b6313e42c510d4da2f16a0130b74f1191 Mon Sep 17 00:00:00 2001 From: Weston Pace Date: Tue, 11 Mar 2025 06:13:52 -0700 Subject: [PATCH] fix: restore pylance as mandatory dependency (#2204) We attempted to make pylance optional in https://github.com/lancedb/lancedb/pull/2156 but it appears this did not quite work. Users are unable to use lancedb from a fresh install. This reverts the optional-ness so we can get back in a working state while we fix the issue. --- python/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index b9f02dd0..64b73c33 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -9,6 +9,7 @@ dependencies = [ "pydantic>=1.10", "packaging", "overrides>=0.7", + "pylance>=0.23.2", ] description = "lancedb" authors = [{ name = "LanceDB Devs", email = "dev@lancedb.com" }] @@ -54,7 +55,6 @@ tests = [ "polars>=0.19, <=1.3.0", "tantivy", "pyarrow-stubs", - "pylance>=0.23.2", ] dev = [ "ruff",