Skip to content

Commit

Permalink
[release-1.10] 1.10 backports (#4132)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Jan 10, 2025
1 parent ae85074 commit 6390ea9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,13 @@ function resolve_versions!(env::EnvCache, registries::Vector{Registry.RegistryIn
old_v = get(jll_fix, uuid, nothing)
# We only fixup a JLL if the old major/minor/patch matches the new major/minor/patch
if old_v !== nothing && Base.thispatch(old_v) == Base.thispatch(vers_fix[uuid])
new_v = vers_fix[uuid]
if old_v != new_v
compat_map[uuid][old_v] = compat_map[uuid][new_v]
# Note that we don't delete!(compat_map[uuid], old_v) because we want to keep the compat info around
# in case there's JLL version confusion between the sysimage pkgorigins version and manifest
# but that issue hasn't been fully specified, so keep it to be cautious
end
vers_fix[uuid] = old_v
end
end
Expand Down

0 comments on commit 6390ea9

Please sign in to comment.