-
Notifications
You must be signed in to change notification settings - Fork 250
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
CompatHelper: bump compat for "Colors" to "0.11" #1369
CompatHelper: bump compat for "Colors" to "0.11" #1369
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1369 +/- ##
======================================
Coverage 90.6% 90.6%
======================================
Files 38 38
Lines 3961 3961
======================================
Hits 3589 3589
Misses 372 372 Continue to review full report at Codecov.
|
@bjarthur, how did you confirm the compatibility with Colors.jl v0.11? If you didn't confirm it, this change (or pressing the merge button carelessly) is very dangerous. |
I note that this PR was opened and tested before Compose.jl's Colors 0.11 compat was triggered (GiovineItalia/Compose.jl#375), I'm guessing that the above Travis test used Colors 0.9.6 not 0.11. Compare with the more recent PRs #1370 and #1371 which both fail on the testscript "discrete_color_hue.jl" for Julia 1.0.5 |
I am pending submitting an issue because I have not yet identified the cause. (I think this is not a problem of Gadfly's code base.) However, I know some possible causes. The significant difference between Colors v0.9.6 and v0.10 which may cause the segmentation fault, is the precompilation (cf. JuliaGraphics/Colors.jl#370) Gadfly.jl/test/testscripts/discrete_color_hue.jl Lines 3 to 4 in 7c14b91
RGB(1,0,0) generates RGB{N0f8}(1,0,0) . N0f8 is defined in FixedPointNumbers.If we do not use RGB{N0f8} (e.g. using RGB{Float32} ), we will get different results.
Edit:
|
I can confirm that this is true. I merged a PR to revert this change over at #1372, despite tests failing since it's simply returning to the state prior to this merge. |
This pull request changes the compat entry for the
Colors
package from0.9
to0.9, 0.11
.This keeps the compat entries for earlier versions.
Note: I have not tested your package with this new compat entry. It is your responsibility to make sure that your package tests pass before you merge this pull request.