-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Fix MSRVs for standalone crates #16333
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
Conversation
|
I think most of those changes are not justified outside of "you think it looks better" I would prefer to not change the version of dependencies, even for something compatible, without a need to change it for that dependency. Even worse to do it for everything at once. For MSRV, adding it to most crates will just make it more painful for us to maintain: for the crates that can't be used outside of Bevy, adding it doesn't bring us any value and will just need more work. |
df9bdc3 to
7281d92
Compare
|
To address the other feedback:
|
I don't. And I especially dislike doing it in a change across all crates, without a reason to do it related to the dependency.
I don't think having separate msrv for crates that are not standalone has enough value to bother, I don't think they should be added and I won't support adding those checks in CI. This can be revisited later for a 1.0 release, but for the moment the Bevy msrv policy is "latest stable", let's not go into details crate per crate. |
|
Ok. I'd like to discuss the second point a bit more if you don't mind. I thought the design philosophy of bevy is to have each crate be usable on their own. A project could just use |
So, this ties into #16172. Only the standalone crates (bevy_ecs, bevy_math, bevy_color, bevy_ptr, bevy_reflect) should have their own MSRV. For any crate that relies on bevy_ecs, their MSRV should be fully tied to bevy_ecs, which for the foreseeable future is going to be on "latest stable". |
|
I'll update this PR with the feedback when I have some free time. I'll fix some of the minor versions and remove more of the msrvs as requested. The main goal is consistency, correctness, and usability, so I'm glad to work with the feedback on that. |
82b19ec to
3d4bb2d
Compare
|
Marking as blessed because I reduced the scope to exactly the changes endorsed by @alice-i-cecile. |
alice-i-cecile
left a comment
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 agree with this scope and these fixes :)
# Objective MSRV in the standalone crates should be accurate ## Solution Determine the msrv of each crate and set it ## Testing Adding better msrv checks to the CI is a next-step.
# Objective MSRV in the standalone crates should be accurate ## Solution Determine the msrv of each crate and set it ## Testing Adding better msrv checks to the CI is a next-step.

Objective
MSRV in the standalone crates should be accurate
Solution
Determine the msrv of each crate and set it
Testing
Adding better msrv checks to the CI is a next-step.