Skip to content

Commit 2eb8ae5

Browse files
[release-1.11] 1.11 backports (#4133)
1 parent bac7775 commit 2eb8ae5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Operations.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,13 @@ function resolve_versions!(env::EnvCache, registries::Vector{Registry.RegistryIn
436436
old_v = get(jll_fix, uuid, nothing)
437437
# We only fixup a JLL if the old major/minor/patch matches the new major/minor/patch
438438
if old_v !== nothing && Base.thispatch(old_v) == Base.thispatch(vers_fix[uuid])
439+
new_v = vers_fix[uuid]
440+
if old_v != new_v
441+
compat_map[uuid][old_v] = compat_map[uuid][new_v]
442+
# Note that we don't delete!(compat_map[uuid], old_v) because we want to keep the compat info around
443+
# in case there's JLL version confusion between the sysimage pkgorigins version and manifest
444+
# but that issue hasn't been fully specified, so keep it to be cautious
445+
end
439446
vers_fix[uuid] = old_v
440447
end
441448
end

0 commit comments

Comments
 (0)