Skip to content

Conversation

@AdamGS
Copy link
Contributor

@AdamGS AdamGS commented Oct 21, 2025

Which issue does this PR close?

Unlocks #514.

Rationale for this change

90% of downloads use 1.85, and 2024 unlocks future msrv bumps.

What changes are included in this PR?

Bumping rust edition and msrv.

Are there any user-facing changes?

Increasing the msrv might have an impact on some dependencies and users, but I assume the vast majority of them will be fine with upgrading (For example - DataFusion is at 1.86 and arrow-rs is at 1.85).

@Xuanwo
Copy link
Member

Xuanwo commented Oct 21, 2025

Arrow-rs is bumped to edition 2024, and 1.85 is now used by 90% of downloads based on stats from https://lib.rs/stats. I believe it's fair to bump to 2024 now. Another advantage of edition 2024 is that raising the MSRV is no longer a breaking change, making this a one shot solution.

@AdamGS
Copy link
Contributor Author

AdamGS commented Oct 21, 2025

good points, I'll have that later today/tomorrow

@AdamGS
Copy link
Contributor Author

AdamGS commented Oct 21, 2025

Ok pushed it, bumped msrv to 1.85 and the rust edition to 2024.

@AdamGS AdamGS changed the title Bump the msrv to 1.67.1 Bump rust edition to 2024 Oct 21, 2025
@AdamGS
Copy link
Contributor Author

AdamGS commented Oct 21, 2025

most of the change is just the new rutfmt ordering, other than that its just a few clippy warnings

@alamb alamb changed the title Bump rust edition to 2024 Bump rust edition to 2024, rust version to 1.85 Oct 23, 2025
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Since this increases the MSRV woudl that make it a breaking change (aka we can only release this as part of a major release)?

@alamb
Copy link
Contributor

alamb commented Oct 23, 2025

Thanks @AdamGS and @Xuanwo

@kylebarron
Copy link
Member

IIRC MSRV updates are considered to be "non-breaking", though I can't recall a canonical source for that.

@alamb
Copy link
Contributor

alamb commented Oct 23, 2025

IIRC MSRV updates are considered to be "non-breaking", though I can't recall a canonical source for that.

Here is one source:

Though it has a lot of discussion which I didn't read

@Xuanwo
Copy link
Member

Xuanwo commented Oct 23, 2025

Yes, it's considered a non-breaking change. But only after edition 2024 it becomes a really non-harmful thing thanks to https://doc.rust-lang.org/edition-guide/rust-2024/cargo-resolver.html

So my suggestion is that we still treat this change as a breaking one and after this PR, we can bump MSRV freely.

@alamb
Copy link
Contributor

alamb commented Oct 27, 2025

So shall we merge this one in and plan to cut a new major release of object_store?

@AdamGS
Copy link
Contributor Author

AdamGS commented Oct 28, 2025

Should I also remove the --precise pining in the msrv check in CI?

@kylebarron
Copy link
Member

It would be great if we could remove that section

@AdamGS AdamGS force-pushed the adamg/bump-msrv-1-67-1 branch from 843dd72 to 1495da2 Compare October 28, 2025 14:55
@alamb
Copy link
Contributor

alamb commented Oct 28, 2025

Sounds great -- I will plan on making a new release in Nov

@alamb alamb merged commit ddb5d2a into apache:main Oct 28, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants