From b22147476c8e81dc8ffb907407d9758d87cfa9f3 Mon Sep 17 00:00:00 2001 From: "zhaojing.jz" Date: Mon, 11 May 2026 10:53:04 +0800 Subject: [PATCH] Bump sqlglot[c] from 30.4.3 to 30.7.0 to fix has_bit_strings TypeError sqlglot 30.4.3 ships a mypyc-compiled tokenizer_core.cpython-*.so where the Python wrapper does not pass the has_bit_strings argument to the compiled extension, causing a TypeError on any statement that triggers sqlglot.tokenize() (e.g. show databases). sqlglot 30.7.0 (released 2026-05-04) fixes this issue. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0171c274..2f0af2d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ dependencies = [ "prompt_toolkit>=3.0.41,<4.0.0", "PyMySQL ~= 1.1.2", "sqlparse>=0.3.0,<0.6.0", - "sqlglot[c] ~= 30.4.3", + "sqlglot[c] ~= 30.7.0", "configobj ~= 5.0.9", "cli_helpers[styles] ~= 2.14.0", "wcwidth ~= 0.6.0",