-
Notifications
You must be signed in to change notification settings - Fork 421
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
CI build failure with latest versions #1358
Comments
It seems changing https://github.com/JuliaPlots/StatsPlots.jl/blob/fadcdf7f2d9c91798b9a789b68835fa7896a2183/src/distributions.jl#L22 (which is a heuristic that will be incorrect for any discrete distribution whose support are not unitranges of integers) to lower, upper = default_range(dist)
return (UnitRange(Int(lower), Int(upper)),) should fix the issue. |
Thanks for the quick reply, I will open a PR there. |
I also figured out which change in Distributions provoked the issue, I'll open a PR to fix it in Distributions. Probably it would still be helpful to ensure in StatsPlots that the arguments of |
If you want to open the PR in In the mean time I will try to see how we can bypass the issue in our workflow since the whole CI is down because of this 🙄 |
@devmotion, it's fixed from our side with JuliaPlots/StatsPlots.jl#454. I'd like to thank you for the reactivity, it was very much appreciated 😉 |
Recent version (changes between
v0.25.6
which was OK andv0.25.8
continuously fail our CI at https://github.com/JuliaPlots/Plots.jl.We hit a failure here: https://github.com/JuliaPlots/StatsPlots.jl/blob/fadcdf7f2d9c91798b9a789b68835fa7896a2183/test/runtests.jl#L75
Reproducer
Output
The text was updated successfully, but these errors were encountered: