REPL not found on Julia v1.11.1

Seeing this on my test jobs after updating Julia

ERROR: KeyError: key "REPL" not found
Stacktrace:
  [1] getindex
    @ ./dict.jl:477 [inlined]
  [2] Base.Precompilation.ExplicitEnv(envpath::String)
    @ Base.Precompilation ./precompilation.jl:201
  [3] Base.Precompilation.ExplicitEnv()
    @ Base.Precompilation ./precompilation.jl:29
  [4] precompilepkgs(pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, timing::Bool, _from_loading::Bool, configs::Pair{Cmd, Base.CacheFlags}, io::IOContext{Base.PipeEndpoint}, fancyprint::Bool)
    @ Base.Precompilation ./precompilation.jl:367

Do you maybe have a bit more details?
That looks like you are running some code. What code?

Im testing private packages using TestReports.test in nightly test jobs. We started to test against v1.11.1 yesterday and now we see this:

11 dependencies successfully precompiled in 139 seconds. 145 already precompiled.
[ Info: Testing PrivatePackage
ERROR: KeyError: key "REPL" not found

So the @info stems from here TestReports.jl/src/runner.jl at ef6dd386318dc71815d778b8f52cbff40c363d76 · JuliaTesting/TestReports.jl · GitHub

Oh, this is an open issue: Crashing on Julia 1.11-rc1 · Issue #121 · JuliaTesting/TestReports.jl · GitHub

1 Like