From e61b1047fbce1d721d6704d6d1812e84498d26c2 Mon Sep 17 00:00:00 2001 From: mday-io Date: Mon, 23 Nov 2026 09:44:43 -0500 Subject: [PATCH] fix(snowflake): require snowflake-snowpark-python>=1.0.0 snowflake-connector-python 5.x (5.2.0 released 2026-11-04) is not installable alongside any snowflake-snowpark-python 1.x, which all pin connector<5. With no floor on snowpark, resolvers keep connector 5.x and fall back to snowpark 0.12.0, the only release without a connector cap. That release imports snowflake.connector.options, which no longer exists, so the Snowpark session is None. This broke engine-tests-cloud (snowflake) on main from 2026-11-04 and affects a fresh `pip install sqlmesh[snowflake]` the same way. A floor of 1.0.0 makes the resolver pick connector 4.x with a current Snowpark. Signed-off-by: mday-io --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3668b4cb6b..6eda76bf4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -133,7 +133,7 @@ slack = ["slack_sdk"] snowflake = [ "cryptography", "snowflake-connector-python[pandas,secure-local-storage]", - "snowflake-snowpark-python", + "snowflake-snowpark-python>=1.0.0", ] starrocks = ["pymysql"] trino = ["trino"]