-
Notifications
You must be signed in to change notification settings - Fork 782
Check in Cargo.lock #2482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Check in Cargo.lock #2482
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e979cac
Check in Cargo.lock and update dependencies to latest compatible vers…
alamb 2e837c3
Merge remote-tracking branch 'apache/main' into checkin-cargo-lock
alamb 88d6e8a
Merge branch 'main' into checkin-cargo-lock
LucaCappelletti94 5afca8f
Use sort_by_key for sqlparser_derive sibling ordering
LucaCappelletti94 4b6abac
Add sqlparser_bench to a workspace sharing Cargo.lock
LucaCappelletti94 c4cb1dd
Ignore fuzz/Cargo.lock
LucaCappelletti94 793dd58
Bump .tool-versions to Rust 1.88.0
LucaCappelletti94 27a60b2
Run CI cargo commands with --locked
LucaCappelletti94 e9b3ef6
Merge branch 'main' into checkin-cargo-lock
LucaCappelletti94 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| rust 1.75.0 | ||
| rust 1.88.0 | ||
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this change the "msrv" of the crate (the minimum supported rust version) or just the versions that run the tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
.tool-versionsbump leaves the crate's MSRV untouched. The crate declares norust-versioninCargo.toml(maybe we should), so cargo enforces no MSRV for downstream users, and downstream builds resolve their own dependency graph without reading ourCargo.lock. CI does not read.tool-versionseither.The file only selects the toolchain that
asdfandmiseinstall for local development in this checkout.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it changes the version of rust used for clippy, etc
So that by changing this we will implicitly start testing with a newer version of rust 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, those tools go by the version specified in CI, which currently is:
datafusion-sqlparser-rs/.github/workflows/rust.yml
Line 95 in 0fd4fa8
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I think i was confused with rust-toolchain.toml (e.g. https://github.com/apache/arrow-rs/blob/main/rust-toolchain.toml). Sorry about that