I just updated to julia v1.5 and when loading my package LiterateWeave which depends on both Literate and Weave, I get the error reproduced below. This package works well under julia v1.4 so I assume it's something that has changed since then. LiterateWeave does no evaluation using eval, in fact, it's entire source code is given by
julia> using LiterateWeave
[ Info: Precompiling LiterateWeave [43172d54-7163-11e9-1466-ff355c947c6f]
ERROR: LoadError: InitError: Evaluation into the closed module `Markdown` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other module mutating `Markdown` with `eval` during precompilation - don't do this.
Stacktrace:
[1] eval at ./boot.jl:331 [inlined]
[2] eval at /home/fredrikb/julia/usr/share/julia/stdlib/v1.5/Markdown/src/Markdown.jl:6 [inlined]
[3] __init__() at /home/fredrikb/.julia/packages/Weave/AL87K/src/WeaveMarkdown/markdown.jl:10
description
I just updated to julia v1.5 and when loading my package
LiterateWeave
which depends on both Literate and Weave, I get the error reproduced below. This package works well under julia v1.4 so I assume it's something that has changed since then. LiterateWeave does no evaluation usingeval
, in fact, it's entire source code is given byso I assume the error is on the Weave side, likely here https://github.com/JunoLab/Weave.jl/blob/1e9ba19db499675b3201d0d700a8ab14e2f801ed/src/WeaveMarkdown/markdown.jl#L13
versions