This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hudi-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 1282860c fix(python): compile the datafusion feature into every python
build (#714)
1282860c is described below
commit 1282860cd0ce78c621ca9a03081b2392b993ee9a
Author: Y Ethan Guo <[email protected]>
AuthorDate: Thu Sep 3 19:20:23 2026 -0700
fix(python): compile the datafusion feature into every python build (#714)
---
python/pyproject.toml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/python/pyproject.toml b/python/pyproject.toml
index a6b345e7..11253b1d 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -58,6 +58,10 @@ datafusion = [
[tool.maturin]
module-name = "hudi._internal"
+# hudi/__init__.py exports HudiDataFusionDataSource unconditionally, so every
+# build (wheel or from-sdist) must compile the datafusion feature or the
+# resulting package fails on `import hudi`.
+features = ["datafusion"]
[tool.ruff]
target-version = 'py310'