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 2e92bdd2 build(deps-dev): bump ruff from 0.15.18 to 0.17.1 in /python
(#841)
2e92bdd2 is described below
commit 2e92bdd2e34d505aa9d9b9b181299fc27197a38b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Fri Oct 23 22:55:59 2026 -0700
build(deps-dev): bump ruff from 0.15.18 to 0.17.1 in /python (#841)
* build(deps-dev): bump ruff from 0.15.18 to 0.17.1 in /python
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.18 to 0.17.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.18...0.17.1)
---
updated-dependencies:
- dependency-name: ruff
dependency-version: 0.17.1
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
* style(python): reformat markdown code blocks for ruff 0.17
ruff 0.17 formats fenced Python code blocks in Markdown, so
`ruff format --check` now flags python/AGENTS.md for the missing blank
lines between top-level functions.
---------
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Y Ethan Guo <[email protected]>
---
python/AGENTS.md | 2 ++
python/pyproject.toml | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/python/AGENTS.md b/python/AGENTS.md
index e50298b6..158bd622 100644
--- a/python/AGENTS.md
+++ b/python/AGENTS.md
@@ -55,11 +55,13 @@ Tests in `python/tests/`.
import pytest
from hudi import HudiReadOptions, HudiTableBuilder
+
def test_read_snapshot_with_filters():
table = HudiTableBuilder.from_base_uri("/tmp/test").build()
batches = table.read(HudiReadOptions(filters=[("city", "=", "test")]))
assert len(batches) > 0
+
def test_invalid_path_raises():
with pytest.raises(RuntimeError, match="Failed to"):
HudiTableBuilder.from_base_uri("/nonexistent").build()
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 77dbd399..bfa5b53a 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -45,12 +45,12 @@ dynamic = ["version"]
devel = [
"pytest==9.1.1",
"coverage==7.16.2",
- "ruff==0.15.18",
+ "ruff==0.17.1",
"mypy==2.4.0",
"pre-commit",
]
lint = [
- "ruff==0.15.18",
+ "ruff==0.17.1",
"mypy==2.4.0",
]
datafusion = [