Commit 5a15be9
committed
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
0 commit comments