Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bindings/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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>=17.0.0", "datafusion>=45", "pyiceberg[sql-sqlite]>=0.9.1"]
dependencies = ["maturin>=1.0,<2.0", "pytest>=8.3.2", "pyarrow==16.*", "datafusion==47.*", "pyiceberg[sql-sqlite]>=0.9.1"]

[tool.hatch.envs.dev.scripts]
build = "maturin build --out dist --sdist"
Expand Down
4 changes: 2 additions & 2 deletions bindings/python/tests/test_datafusion_table_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
import datafusion

assert (
datafusion.__version__ >= "45"
) # iceberg table provider only works for datafusion >= 45
datafusion.__version__ >= "47"
) # iceberg table provider only works for datafusion >= 47


@pytest.fixture(scope="session")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ async fn test_metadata_table() -> Result<()> {

#[tokio::test]
async fn test_insert_into() -> Result<()> {
let iceberg_catalog = get_iceberg_catalog();
let iceberg_catalog = get_iceberg_catalog().await;
let namespace = NamespaceIdent::new("test_insert_into".to_string());
set_test_namespace(&iceberg_catalog, &namespace).await?;

Expand Down Expand Up @@ -553,7 +553,7 @@ fn get_nested_struct_type() -> StructType {

#[tokio::test]
async fn test_insert_into_nested() -> Result<()> {
let iceberg_catalog = get_iceberg_catalog();
let iceberg_catalog = get_iceberg_catalog().await;
let namespace = NamespaceIdent::new("test_insert_nested".to_string());
set_test_namespace(&iceberg_catalog, &namespace).await?;
let table_name = "nested_table";
Expand Down
Loading