-
Notifications
You must be signed in to change notification settings - Fork 158
Conversation
Setting tokio to 1.16.0 which is the last version compatible with debian buster rustc: tokio-rs/tokio#4491
Sorry, but if tokio choose to stop supporting Buster then there's no reason for Topgrade to downgrade a dependency. Topgraded is supported in the latest versions of Debian and the latest Ubuntu LTS. |
@r-darwish Sorry, that was actually a mistake on my part that i now corrected. The issue is with debian bullseye, the current stable version: The end-result is topgrade upgrade via cargo will fail with: |
I'd argue that this is ok - end-users can always use the precompiled binary, and developers should use rustup anyways. |
The point here is, every install of topgrade that was installed using cargo install on debian bullseye fails right now, during the update of topgrade. Is there any reason tokio should not be 1.16? |
Having users get an unknown error is unfortunate for sure. We might be able to detect our MSRV and throw a warning or panic using rustc-version in the buildscript, that might be a workaround. As for manually upgrading - no worries, topgrade will upgrade itself, so that should be ok.
None I can see immediately, but it would set a precedent about our MSRV. So far I believe we've stuck to whatever's on the oldest Ubuntu LTS. We (read: Roey) can now make the call whether to bind ourselves to debian as well, or drop it because ugh. |
Unfortunately, this is not the case. The cargo install version runs with: |
The cargo version updates itself via cargo, the binary version should update itself. I use the binary for the most part, and it works fine. I'm not sure how topgrade infers what version it currently is, though. |
Problem just being that any installation of topgrade via cargo on debian is practically broken right now. |
Agreed, there should be at least some way of knowing beyond the slightly hidden mention of "Rust 1.51" in the README. I'll look into perhaps spewing out a warning/error at compile-time. |
Setting tokio to 1.16.0 which is the last version compatible with debian bullseye rustc:
tokio-rs/tokio#4491
Standards checklist:
cargo build
)cargo fmt
)cargo clippy
)cargo test
)If you developed a feature or a bug fix for someone else and you do not have the
means to test it, please tag this person here.