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

Add missing test dependency on Random to Statistics #32383

Merged
merged 1 commit into from
Jun 22, 2019

Conversation

ararslan
Copy link
Member

Statistics uses Random in its tests but doesn't declare it as a test dependency in its Project.toml. Because of this, Statistics fails in the PkgEval 1.2.0-rc2 run. (But oddly enough not for 1.1.1.) Backporting this should fix that.

I'm also marking it for backport to 1.0, because the issue exists there, PkgEval just doesn't seem to complain about it for 1.0.

Statistics uses Random in its tests but doesn't declare it as a test
dependency in its Project.toml.
@ararslan ararslan added backport 1.0 statistics The Statistics stdlib module labels Jun 21, 2019
@ararslan ararslan requested a review from KristofferC June 21, 2019 00:37
Copy link
Member

@fredrikekre fredrikekre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But oddly enough not for 1.1.1.

See JuliaLang/Pkg.jl#1144 (comment)

@fredrikekre fredrikekre merged commit f6049d6 into master Jun 22, 2019
@fredrikekre fredrikekre deleted the aa/stats-random branch June 22, 2019 06:53
@fredrikekre
Copy link
Member

Doesn't seem to be needed on 1.0.

@ararslan
Copy link
Member Author

Doesn't seem to be needed on 1.0.

Should still probably be applied, because even if it doesn't cause an error in Pkg, Statistics is still using Random without declaring a test dependency on it.

@fredrikekre
Copy link
Member

Strange, tests pass on 1.0.3 etc though...

@ararslan ararslan mentioned this pull request Jun 30, 2019
32 tasks
KristofferC pushed a commit that referenced this pull request Jul 1, 2019
Statistics uses Random in its tests but doesn't declare it as a test
dependency in its Project.toml.

(cherry picked from commit f6049d6)
KristofferC pushed a commit that referenced this pull request Aug 26, 2019
Statistics uses Random in its tests but doesn't declare it as a test
dependency in its Project.toml.

(cherry picked from commit f6049d6)
@KristofferC KristofferC mentioned this pull request Aug 26, 2019
55 tasks
KristofferC pushed a commit that referenced this pull request Aug 26, 2019
Statistics uses Random in its tests but doesn't declare it as a test
dependency in its Project.toml.

(cherry picked from commit f6049d6)
KristofferC pushed a commit that referenced this pull request Feb 20, 2020
Statistics uses Random in its tests but doesn't declare it as a test
dependency in its Project.toml.

(cherry picked from commit f6049d6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
statistics The Statistics stdlib module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants