Repository navigation
Fix MSRV check by checking in Cargo.lock - #9941
Merged
Merged
Conversation
alamb
marked this pull request as ready for review
May 7, 2026 13:11
Jefffrey
approved these changes
May 7, 2026
Jefffrey
left a comment
Contributor
There was a problem hiding this comment.
I wonder if we'll need to bump open PR limit and/or group these other dependency updates like we did in DataFusion
Merged
Contributor
Author
I think arrow has many fewer dependencies so I am hoping we can avoid having to do so, but I suppose we'll see |
Contributor
Author
|
Thank you for the review @Jefffrey |
Rich-T-kid
pushed a commit
to Rich-T-kid/arrow-rs
that referenced
this pull request
Jun 2, 2026
NOTE: All of this PR is `Cargo.lock`. I swear it is easy to review... # Which issue does this PR close? - Closes apache#9938. - Modeled on apache#9902. # Rationale for this change The guidance on lock files from the Cargo folks changed a while ago: https://blog.rust-lang.org/2023/08/29/committing-lockfiles/ The MSRV check is failing on `main` because dependency resolution currently uses the latest compatible versions from crates.io for each package. The newest `tonic` release now require a newer Rust version than the workspace MSRV. Here is the reported CI failure: https://github.com/apache/arrow-rs/actions/runs/25472344356/job/74738606768 ```text error: rustc 1.85.0 is not supported by the following packages: [email protected] requires rustc 1.88 [email protected] requires rustc 1.88 ``` # What changes are included in this PR? This PR checks in a root `Cargo.lock` so CI verifies MSRV against the dependency set we control, rather than the tip of all dependency ranges. The generated lockfile pins the `tonic` 0.14 crates to `0.14.5`, which supports Rust 1.85. Note this does not change code in the crates. It only pins dependency resolution for workspace builds and CI. This will result in more dependabot PRs to explicitly update the crate versions, but I think that is a good thing. I think the existing config file will work fine https://github.com/apache/arrow-rs/blob/main/.github/dependabot.yml # Are these changes tested? Yes, by CI This passed locally with Rust 1.85.0. # Are there any user-facing changes? No. This only checks in the root lockfile used for dependency resolution in workspace builds and CI.
Jefffrey
added a commit
that referenced
this pull request
Oct 21, 2026
…oc, MIRI and integration test fixes (#11727) # Which issue does this PR close? - Part of #11665 (58.4.1 release) # Rationale for this change CI on the 58_maintenance branch is red on every PR (e.g. #11365, #11703, #11704, #11705, #11707) for reasons unrelated to those PRs. # What changes are included in this PR? - Check in the root `Cargo.lock`, the same approach as #9941 - Backport #11305: remove duplicate `homepage` entries and let rustdoc infer the targets of five `arrow-avro` intra-doc links. - Backport #10433: stop asserting on the unstable `TryFromIntError` message in the `arrow-schema` tests. - Backport #9888: support `ListView`, `BinaryView` and `RunEndEncoded` in the integration test JSON parser. # Are these changes tested? Yes by CI # Are there any user-facing changes? No. --------- Signed-off-by: Jiawei Zhao <[email protected]> Co-authored-by: Aditya Mishra <[email protected]> Co-authored-by: Dewey Dunnington <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Jeffrey Vo <[email protected]> Co-authored-by: Phoenix <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]>
Jefffrey
added a commit
that referenced
this pull request
Oct 21, 2026
…9888, #10433, #11305 (#11728) # 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. # 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`: - #11305: remove redundant homepage and doc links (via the `59_maintenance` backport #11354) - #9888: - #10433: (fixes MIRI CI) - Fix Audit and MSRV CI jobs: install `cargo-audit` / `cargo-msrv` with `--locked` and ignore RUSTSEC-2026-0194/0195/0176/0177 (as on `59_maintenance`) # Are these changes tested? CI # Are there any user-facing changes? No. This only affects dependency resolution for workspace builds and CI. --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Jeffrey Vo <[email protected]> Co-authored-by: Dewey Dunnington <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Aditya Mishra <[email protected]>
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.
NOTE: All of this PR is
Cargo.lock. I swear it is easy to review...Which issue does this PR close?
[email protected]#9938.Rationale for this change
The guidance on lock files from the Cargo folks changed a while ago: https://blog.rust-lang.org/2023/08/29/committing-lockfiles/
The MSRV check is failing on
mainbecause dependency resolution currently uses the latest compatible versions from crates.io for each package. The newesttonicrelease now require a newer Rust version than the workspace MSRV.Here is the reported CI failure: https://github.com/apache/arrow-rs/actions/runs/25472344356/job/74738606768
What changes are included in this PR?
This PR checks in a root
Cargo.lockso CI verifies MSRV against the dependency set we control, rather than the tip of all dependency ranges. The generated lockfile pins thetonic0.14 crates to0.14.5, which supports Rust 1.85.Note this does not change code in the crates. It only pins dependency resolution for workspace builds and CI.
This will result in more dependabot PRs to explicitly update the crate versions, but I think that is a good thing. I think the existing config file will work fine https://github.com/apache/arrow-rs/blob/main/.github/dependabot.yml
Are these changes tested?
Yes, by CI
This passed locally with Rust 1.85.0.
Are there any user-facing changes?
No. This only checks in the root lockfile used for dependency resolution in workspace builds and CI.