Open oxinabox opened 4 months ago
but I think it should do range_compressed_versionspec(versions, [ver.v for ver in ... if !ver.isyanked])
To me, filtering out yanked versions should already have happened at this stage in https://github.com/JuliaLang/Pkg.jl/blob/1f16df404a2fbe8642ea3eecc9f4d7064c400a73/src/Operations.jl#L532 so that the resolver only has non-yanked versions as input.
Consider:
KernelAbstractions v0.9.16 was yanked. The correct display is:
possible versions are: 0.1.0 - 0.9.15, 0.9.17 or uninstalled
I think the problem is here https://github.com/JuliaLang/Pkg.jl/blob/1f16df404a2fbe8642ea3eecc9f4d7064c400a73/src/Resolve/graphtype.jl#L625C21-L625C59
It does:
range_compressed_versionspec(versions)
but I think it should dorange_compressed_versionspec(versions, [ver.v for ver in ... if !ver.isyanked])
but idk what goes in the...
I wrote this display code (a long time ago), It is smart enough to know about skipped over versions if you tell it about them. I think that should work for yanked versions too