Skip to content

Commit 5a15be9

Browse files
Fix ComponentArrays Mooncake compat for 0.15.34 – 0.15.35
`ext/ComponentArraysMooncakeExt.jl` started referencing `Mooncake.friendly_tangent_cache(x::ComponentArray)` in commit 29ddd04 "Add friendly_tangent_cache function to Mooncake" (before the 0.15.34 tag). `Mooncake.friendly_tangent_cache` / `Mooncake.FriendlyTangentCache` were only introduced in Mooncake 0.5.25, so on Mooncake 0.5.24 and earlier `ComponentArraysMooncakeExt` fails to precompile with: UndefVarError: `friendly_tangent_cache` not defined in `Mooncake` but WeakCompat.toml still permits Mooncake "0.5" for 0.15.33 and later. This has been blocking every Mooncake-loading test job in downstream SciML packages (e.g. SciMLSensitivity.jl PR JuliaRegistries#1421) whenever the resolver picks a pre-0.5.25 Mooncake. 0.15.33 does *not* reference friendly_tangent_cache (verified against the released tree SHA), so this PR splits the existing range: - 0.15.33 -> Mooncake = "0.5" (unchanged) - 0.15.34 – 0.15.35+ -> Mooncake = "0.5.25" A matching floor bump on the package side is in SciML/ComponentArrays.jl#353 so future releases carry the tightened bound directly. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent dd5361d commit 5a15be9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

C/ComponentArrays/WeakCompat.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ Zygote = "0.6.70 - 0.7"
6868
["0.15.3 - 0.15.17"]
6969
SciMLBase = "1-2"
7070

71-
["0.15.33 - 0"]
71+
["0.15.33"]
7272
Mooncake = "0.5"
7373

74+
["0.15.34 - 0"]
75+
Mooncake = "0.5.25"
76+
7477
["0.15.6 - 0.15.17"]
7578
RecursiveArrayTools = "2-3"
7679

0 commit comments

Comments
 (0)