Skip to content

chore: bump polars 0.51→0.53 and update all dependencies#2

Open
geohardtke wants to merge 2 commits into
ml-rust:mainfrom
geohardtke:main
Open

chore: bump polars 0.51→0.53 and update all dependencies#2
geohardtke wants to merge 2 commits into
ml-rust:mainfrom
geohardtke:main

Conversation

@geohardtke
Copy link
Copy Markdown

Hi there! First off, thanks for the great work on treeboost!

Summary

I needed polars 0.53 for a downstream project and ran into the version constraint, so I went ahead and bumped polars from 0.51 to 0.53 along with all the other dependencies. Hope this is helpful!

  • Upgrades polars from 0.51 to 0.53, addressing all breaking API changes
  • Bumps all other dependencies to their latest compatible versions
  • Fixes API breakages across 27 files including dataset I/O, feature engineering, model pipeline, preprocessing, serialization, and autotuner modules
  • Updates examples and tests to match the new APIs

Changed Areas

  • Dataset I/O & Pipeline: loader.rs, pipeline.rs, dataframe.rs
  • Feature Engineering: crosssectional.rs, dataframe.rs, smart.rs
  • Model Pipeline & Training: steps.rs, predictor.rs, incremental.rs, training.rs
  • Preprocessing: dataframe.rs, polars_ext.rs, smart.rs
  • Serialization: bincode_io.rs, trb.rs
  • Autotuner: execution.rs, grid.rs, types.rs
  • Analysis: analyzer.rs, profiler.rs
  • Tests & Examples: automl_ltt.rs, automl_multilabel.rs, automl_profile.rs, multilabel.rs

Leonardo Hardtke added 2 commits May 18, 2026 12:59
- Updated polars dependency from 0.51 to 0.53
- Migrated DataFrame::new(columns) → DataFrame::new(height, columns) across 24 calls
- Migrated df.get_columns() → df.columns()
- Migrated with_column(series) → with_column(series.into()) for Column type
- Fixed additional API changes in features, model, and preprocessing modules
Dependency upgrades:
- polars 0.51 → 0.53 (previous commit)
- rayon 1.10 → 1.12
- bytemuck 1.19 → 1.25
- ordered-float 4.5 → 5.3
- clap 4.5 → 4.6
- csv 1.3 → 1.4
- tempfile 3.15 → 3.27
- fastrand 2.3 → 2.4
- faer 0.23 → 0.24
- rand 0.9 → 0.10
- bincode 1.3 → 2.0 (skipped 3.0 joke release)
- fs4 0.13 → 1.1
- pyo3 0.23 → 0.28, numpy 0.23 → 0.28
- wgpu 27 → 29
- cudarc 0.18.2 → 0.19.7
- criterion 0.5 → 0.8
- rand_distr 0.5 → 0.6
- forust-ml 0.4 → 0.5

API migration fixes:
- rand 0.10: Rng trait → RngExt (7 sites)
- fs4 1.x: fs4::fs_std::FileExt → fs4::FileExt, try_lock_exclusive() → try_lock()
- bincode 2.x: serialize_into/deserialize_from → serde::encode_into_std_write/decode_from_std_read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant