A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
upgrade sqlglot to use c-bindings (#8442)
Shahmir Varqha08d8006d65cc
diff --git a/docs/getting_started/installation.md b/docs/getting_started/installation.mdindex f8150ee051..44febc2356 100644--- a/docs/getting_started/installation.md+++ b/docs/getting_started/installation.md@@ -131,7 +131,7 @@ uv add "marimo[recommended]"/// tab | install with conda```bash-conda install -c conda-forge marimo "duckdb>=1.0.0" "altair>=5.4.0" pyarrow "polars>=1.9.0" "sqlglot[rs]>=23.4" "openai>=1.55.3" "ruff" "nbformat>=5.7.0" "vegafusion>=2.0.0" "vl-convert-python>=1.0.0"+conda install -c conda-forge marimo "duckdb>=1.0.0" "altair>=5.4.0" pyarrow "polars>=1.9.0" "sqlglot[c]>=23.4" "openai>=1.55.3" "ruff" "nbformat>=5.7.0" "vegafusion>=2.0.0" "vl-convert-python>=1.0.0"```///@@ -143,7 +143,7 @@ Installing marimo in this way installs the following additional dependencies and| duckdb>=1.0.0 | SQL cells || altair>=5.4.0 | Plotting in datasource viewer || polars[pyarrow]>=1.9.0 | SQL output back in Python |-| sqlglot[rs]>=23.4 | SQL cells parsing |+| sqlglot[c]>=23.4 | SQL cells parsing || openai>=1.55.3 | AI features || ruff | Formatting || nbformat>=5.7.0 | Export as IPYNB |diff --git a/pyproject.toml b/pyproject.tomlindex 617ffbf97f..2ff20ff055 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -84,7 +84,7 @@ marimo_converter = "marimo._utils.docs:MarimoConverter"sql = ["duckdb>=1.0.0", # SQL cells"polars[pyarrow]>=1.9.0", # SQL output back in Python- "sqlglot[rs]>=26.2.0,<28.7.0" # SQL cells parsing; <28.7.0 due to ibis compatibility issue+ "sqlglot[c]>=26.2.0" # SQL cells parsing;]# For per-notebook sandboxed kernels@@ -123,7 +123,7 @@ dev = ["opentelemetry-sdk~=1.28.0",# For SQL"duckdb>=1.0.0",- "sqlglot[rs]>=26.2.0",+ "sqlglot[c]>=26.2.0",# Stubs for optional dataframe backends"pyarrow-stubs",# For linting@@ -168,7 +168,7 @@ test-optional = ["altair>=5.4.0","plotly>=5.14.0","polars>=1.32.2",- "sqlglot[rs]>=26.2.0,<28.7.0", # <28.7.0 due to ibis compatibility issue+ "sqlglot[c]>=26.2.0","sqlalchemy>=2.0.40","obstore>=0.8.2","fsspec>=2026.2.0",@@ -246,7 +246,7 @@ dependencies = ["duckdb>=1.0.0","narwhals>=2.0.0","matplotlib>=3.8.0",- "sqlglot[rs]>=26.2.0",+ "sqlglot[c]>=26.2.0","sqlalchemy>=2.0.40","obstore>=0.8.2","fsspec>=2026.2.0",diff --git a/tests/snapshots/optional-dependencies-sql.txt b/tests/snapshots/optional-dependencies-sql.txtindex b43108d120..d050243cd9 100644--- a/tests/snapshots/optional-dependencies-sql.txt+++ b/tests/snapshots/optional-dependencies-sql.txt@@ -1,3 +1,3 @@duckdb>=1.0.0polars[pyarrow]>=1.9.0-sqlglot[rs]>=26.2.0,<28.7.0\ No newline at end of file+sqlglot[c]>=26.2.0\ No newline at end of file