Skip to content
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

Fix rand dependency version in rand_distr #847

Merged
merged 1 commit into from
Jul 24, 2019

Conversation

jturner314
Copy link
Contributor

rand_distr works with neither rand 0.5.6 (the latest version of 0.5.*) nor 0.6.5 (the latest version of 0.6.*). In other words, if I change the dependency to rand = "0.5" or rand = "0.6", then cargo check fails.

`rand_distr` works with neither `rand` `0.5.6` (the latest version of
`0.5.*`) nor `0.6.5` (the latest version of `0.6.*`). In other words,
if I change the dependency to `rand = "0.5"` or `rand = "0.6"`, then
`cargo check` fails.
@vks
Copy link
Collaborator

vks commented Jul 23, 2019

I can reproduce that using 0.5 or 0.6 does not work, but I'm not sure why. I don't think rand_distr uses anything that changed since rand 0.5.

@dhardy
Copy link
Member

dhardy commented Jul 23, 2019

I recall hitting this issue too but not a solution. However I think there's no need for back-compatibility anyway, thus we may as well merge this @vks?

@vks
Copy link
Collaborator

vks commented Jul 24, 2019

Might it be related to using workspaces? In any case, I agree that we don't need the backwards compatibility and that this should be merged. (If we later decide to maintain backwards compatibility, we should fix it and make sure it is tested by CI.)

@dhardy dhardy merged commit 122b729 into rust-random:master Jul 24, 2019
@dhardy
Copy link
Member

dhardy commented Sep 9, 2019

Well, the reason for the incompatibility is the hidden_export thing only added to rand 0.7. I think we should get a new release out to avoid build errors (already happened to me a couple of times).

@dhardy dhardy mentioned this pull request Sep 9, 2019
@jturner314 jturner314 deleted the fix-dep-in-rand_distr branch September 9, 2019 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants