Skip to content

[57_maintenance] Fix MSRV check by checking in Cargo.lock, backport #9888, #10433, #11305 - #11728

Merged
Jefffrey merged 6 commits into
apache:57_maintenancefrom
alamb:57_maintenance_cargo_lock
Oct 21, 2026
Merged

Jefffrey merged 6 commits into
apache:57_maintenancefrom
alamb:57_maintenance_cargo_lock

Conversation

@alamb

@alamb alamb commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

The Verify MSRV job fails on PRs against 57_maintenance (for example #11726) for reasons unrelated to those PRs.

What changes are included in this PR?

Check in the root Cargo.lock (same approach as #9941 on main).

This PR also carries the following backports needed to get CI green on 57_maintenance:

Are these changes tested?

CI

Are there any user-facing changes?

No. This only affects dependency resolution for workspace builds and CI.

Generated with Rust 1.85 using the MSRV-aware resolver, which pins
tonic to 0.14.5 and uuid to 1.26.1. Same approach as apache#9941 on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jefffrey and others added 2 commits October 20, 2026 07:43
…he#11305)

Cherry-pick of 0336b2b (apache#11354, the 59_maintenance backport of apache#11305),
plus two additional redundant explicit links in arrow-avro/src/writer/mod.rs
that only exist on 57_maintenance.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Install cargo-audit and cargo-msrv with --locked (as on 59_maintenance) so
their latest dependency versions don't require a newer rustc than the
1.91 toolchain pinned by rust-toolchain.toml.

Ignore RUSTSEC-2026-0194/0195 (quick-xml via object_store, as on
59_maintenance) and RUSTSEC-2026-0176/0177 (pyo3; the fix requires the
breaking upgrade to pyo3 0.29, which is not suitable for 57.x).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added parquet parquet crate arrow-flight arrow-flight crate development-process Internal changes; PRs with this label are excluded from changelog parquet-variant parquet-variant* crates arrow-avro arrow-avro crate arrow-row arrow-row crate arrow-pyarrow arrow-pyarrow crate arrow-json arrow-json crate arrow-ipc arrow-ipc crate arrow-csv arrow-csv crate arrow-core Core crates related to representing arrow data arrow-kernels Crates that transform arrow data (e.g. compute, cast) labels Oct 20, 2026
paleolimbot and others added 2 commits October 20, 2026 13:53
…SON parser (apache#9888)

# Which issue does this PR close?

Supporting unskipping more types in the Rust IPC/C Data tests for
apache/arrow#49910 /
apache/arrow#49744 .

# Rationale for this change

View types and decimal 32/64 are supported in Rust but aren't supported
in the integration test JSON implementation (so they fail when the
integration test tries to check them).

# What changes are included in this PR?

Integration test JSON now supports how these values are represented.

# Are these changes tested?

Yes. I've added to the embedded integration.json for the new types and
I've run the apache/arrow PR against this branch with these types no
longer being skipped.

# Are there any user-facing changes?

No

---------

Co-authored-by: Copilot <[email protected]>
(cherry picked from commit 2e8e0c7)
… in tests (apache#10433)

# Which issue does this PR close?

No separate issue. The fix is one line per test case and the failing CI
runs are evidence enough.

# Rationale for this change

MIRI CI uses nightly Rust. A recent nightly changed the `Display` output
of `TryFromIntError` from `"out of range integral type conversion
attempted"` to `"number too large to fit in target type"` (and similar
variants). Tests in `datatype_parse.rs` were asserting on that
stdlib-owned suffix, so they broke on MIRI without any change to our
code.

# What changes are included in this PR?

Trimmed 9 expected substrings in `parse_data_type_errors` to stop at the
`:` that separates our message from the stdlib one. The tests now only
assert on the part of the error string we control.

# Are these changes tested?

`parse_data_type_errors` passes on stable. MIRI CI should go green once
this merges.

# Are there any user-facing changes?

No. Test-only change, no behavior or API impact.

(cherry picked from commit b278c54)
@alamb

alamb commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

The two remaining CI failures were unrelated to the Cargo.lock change, so I cherry-picked the upstream fixes for them onto this branch:

@mbutrovich mbutrovich left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @alamb! Can we update the PR title with the PRs that got cherry-picked for the changelog?

@alamb alamb changed the title [57_maintenance] Fix MSRV check by checking in Cargo.lock [57_maintenance] Fix MSRV check by checking in Cargo.lock, backport #9888, #10433, #11305 Oct 20, 2026
@alamb

alamb commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @alamb! Can we update the PR title with the PRs that got cherry-picked for the changelog?

Done

RUSTSEC-2026-0382 (rustls-webpki 0.103.15 -> 0.103.16) and
RUSTSEC-2026-0381 (webpki-roots 1.0.9 -> 1.0.10) were published after
this lockfile was generated. Both new versions keep rust-version 1.71,
well under this branch's MSRV.

Co-Authored-By: Claude Fable 5.1 <[email protected]>

@Jefffrey Jefffrey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @alamb & @mbutrovich

@Jefffrey
Jefffrey merged commit 5f70180 into apache:57_maintenance Oct 21, 2026
36 checks passed
Jefffrey added a commit that referenced this pull request Oct 22, 2026
…stall-action & pinning ubuntu (#11777)

# Which issue does this PR close?

- Part of #11666 (57.3.2 release)

# Rationale for this change

The `Verify MSRV` job fails on PRs against `57_maintenance` (for example
#11726) for reasons unrelated to those PRs:

```
error: cannot install package `cargo-msrv 0.19.5`, it requires rustc 1.94.1 or newer, while the currently active rustc version is 1.91.1
`cargo-msrv 0.19.3` supports rustc 1.91.1
```

`cargo-msrv` 0.19.4 and 0.19.5 were released today (2026-10-21) and
require rustc 1.94.1, but `57_maintenance` pins the toolchain to 1.91 in
`rust-toolchain.toml`. `cargo install cargo-msrv --locked` (added in
#11728) does not help because `--locked` only pins the dependency graph,
not the `cargo-msrv` version itself.

# What changes are included in this PR?

Install `cargo-msrv` using `taiki-e/install-action` (which downloads a
prebuilt binary and does not need to compile anything with the pinned
toolchain), the same way `main` does since #10589. The action is pinned
to the same commit as on `main`.

# Are these changes tested?

CI

# Are there any user-facing changes?

No, CI only.

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Jefffrey <[email protected]>
Jefffrey added a commit that referenced this pull request Oct 23, 2026
# Which issue does this PR close?

- Part of #11666

# Rationale for this change

Prepare for the `57.3.2` patch release from the `57_maintenance` branch

# What changes are included in this PR?
1. Update version to `57.3.2`
2. Move the `57.3.1` changelog entry into `CHANGELOG-old.md`
3. Add `57.3.2` CHANGELOG (see rendered version
https://github.com/alamb/arrow-rs/blob/alamb/prepare_57.3.2/CHANGELOG.md)
4. Update `dev/release/update_change_log.sh` for the `57.3.2` release
range

Notes on the changelog: `update_change_log.sh`
(github-changelog-generator) does not filter by branch, so running it
picks up `main` PRs and misses the `57_maintenance` backports. The
`57.3.2` entry was therefore written by hand in the same format as the
`58.4.1` (#11822) and `59.3.2` (#11797) changelogs: all backported fixes
are grouped under "Bug fixes", following how the corresponding `main`
PRs were labeled, and the CI-only changes (#11728, #11777, #11784,
#11819) are omitted.

# Are these changes tested?
By CI

# Are there any user-facing changes?

New version and changelog

---------

Co-authored-by: Claude Fable 5.1 <[email protected]>
Co-authored-by: Jefffrey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow-avro arrow-avro crate arrow-core Core crates related to representing arrow data arrow-csv arrow-csv crate arrow-flight arrow-flight crate arrow-ipc arrow-ipc crate arrow-json arrow-json crate arrow-kernels Crates that transform arrow data (e.g. compute, cast) arrow-pyarrow arrow-pyarrow crate arrow-row arrow-row crate development-process Internal changes; PRs with this label are excluded from changelog parquet parquet crate parquet-variant parquet-variant* crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants