From 04b00452960e9304b072bcfdd13a63999c9975ef Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Thu, 4 Sep 2025 15:41:46 -0700 Subject: [PATCH] pin datafusion and unpin pyarrow --- bindings/python/pyproject.toml | 2 +- bindings/python/tests/test_datafusion_table_provider.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/python/pyproject.toml b/bindings/python/pyproject.toml index 346ee168da..85af1e000d 100644 --- a/bindings/python/pyproject.toml +++ b/bindings/python/pyproject.toml @@ -44,7 +44,7 @@ python-source = "python" ignore = ["F403", "F405"] [tool.hatch.envs.dev] -dependencies = ["maturin>=1.0,<2.0", "pytest>=8.3.2", "pyarrow==16.*", "datafusion==47.*", "pyiceberg[sql-sqlite]>=0.9.1"] +dependencies = ["maturin>=1.0,<2.0", "pytest>=8.3.2", "datafusion==45.*", "pyiceberg[sql-sqlite,pyarrow]>=0.9.1"] [tool.hatch.envs.dev.scripts] build = "maturin build --out dist --sdist" diff --git a/bindings/python/tests/test_datafusion_table_provider.py b/bindings/python/tests/test_datafusion_table_provider.py index 5c6a15eb78..915b787697 100644 --- a/bindings/python/tests/test_datafusion_table_provider.py +++ b/bindings/python/tests/test_datafusion_table_provider.py @@ -27,8 +27,8 @@ import datafusion assert ( - datafusion.__version__ >= "47" -) # iceberg table provider only works for datafusion >= 47 + datafusion.__version__ >= "45" +) # iceberg table provider only works for datafusion >= 45 @pytest.fixture(scope="session")