make Plots relocatable again#5200
Conversation
88f0d61 to
ba4338d
Compare
Co-authored-by: Simon Christ <SimonChrist@gmx.de>
|
I have no idea what the state of CI is on this repo. Are the test failures something I should look into or are they expected etc? |
|
I am trying to figure that out too.. I think they are unrelated to this PR. The GraphRecipes failures are due to a recent update in GR and PyCall failing to precompile is definitely new, but also unrelated. |
|
I don't have time at the moment. Do you have an idea where that error might come from? ERROR: MethodError: no method matching print(::Dict{Symbol, Any})
You may have intended to import Base.print
The applicable method may be too new: running in world age 38674, while current world is 38684.
Closest candidates are:
print(::Any, !Matched::Any) (method too new to be called from this world context.)
@ JSON ~/.julia/packages/JSON/93Ea8/src/Writer.jl:385
print(::Any) (method too new to be called from this world context.)
@ JSON ~/.julia/packages/JSON/93Ea8/src/Writer.jl:386
print(!Matched::IO, !Matched::Any) (method too new to be called from this world context.)
@ JSON ~/.julia/packages/JSON/93Ea8/src/Writer.jl:383
...
Stacktrace:
[1] top-level scope
@ none:11
[2] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[3] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:283
[4] _start()
@ Base ./client.jl:550
ERROR: Unexpected end of input
...when parsing byte with value '0'
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:44
[2] _error(message::String, ps::JSON.Parser.StreamingParserState{Base.Process})
@ JSON.Parser ~/.julia/packages/JSON/93Ea8/src/Parser.jl:148
[3] byteat(ps::JSON.Parser.StreamingParserState{Base.Process})
@ JSON.Parser ~/.julia/packages/JSON/93Ea8/src/Parser.jl:57
[4] current
@ ~/.julia/packages/JSON/93Ea8/src/Parser.jl:70 [inlined]
[5] chomp_space!
@ ~/.julia/packages/JSON/93Ea8/src/Parser.jl:115 [inlined]
[6] parse_value(pc::JSON.Parser.ParserContext{Dict{String, Any}, Int64, true, nothing}, ps::JSON.Parser.StreamingParserState{Base.Process})
@ JSON.Parser ~/.julia/packages/JSON/93Ea8/src/Parser.jl:158
[7] parse(io::Base.Process; dicttype::Type, inttype::Type{Int64}, allownan::Bool, null::Nothing)
@ JSON.Parser ~/.julia/packages/JSON/93Ea8/src/Parser.jl:481
[8] parse
@ ~/.julia/packages/JSON/93Ea8/src/Parser.jl:474 [inlined]
[9] open(::typeof(JSON.Parser.parse), ::Cmd; kwargs::@Kwargs{})
@ Base ./process.jl:447
[10] open
@ ./process.jl:428 [inlined]
[11] julia_info
@ ~/.julia/packages/BenchmarkCI/jAAT2/src/BenchmarkCI.jl:150 [inlined]
[12] metadata_from(; target::PkgBenchmark.BenchmarkConfig, baseline::PkgBenchmark.BenchmarkConfig, pkgdir::String, script::String, project::String)
@ BenchmarkCI ~/.julia/packages/BenchmarkCI/jAAT2/src/BenchmarkCI.jl:154
[13] judge(target::Nothing, baseline::String; workspace::String, pkgdir::String, script::String, project::String, logger_factory::Type, kwargs::@Kwargs{})
@ BenchmarkCI ~/.julia/packages/BenchmarkCI/jAAT2/src/BenchmarkCI.jl:312
[14] judge(target::Nothing, baseline::String)
@ BenchmarkCI ~/.julia/packages/BenchmarkCI/jAAT2/src/BenchmarkCI.jl:290
[15] judge()
@ BenchmarkCI ~/.julia/packages/BenchmarkCI/jAAT2/src/BenchmarkCI.jl:287
[16] top-level scope
@ none:1
[17] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[18] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:283
[19] _start()
@ Base ./client.jl:550 |
|
That doesn't work anymore. Either needs an I can fix it but tkf is no longer around so unclear what to do. We could disable it for now or move to some fork with the fix. |
|
I see. Thanks for the investigation. I think for now, I can merge this and disable the benchmark action. |
The
@pathcommand needs to execute during precompilation for RelocatableFolders to work. This was changed in a1ad4c9#diff-4bd462497f5ac8631d218b72f21cf9d5f383e7a1500f0fee0b8cb776b9a4dac4.