Skip to content

Commit

Permalink
convenience: add pyarrow to polars install (#3292)
Browse files Browse the repository at this point in the history
## 📝 Summary

<!--
Provide a concise summary of what this pull request is addressing.

If this PR fixes any issues, list them here by number (e.g., Fixes
#123).
-->
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

<!--
Detail the specific changes made in this pull request. Explain the
problem addressed and how it was resolved. If applicable, provide before
and after comparisons, screenshots, or any relevant details to help
reviewers understand the changes easily.
-->

## 📋 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

<!--
Tag potential reviewers from the community or maintainers who might be
interested in reviewing this pull request.

Your PR will be reviewed more quickly if you can figure out the right
person to tag with @ -->

@akshayka OR @mscolnick
  • Loading branch information
Light2Dark authored Dec 26, 2024
1 parent f215981 commit da3b0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit da3b0a7

Please sign in to comment.