-
-
Notifications
You must be signed in to change notification settings - Fork 285
Open
Description
On v1.12.2:
(JETLS) pkg> app st
[98e50ef6] JuliaFormatter v2.2.0
jlfmt ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/bin/julia
[4efbe77e] TestRunner v0.1.0 `~/julia/packages/TestRunner`
testrunner ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/bin/julia
[62bfec6d] Runic v1.5.1
runic ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/bin/julia
[a3b70258] JETLS v0.0.0 `~/julia/packages/JETLS`
jetls ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/bin/julia
(JETLS) pkg> app update Runic
Updating registry at `~/.julia/registries/General.toml`
Updating registry at `~/.julia/registries/JuliaHubRegistry.toml`
ERROR: MethodError: Cannot `convert` an object of type Pkg.Versions.VersionSpec to an object of type VersionNumber
The function `convert` exists, but no method is defined for this combination of argument types.
Closest candidates are:
convert(::Type{T}, ::T) where T
@ Base Base_compiler.jl:133
Stacktrace:
[1] convert(::Type{Union{Nothing, VersionNumber}}, x::Pkg.Versions.VersionSpec)
@ Base ./some.jl:37
[2] Pkg.Types.PackageEntry(name::String, version::Pkg.Versions.VersionSpec, path::Nothing, entryfile::Nothing, pinned::Bool, repo::Pkg.Types.GitRepo, tree_hash::Nothing, deps::Dict{String, Base.UUID}, weakdeps::Dict{String, Base.UUID}, exts::Dict{String, String}, uuid::Base.UUID, apps::Dict{String, Pkg.Types.AppInfo}, other::Nothing)
@ Pkg.Types ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/Types.jl:277
[3] Pkg.Types.PackageEntry(; name::String, version::Pkg.Versions.VersionSpec, path::Nothing, entryfile::Nothing, pinned::Bool, repo::Pkg.Types.GitRepo, tree_hash::Nothing, deps::Dict{String, Base.UUID}, weakdeps::Dict{String, Base.UUID}, exts::Dict{String, String}, uuid::Base.UUID, apps::Dict{String, Pkg.Types.AppInfo}, other::Nothing)
@ Pkg.Types ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/Types.jl:276
[4] update_manifest!(env::Pkg.Types.EnvCache, pkgs::Vector{PackageSpec}, deps_map::Dict{Base.UUID, Dict{String, Base.UUID}}, julia_version::VersionNumber)
@ Pkg.Operations ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:209
[5] up(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}, level::UpgradeLevel; skip_writing_project::Bool, preserve::PreserveLevel)
@ Pkg.Operations ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1903
[6] up
@ ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1880 [inlined]
[7] up(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; level::UpgradeLevel, mode::PackageMode, preserve::PreserveLevel, update_registry::Bool, skip_writing_project::Bool, kwargs::@Kwargs{io::IOContext{IO}})
@ Pkg.API ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/API.jl:418
[8] up(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{})
@ Pkg.API ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/API.jl:164
[9] up(pkgs::Vector{PackageSpec})
@ Pkg.API ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/API.jl:153
[10] up
@ ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/API.jl:151 [inlined]
[11] #update##0
@ ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/Apps/Apps.jl:289 [inlined]
[12] activate(f::Pkg.Apps.var"#update##0#update##1"{PackageSpec}, new_project::String)
@ Pkg.API ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/API.jl:1432
[13] update(pkg::PackageSpec)
@ Pkg.Apps ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/Apps/Apps.jl:286
[14] update(pkgs_or_apps::Vector{PackageSpec})
@ Pkg.Apps ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/Apps/Apps.jl:272
[15] do_cmd(command::Pkg.REPLMode.Command, io::Base.TTY)
@ Pkg.REPLMode ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/REPLMode/REPLMode.jl:409
[16] do_cmds(commands::Vector{Pkg.REPLMode.Command}, io::Base.TTY)
@ Pkg.REPLMode ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/src/REPLMode/REPLMode.jl:395
[17] do_cmds(repl::REPL.LineEditREPL, commands::String)
@ REPLExt ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/ext/REPLExt/REPLExt.jl:99
[18] on_done(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool, repl::REPL.LineEditREPL)
@ REPLExt ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/ext/REPLExt/REPLExt.jl:113
[19] #invokelatest_gr#232
@ ./reflection.jl:1295 [inlined]
[20] invokelatest_gr
@ ./reflection.jl:1289 [inlined]
[21] (::REPLExt.var"#create_mode##0#create_mode##1"{REPL.LineEditREPL})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
@ REPLExt ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/Pkg/ext/REPLExt/REPLExt.jl:135
[22] run_interface(terminal::Base.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/REPL/src/LineEdit.jl:2854
[23] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/REPL/src/REPL.jl:1663
[24] (::REPL.var"#61#62"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL ~/.julia/juliaup/julia-1.12.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.12/REPL/src/REPL.jl:650
julia> versioninfo()
Julia Version 1.12.2
Commit ca9b6662be4 (2025-11-20 16:25 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: macOS (arm64-apple-darwin24.0.0)
CPU: 10 × Apple M2 Pro
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, apple-m2)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 6 virtual cores)Metadata
Metadata
Assignees
Type
Projects
Status
New