-
Notifications
You must be signed in to change notification settings - Fork 210
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
Please update/remove rand_pcg #780
Comments
No idea why this got a |
Because you used the issue template that contains the text:
|
As stated in #531:
I think you might have a connection to a rand crate maintainer 😉 |
As stated multiple locations, including the issue template linked above, I don't want to get into the business of deciding which crates are privileged or not on a crate-by-crate basis.
This can't be done as
Counter suggestion: update those crate(s) to use rand 0.8 and |
Not relevant.
So add a rule: if crate
Really? So the latest release of |
didn’t you open this issue because of the use of an outdated crate? ("because having the playground default to an outdated version is confusing")
It doesn't have to be, but considering you opened this issue, it seemed like you were interested in seeing it resolved. That is one avenue to resolving it.
I see; I assume that changed from when the original comment was posted.
I honestly don't know. Certainly including all later versions would not be a good idea, so I assume you meant "the latest" version. That would involve someone making the appropriate changes to the script and seeing what the net change in new compilations would be. |
You may also want to consider opening/adding to a Rust issue about this case as it applies to any user, not just the playground. There have been previous issues around poor error messages due to duplicate / mismatched crate versions, so that is encouraging that someone could improve the situation overall. |
Yes, because using
Yes, in
Good point. That's already been improved in some cases, but clearly not this one. Already reported: rust-lang/rust#81659 |
The current behavior is that the current version of the top 100 crates (plus Rust Cookbook and compiler-suggested crates) are added. Since all of their dependencies must be built anyway, we go ahead and expose those dependencies at their specific versions to the playground user. We don't then also go off and get a newer version of those dependencies, which would then potentially bring in more dependencies. Some of those new dependencies wouldn't be the newest version and then we'd have to repeat this process until we reach a fixpoint. An alternative solution would be to track top level vs transitive dependencies. We could suffix all transitive dependencies with the version number, or perhaps just those transitive dependencies that aren't the newest version. Applied to this issue, there wouldn't be a |
rand_pcg
v0.3 was released around a year ago, yet the version on the playground is v0.2. (This is not surprising, since v0.2 was a dependency ofrand
v0.7, butrand
v0.8 does not depend onrand_pcg
.)Similar to #531, this fails:
The error message here is confusing.
Suggestion: either include the latest version of
rand_pcg
(even though it's not in the top 100 list) or exclude all versions ofrand_pcg
, because having the playground default to an outdated version is confusing.The text was updated successfully, but these errors were encountered: