-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
UnicodePlots.jl is failing on the daily PkgEval runs #134
Comments
looks like the cause is here
|
@johnnychen94 shouldn't this issue be reopened, considering that the PkgEval runs are still failing? |
Interesting... I thought #136 fixes this already. |
Seems like we lost some |
Test pass on @DilumAluthge, this looks like a |
Here's the log: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2021-09/25/UnicodePlots.1.8.0-DEV-53aa65ad3c9.log I think it has to do with color. Color is disabled in PkgEval. cc: @maleadt |
Do we have a way to detect if color is enabled inside Julia? If so we can optionally disable some color tests. |
Not sure how officially sanctioned that is though. |
On older Julia versions, I don't think that will work. This is what @KristofferC does in Crayons.jl to support both older and newer Julia versions: function _have_color()
if isdefined(Base, :get_have_color)
return Base.get_have_color()
else
Base.have_color
end
end |
I am not sure this is a good way at all though. I think the correct way is to always print to an
Edit: But that is what the tests are already doing now I see. |
If I recall, we tried that approach, but it still ended up failing on PkgEval. |
It is maybe Crayons.jl fault then. KristofferC/Crayons.jl#47 maybe. |
Ahhhh yeah it might be KristofferC/Crayons.jl#47. |
Thanks for the hints. Line 260 in f7c123e
I'm gonna test with EDIT: yes it does, fixing this asap, I forgot about this bit in
|
Confirmed fix, |
Nice! Btw, perhaps the PkgEval badge (as shown in the opening commit) could be added to the README, next to the other CI ones? |
UnicodePlots.jl is failing on the daily PkgEval runs. See for example: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/U/UnicodePlots.html
The text was updated successfully, but these errors were encountered: