-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
workflows: check MSRV in CI. #406
Conversation
Run on Thu May 9 15:27:35 UTC 2024 |
Hooboy. This is frustrating enough that I want to pull the CLI binary out as its own crate — which makes sense, given I want different MSRV disciplines between them. |
I understand - I'm at 1.73 and while starting a new branch I had to up level because of the CLI. However it would be a bit of a bummer, as it's nice to be able to debug directly using the RustRover IDE - it runs the CLI and I can just step through code. Also, I think your compliance specs are run using the CLI. Can we not pin the CLI crates to the version that we're supporting? Is some critical functionality/bug fixes getting lost? |
Yep, my current WIP builds the library on nightly/beta/stable+MSRV and runs unit tests with it, then builds the binary on nighty/beta/stable and runs specs with it.
There's just a bunch of crates that are starting to get rather old — they left 1.62 behind a while ago — and so as a matter of course I don't really love leaving them back. This mostly applies to the CLI ones. The recently added |
I think it's easier just to set a standard MSRV across both, so yeah, I'm going to do the work to get us back to 1.62.1 👍 |
If there are say security or performance fixes in a crate, when a user builds the library they should be able to specify a more recent version of that crate, right? My Rust dependency knowledge is still young. |
Mine too, lol 😅 I'm not quite sure — probably? If it gets to that point, I'm sure someone will let us know! |
lol okay. I was thinking |
I don't think there's any non-insane way to make Dependency updates that Dependabot opens and CI passes on (as of this PR) are fine, and we can respond to e.g. |
Happy to take feedback from anyone interested; will merge in a day or two otherwise! |
This looks great @kivikakk. I tested a build on 1.73 and it worked like a charm - it didn't require me to bump the rust version. |
Awesome, really glad! 😊 Thanks for testing it! |
@kivikakk so |
That used https://github.com/facebookarchive/propfuzz, which (as the URL implies!) isn't actively worked on these days and never made it past an initial test release. (IIRC |
Bleh, looks like the latest dependabot updates didn't merged because the |
Ack, I think you might be right. I don't suppose dependabot can be made to have awareness of what our MSRV is and only recommend those updates? What about just commenting it out for now, instead of ripping it out? Or do you think it's cleaner just to pull it. |
Always delete! It'll be there in revision history when we need it again.
I'm inclined to agree. :/ Will remove for now. Thanks for all your work on that! I feel like we'll be restoring it in no time, the way the days seem to pass lately. |
Afraid not. The same issue @kivikakk linked to in rust-core is what's holding up dependabot 🙃 dependabot/dependabot-core#5423 |
Update the MSRV used in CI when it's updated inThere's no clear time to do such an update; CI can instead check this for us.Cargo.toml
.