Closed nalimilan closed 5 years ago
https://github.com/JuliaLang/Pkg.jl/pull/1154
I think it happens because one of those packages have 0 compatibility constraints, which was not allowed before.
[FYI] Hi, since last week I have been having trouble with:
"IncrementalInference",
specifically version v0.5.5. See here:
Not sure if I am the only one though, and need a little help to get it resolved if any one has ideas please!
This also happens when trying to install the older and 'working' v0.5.4
of IncrementalInference:
$ julia -O3
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.0.3 (2018-12-18)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(v1.0) pkg> activate .
(diif) pkg> add IncrementalInference@0.5.4
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
ERROR: AssertionError: p0 ≠ p1
Stacktrace:
[1] Pkg.GraphType.Graph(::Dict{Base.UUID,Set{VersionNumber}}, ::Dict{Base.UUID,Dict{Pkg.Types.VersionRange,Dict{String,Base.UUID}}}, ::Dict{Base.UUID,Dict{Pkg.Types.VersionRange,Dict{String,Pkg.Types.VersionSpec}}}, ::Dict{Base.UUID,String}, ::Dict{Base.UUID,Pkg.Types.VersionSpec}, ::Dict{Base.UUID,Pkg.Types.Fixed}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/GraphType.jl:315
...
Looks like Pkg is definitely not happy about something in the General registry -- likely IncrementalInference v0.5.5 with its lack of [compat]
definitions in the Project.toml. v0.5.6 did introduce that but didn't fix the assertion error. Not sure if there is something I can do to fix?
Perhaps you can try revert the 0.5.5 PR and see if that fixes things?
@carlobaldassi does this happen because a package version have 0 compatibility constraints?
Maybe not something reasonable to do, but...