chore(deps): bump polars 0.52 -> 0.53 + adopt new DataFrame::new signature#479
Merged
Conversation
polars 0.53 changes `DataFrame::new(Vec<Column>)` to `DataFrame::new(usize, Vec<Column>)`. The first argument is the declared row count (`height`) so empty inputs still construct typed zero-row frames. Pass the existing `n = self.len()` binding from the template; regen `frames_generated.rs`. Tested locally with `cargo test -p thetadatadx --features polars --test test_frames_polars` (9 passing).
Bumps [polars](https://github.com/pola-rs/polars) from 0.52.0 to 0.53.0. - [Release notes](https://github.com/pola-rs/polars/releases) - [Commits](pola-rs/polars@rs-0.52.0...rs-0.53.0) --- updated-dependencies: - dependency-name: polars dependency-version: 0.53.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This was referenced May 6, 2026
Merged
userFRM
added a commit
that referenced
this pull request
May 6, 2026
* chore(release): 8.0.27 - polars 0.52 -> 0.53 (#479) - conditions code 61 scrubbed to PRICEVOLUMEADJ (#480) * chore(release): refresh sub-Cargo.lock files for 8.0.27 The workspace bump only updated the root Cargo.lock; tools/mcp, tools/server, sdks/python, sdks/typescript carry their own lockfiles that pin thetadatadx by version. CI's --locked check failed because they still pinned 8.0.26.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bump polars 0.52.0 -> 0.53.0 and migrate generated frame code to the new
DataFrame::new(height, Vec<Column>)signature.Supersedes #464 (dependabot's bare bump alone fails to compile because polars 0.53 changed the signature).
Why
polars 0.53 reshapes the public
DataFrame::newconstructor from(Vec<Column>) -> PolarsResult<Self>to(usize, Vec<Column>) -> PolarsResult<Self>, where the newusizeargument is the declared row count. The old signature is gone, so the bare bump produced 16 compile errors incrates/thetadatadx/src/frames_generated.rs.How
crates/thetadatadx/Cargo.toml(cherry-picked from chore(deps): bump polars from 0.52.0 to 0.53.0 #464)crates/thetadatadx/build_support/ticks/rust_frames.rs:284to emitDataFrame::new(n, vec![...])(wheren = self.len()is already in scope)frames_generated.rsviagenerate_sdk_surfacesTest plan
cargo test -p thetadatadx --features polars --test test_frames_polars(9 passing)cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo run -p thetadatadx --bin generate_sdk_surfaces --features config-file -- --checkCloses #464.