Skip to content

Commit

Permalink
make recommendation clearer on manifest version mismatch (#54779)
Browse files Browse the repository at this point in the history
It seems common for people to not infer the recommended action here, so
make it clearer.
  • Loading branch information
IanButterworth committed Jun 21, 2024
1 parent ad5d502 commit 1bf291f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2184,15 +2184,16 @@ function collect_manifest_warnings()
if !isempty(unsuitable_manifests)
msg *= """
- Note that the following manifests in the load path were resolved with a different
julia version, which may be the cause of the error:
julia version, which may be the cause of the error. Try to re-resolve them in the
current version, or consider deleting them if that fails:
$(join(unsuitable_manifests, "\n "))
"""
end
if !isempty(dev_manifests)
msg *= """
- Note that the following manifests in the load path were resolved a potentially
different DEV version of the current version, which may be the cause
of the error:
different DEV version of the current version, which may be the cause of the error.
Try to re-resolve them in the current version, or consider deleting them if that fails:
$(join(dev_manifests, "\n "))
"""
end
Expand Down

0 comments on commit 1bf291f

Please sign in to comment.