Skip to content

Update needed for tweak in Pkg for new julia 1.11 #3178

@KristofferC

Description

@KristofferC

The commit in JuliaLang/Pkg.jl@9472f56 is backported to Pkg 1.11. This changes the signature of complete_remote_package to complete_remote_package!(comps, partial; hint::Bool). This makes the check at

@static if hasmethod(REPLMode.complete_remote_package, (String,), (:hint,))
REPLMode.complete_remote_package(partial_name; hint=false)
elseif hasmethod(REPLMode.complete_remote_package, (String,))
REPLMode.complete_remote_package(partial_name)
else
REPLMode.complete_remote_package(partial_name, 1, length(partial_name))[1]
end
fail and Pluto fails to precompile, see for example https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/a71dd05_vs_8561cc3/PlutoHooks.primary.log.

cc @fonsp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions