From a6fa69ab896b6158d7612886e2c07f36c15a0dce Mon Sep 17 00:00:00 2001 From: PhorstenkampFuzzy <106159868+PhorstenkampFuzzy@users.noreply.github.com> Date: Mon, 14 Apr 2025 18:28:16 +0200 Subject: [PATCH] fix(python): add pylance as its own optional dependency (#2336) This change allows to centrally manage the plance depndency without everybody needing to monitor for compatibility manually. ## Summary by CodeRabbit - **New Features** - Introduced an optional dependency that enhances development support. Users can now benefit from improved static analysis capabilities when installing the recommended version (0.23.2 or later). --- python/pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/pyproject.toml b/python/pyproject.toml index 22c0e591..d36417f6 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -43,6 +43,9 @@ classifiers = [ repository = "https://github.com/lancedb/lancedb" [project.optional-dependencies] +pylance = [ + "pylance>=0.23.2", +] tests = [ "aiohttp", "boto3",