Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError with Resolver (gmsk fail) #4030

Closed
alecloudenback opened this issue Sep 27, 2024 · 2 comments · Fixed by #4032
Closed

AssertionError with Resolver (gmsk fail) #4030

alecloudenback opened this issue Sep 27, 2024 · 2 comments · Fixed by #4032

Comments

@alecloudenback
Copy link
Contributor

_
   _       _ _(_)_     |  Documentation: https://docs.julialang.org/
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.0-rc4 (2024-09-25)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.11) pkg> activate --temp
  Activating new project at `/var/folders/ds/_tfd5bfd0bn51v_5xqxy821h0000gn/T/jl_hyFIta`

(jl_hyFIta) pkg> st
Status `/private/var/folders/ds/_tfd5bfd0bn51v_5xqxy821h0000gn/T/jl_hyFIta/Project.toml` (empty project)

(jl_hyFIta) pkg> add ActuaryUtilities
   Resolving package versions...
┌ Warning: gmsk[32][326][19,63] fail
└ @ Pkg.Resolve ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Resolve/Resolve.jl:382
ERROR: AssertionError: verify_solution(sol, graph)
Stacktrace:
  [1] _resolve(graph::Pkg.Resolve.Graph, lower_bound::Nothing, previous_sol::Nothing)
    @ Pkg.Resolve ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Resolve/Resolve.jl:111
  [2] resolve
    @ ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Resolve/Resolve.jl:67 [inlined]
  [3] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber, installed_only::Bool)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:424
  [4] targeted_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1384
  [5] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber, try_all_installed::Bool)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1356
  [6] _resolve(io::IOContext{IO}, env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1394
  [7] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; allow_autoprecomp::Bool, preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, target::Symbol)
    @ Pkg.Operations ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1427
  [8] add
    @ ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/Operations.jl:1400 [inlined]
  [9] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, target::Symbol, allow_autoprecomp::Bool, kwargs::@Kwargs{io::IOContext{IO}})
    @ Pkg.API ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/API.jl:306
 [10] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{})
    @ Pkg.API ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/API.jl:159
 [11] add(pkgs::Vector{Pkg.Types.PackageSpec})
    @ Pkg.API ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/API.jl:148
 [12] do_cmd(command::Pkg.REPLMode.Command, io::Base.TTY)
    @ Pkg.REPLMode ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/REPLMode/REPLMode.jl:407
 [13] do_cmds(commands::Vector{Pkg.REPLMode.Command}, io::Base.TTY)
    @ Pkg.REPLMode ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/src/REPLMode/REPLMode.jl:393
 [14] do_cmds(repl::REPL.LineEditREPL, commands::String)
    @ REPLExt ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/REPLExt.jl:92
 [15] on_done(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool, repl::REPL.LineEditREPL)
    @ REPLExt ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/REPLExt.jl:106
 [16] #invokelatest#2
    @ ./essentials.jl:1054 [inlined]
 [17] invokelatest
    @ ./essentials.jl:1051 [inlined]
 [18] (::REPLExt.var"#47#50"{REPL.LineEditREPL})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
    @ REPLExt ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/Pkg/ext/REPLExt/REPLExt.jl:128
 [19] #invokelatest#2
    @ ./essentials.jl:1054 [inlined]
 [20] invokelatest
    @ ./essentials.jl:1051 [inlined]
 [21] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
    @ REPL.LineEdit ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2749
 [22] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
    @ REPL ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/REPL/src/REPL.jl:1456
 [23] (::REPL.var"#75#81"{REPL.LineEditREPL, REPL.REPLBackendRef})()
    @ REPL ~/.julia/juliaup/julia-1.11.0-rc4+0.aarch64.apple.darwin14/share/julia/stdlib/v1.11/REPL/src/REPL.jl:461

julia> versioninfo()
Julia Version 1.11.0-rc4
Commit b4b9add84db (2024-09-25 11:03 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 8 × Apple M3
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, apple-m3)
Threads: 4 default, 0 interactive, 2 GC (on 4 virtual cores)
Environment:
  JULIA_NUM_THREADS = auto

It works if you specify a specific version (e.g. add ActuaryUtiliites@5). Julia installed via Juliaup and same issue also seen on a Windows machine on 1.10 and 1.11

@KristofferC
Copy link
Member

Cc @carlobaldassi

@carlobaldassi
Copy link
Member

I'll look into this as soon as I can (next few days, most likely).

carlobaldassi added a commit to carlobaldassi/Pkg3.jl that referenced this issue Oct 1, 2024
KristofferC pushed a commit that referenced this issue Oct 1, 2024
KristofferC pushed a commit that referenced this issue Oct 1, 2024
Fix #4030

(cherry picked from commit e06588d)
KristofferC added a commit that referenced this issue Oct 1, 2024
Fix #4030

(cherry picked from commit e06588d)

Co-authored-by: Carlo Baldassi <carlobaldassi@gmail.com>
IanButterworth pushed a commit that referenced this issue Oct 4, 2024
Fix #4030

(cherry picked from commit e06588d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants