-
-
Notifications
You must be signed in to change notification settings - Fork 655
Conversation
Needed for Nanosoldier |
The Travis failure persists after restarting. :-/ Looking at the code, that "ok" assertion corresponds to this (pkg/resolve.jl:126): ok, sol = greedysolver(interface)
if !ok
try
graph = Graph(interface)
msgs = Messages(interface, graph)
sol = maxsum(graph, msgs)
ok = verify_solution(sol, interface)
@assert ok
catch err
isa(err, UnsatError) || rethrow(err)
pp = red_pkgs[err.info]
for vneq in eq_classes[p][vn]
push!(problematic, (p, vneq, pp))
end
end
end I imagine it could be related to the fact that PkgDev uses JSON, but Nullables.jl should merely reexport |
I can reproduce the issue on this METADATA branch locally. It must be some artifact with how the solver sanity checks things. Extremely strangely, the failure seems to be on
|
It is, I believe, unrelated to the JSON change itself, as it persists even when reverting JSON to 0.16.1. The problem seems to be in the METADATA entry... |
Someone who knows how the resolver works will need to take a look at this. Here is a patch that "fixes" the issue on 0.7, by (seemingly) making the problematic DiffEqDevTools versions unavailable. Obviously this patch is not intended to be a real solution.
|
Yes, that assertion failure signals a bug. I'll try to reproduce and investigate this weekend. |
Should we merge this PR in the meantime anyway? |
Update: I have reproduced the error and I think I know what the problem is. I'll need more time to figure out what's the best way to fix it. In the meanwhile, I have verified that setting the |
Thanks @carlobaldassi! Though I've tried setting |
Ah, I see, that's annoying - it takes just 3 minutes on my laptop. |
Package fails to load on Julia 0.6.
Package fails to load on Julia 0.6.
Thanks. I've checked and indeed the releases you mention do not even load on Julia 0.6, so it's not a problem to an an upper bound. Merging so that I can run Nanosoldier. |
* Tag JSON.jl v0.16.2 [https://github.com/JuliaIO/JSON.jl/releases/tag/v0.16.2] * Add upper bounds on Julia 0.6 to Colors 0.4.7 and 0.5.0 Package fails to load on Julia 0.6. * Add upper bound on Julia 0.6 to URIParser up to 0.1.0 Package fails to load on Julia 0.6.
Repository: JuliaIO/JSON.jl
Release: v0.16.2
Travis:
Diff: vs v0.16.1
requires
vs v0.16.1:cc: @ararslan
Please make sure that: