-
Notifications
You must be signed in to change notification settings - Fork 403
Pin proc-macro2
in CI to fix MSRV breakage
#2424
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
19d8ec9
to
b512afa
Compare
Also, this is a pretty big dep tree just for |
b512afa
to
6ff1100
Compare
Yeah, maybe. On the other hand, as discussed recently, a slight MSRV bump might be useful/imminent anyways, which would not only spare us to copy and maintain more code, but also would allow us to remove a lot (if not all) of the CI pins. Will go through what exactly our requirements are in the coming days to hopefully arrive at a sane target. |
The proc-macro2 crate switched to Rust edition 2021 starting with v1.0.66, i.e., has MSRV of 1.56. Here, we pin it in CI to fix the breakage.
6ff1100
to
61d7ada
Compare
I'm not sure why - the furthest we could realistically go is 1.63, and sadly there's really just not much interesting between 1.48 and 1.63...we'll probably have some other sub-crates with MSRVs of 1.63, but there's no reason to rush ahead and bump the MSRV of the other crates for some time, I think. |
Well, the transaction-sync crate MSRV should lie somewhere around ~1.56/1.57 with TLS currently? So, while it won't protect us from future MSRV bumps longer term, it would allow us to get started, until we can move to a saner dependecy tree there. IIRC, this 'two-pronged' approach was what we arrived at? |
Right, but there's no reason that has to imply a workspace-wide MSRV bump, the rest of the workspace can still happily sit at 1.48. |
I think we should copy the one from |
I feel like dropping the dependency is ideal here, but also happy with a temporary pin. |
Yeah, we probably should. Will pick it up tomorrow, if @TheBlueMatt doesn't beat me to it. Closing this for now. |
The proc-macro2 crate switched to Rust edition 2021 starting with v1.0.66, i.e., has MSRV of 1.56.
Here, we pin it in CI to fix the breakage.