Skip to content

Commit b868464

Browse files
JanKaulclaude
andcommitted
fix: replace Python::with_gil with Python::attach for pyo3 0.28
pyo3 0.28 renamed Python::with_gil to Python::attach. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3303e09 commit b868464

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datafusion_iceberg/tests/integration_pyiceberg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ async fn test_pyiceberg_integration() {
207207
assert!(found_63700, "Product 63700 not found in results");
208208

209209
// Now use PyIceberg to read the same table
210-
Python::with_gil(|py| {
210+
Python::attach(|py| {
211211
// Configure venv if available
212212
configure_python_venv(py).expect("Failed to configure Python venv");
213213

0 commit comments

Comments
 (0)