From 0d380609391fc21946f62b2e6ebaef650ba7bc58 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Tue, 20 Aug 2024 22:37:24 +0100 Subject: [PATCH 1/2] soften circular dep warning during precompilation --- base/precompilation.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base/precompilation.jl b/base/precompilation.jl index 6997ce12c8d01..ffd05986d549a 100644 --- a/base/precompilation.jl +++ b/base/precompilation.jl @@ -557,7 +557,9 @@ function precompilepkgs(pkgs::Vector{String}=String[]; end end if !isempty(circular_deps) - @warn """Circular dependency detected. Precompilation will be skipped for:\n $(join(string.(circular_deps), "\n "))""" + @warn """ + Circular dependency detected. Loading may still succeed, but parallel precompilation will be skipped for: + $(join(map(d->repr("text/plain", d), circular_deps), "\n "))""" end @debug "precompile: circular dep check done" From 5167e4ab8461c864bde4fb8e6b7cf8e193790a97 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Tue, 20 Aug 2024 22:52:44 +0100 Subject: [PATCH 2/2] make info --- base/precompilation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/precompilation.jl b/base/precompilation.jl index ffd05986d549a..5ec8872b08689 100644 --- a/base/precompilation.jl +++ b/base/precompilation.jl @@ -557,7 +557,7 @@ function precompilepkgs(pkgs::Vector{String}=String[]; end end if !isempty(circular_deps) - @warn """ + @info """ Circular dependency detected. Loading may still succeed, but parallel precompilation will be skipped for: $(join(map(d->repr("text/plain", d), circular_deps), "\n "))""" end