From 4b4974d53413091012fb9acd849338bf4d70c000 Mon Sep 17 00:00:00 2001 From: Nezar Abdennur Date: Wed, 25 Mar 2026 05:32:03 -0400 Subject: [PATCH] Pin sqlglot <30 to fix broken spatial operator parsing sqlglot 30.x introduced breaking changes to the expression class hierarchy (Expr vs Expression split) and Parser.expression() API that cause GIQL's custom expression nodes to fail at parse time. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1875420..480cf1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ authors = [ { name = "Conrad Bzura", email = "conradbzura@gmail.com" }, ] dependencies = [ - "sqlglot>=20.0.0", + "sqlglot>=20.0.0,<30", ] description = "Genomic Interval Query Language - SQL dialect for genomic range queries" dynamic = ["version"] @@ -84,6 +84,6 @@ pytest = ">=7.0.0" pytest-cov = ">=4.0.0" duckdb = ">=1.4.0" pandas = ">=2.0.0" -sqlglot = ">=20.0.0" +sqlglot = ">=20.0.0,<30" pip = "*" hypothesis = ">=6.148.2,<7"