-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Prune duplicate crossbeam dependencies #1795
Conversation
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
Speaking for myself, thanks for trying to fix this! Some notes and suggestions below. By convention, you might add "v0.1.x: " prefix to this PR title? There also was/is a label but us mortals can't apply it. For the bug report aspect, I can replicate the duplication:
This occurs because of the suspect if commmon approach (unfortunately, also applied in tokio 0.1.x) of MINOR upgrades in the crossbeam-deque 0.7.2 PATCH release. Relevant change logs: crossbeam-deque 0.7.2 (2019-11-6)
crossbeam-epoch 0.8.0 (2019-11-6)
crossbeam-utils 0.7.0 (2019-11-6)
The "fix breakage with nightly" (crossbeam-rs/crossbeam#428) sounded like it might be important, but as best I can tell, its only associated with a non-default nightly feature that tokio does not enable. Another user workaround for duplication, short of these changes, would be:
Or otherwise pinning that version through other means. It looks like your complete upgrade (current PR) would require (sadly, PATCH) releases to -executor, -reactor, -threadpool, -timer, correct? Particularly since this is a maintenance branch, there is some precedent for further constraining dependencies to solve various problems like MSRV CI, ex: [dev-dependencies]
flate2 = { version=">=1.0.2, <1.0.10" } While constraining the tokio-threadpool dependency to the following is a more conservative change (e.g. only requiring a PATCH release of that single crate) it also potentially exposes us to future breakage that would otherwise be fixed in subsequent upstream PATCH releases. Still IMO worth considering? crossbeam-deque = { version =">=0.7.0, <0.7.2" } @taiki-e , as a contributor here as well as crossbeam, may I ask you: do you have any info or opinion on upgrading or constraining? |
@dekellum Thanks for your suggestions :)
Yes |
@taiki-e, do you have any thoughts on @dekellum's comment #1795 (comment)? |
Is this PR still active or did this get fixed already? @dekellum |
Still active AFAIK. |
Signed-off-by: koushiro koushiro.cqx@gmail.com
Motivation
Prune duplicate crossbeam dependencies
Solution
crossbeam-queue v0.1 -> 0.2
crossbeam-utils v0.6 -> v0.7