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.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## 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).

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
PhorstenkampFuzzy
2025-04-14 18:28:16 +02:00
committed by GitHub
parent b3a4efd587
commit a6fa69ab89

View File

@@ -43,6 +43,9 @@ classifiers = [
repository = "https://github.com/lancedb/lancedb"
[project.optional-dependencies]
pylance = [
"pylance>=0.23.2",
]
tests = [
"aiohttp",
"boto3",