-
Notifications
You must be signed in to change notification settings - Fork 55
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 "TestImages" to "1.0" #98
CompatHelper: bump compat for "TestImages" to "1.0" #98
Conversation
Hmm, that segfault is concerning. Did constraining the minor version on FileIO fix the problem locally? When I try to build the docs locally I get this: julia> include("make.jl")
ERROR: LoadError: ArgumentError: page root should be a valid dir, instead it's docs/examples
Stacktrace:
[1] DemoCards.DemoPage(::String) at /home/tim/.julia/packages/DemoCards/RMvSf/src/types/page.jl:94
[2] #makedemos#62(::String, ::String, ::String, ::String, ::String, ::Bool, ::typeof(makedemos), ::String) at /home/tim/.julia/packages/DemoCards/RMvSf/src/generate.jl:86
[3] (::DemoCards.var"#kw##makedemos")(::NamedTuple{(:branch,),Tuple{String}}, ::typeof(makedemos), ::String) at ./none:0
[4] top-level scope at /home/tim/src/juliaimages.github.io/docs/make.jl:7
[5] include at ./boot.jl:328 [inlined]
[6] include_relative(::Module, ::String) at ./loading.jl:1105
[7] include(::Module, ::String) at ./Base.jl:31
[8] include(::String) at ./client.jl:424
[9] top-level scope at REPL[4]:1
in expression starting at /home/tim/src/juliaimages.github.io/docs/make.jl:7 Since you're the DemoCards expert, any suggestions? |
The error is caused by -- Update Okay I think this is caused by
This isn't related to the segment fault, you can successfully build that with |
Good to know, and very nice that you figured it out so quickly. Of course, the fact that this fixes it is actually quite concerning. Since it seems to only happen on Travis, that both makes it less of a problem and also much harder to debug. |
FYI, in DemoCards's docs there's a Links: |
Instead of restricting the version of FileIO, I suppose another option would be to build the docs on Julia 1.3. Shall we try that and see what happens? |
Perhaps retrigger the build on JuliaImages/TestImages.jl@3102f04 first? The current pass build of that is with FileIO v1.1. I don't have permission to test that. Upgrading versions can be an easy path, but I still want to make the whole documentation based on Julia 1.0 and add version notes for cases that require higher versions (just like the julia docs do). I prefer to hold this PR and retrigger the build for a while, just to keep sure it's not some random failure from travis. |
Here's how demos run in DemoCards and Literate: https://github.com/johnnychen94/DemoCards.jl/blob/407d8662d060703ddca0353a9df6f969c8be1663/src/types/julia.jl#L109-L114 I'm not familiar with Julia's internal mechanism, will that Update -- The new round of debug says it's not due to DemoCards |
331760c
to
62e6dc0
Compare
I thought it's caused by Compared to use Julia 1.3.0, I prefer to limit the FileIO version to |
62e6dc0
to
7f4df96
Compare
@timholy Looks like this issue isn't a random CI issue, so there's little I can do for now. May I merge this just to not hinder the future builds? |
FYI, the DemoCards path issue #98 (comment) is now fixed JuliaDocs/DemoCards.jl@f7fb503 |
This pull request changes the compat entry for the
TestImages
package from0
to0, 1.0
.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.