From d075c62691342f7efa0e740c323183fac7b81943 Mon Sep 17 00:00:00 2001 From: Carson Date: Wed, 15 Apr 2026 11:34:59 -0500 Subject: [PATCH] fix: add minimum narwhals version constraint (>=2.2.0) querychat imports `IntoLazyFrameT` from `narwhals.stable.v1.typing`, which was introduced in narwhals 2.2.0. Without a lower bound, resolvers can pick older versions that don't export this type, causing ImportError at runtime. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8bf5ddd6..b3bb4889 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ "shinychat>=0.2.8", "htmltools", "chatlas>=0.13.2", - "narwhals", + "narwhals>=2.2.0", "chevron", "sqlalchemy>=2.0.0", # Using 2.0+ for improved type hints and API "great-tables>=0.16.0",