From da3b0a7b6f2e235cc945cb353334228b2f9e3874 Mon Sep 17 00:00:00 2001 From: Shahmir Varqha Date: Fri, 27 Dec 2024 02:57:12 +0800 Subject: [PATCH] convenience: add pyarrow to polars install (#3292) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 📝 Summary If you don't install pyarrow, Marimo will throw a `ModuleNotFoundError` and ask you to install pyarrow. Fix is to follow this guide: https://duckdb.org/docs/guides/python/polars.html Not sure if we can update the versioning of the packages. ## 🔍 Description of Changes ## 📋 Checklist - [X] I have read the [contributor guidelines](https://github.com/marimo-team/marimo/blob/main/CONTRIBUTING.md). - [ ] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on [Discord](https://marimo.io/discord?ref=pr), or the community [discussions](https://github.com/marimo-team/marimo/discussions) (Please provide a link if applicable). - [ ] I have added tests for the changes made. - [X] I have run the code and verified that it works as expected. ## 📜 Reviewers @akshayka OR @mscolnick --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e96cce4acba..74bec2c56ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,7 @@ marimo = "marimo._cli.cli:main" homepage = "https://github.com/marimo-team/marimo" [project.optional-dependencies] -sql = ["duckdb >= 1.0.0", "polars >= 1.9.0"] +sql = ["duckdb >= 1.0.0", "polars[pyarrow] >= 1.9.0"] # List of deps that are recommended for most users # in order to unlock all features in marimo recommended = [