Bump Mooncake compat lower bound to 0.5.25#353
Merged
ChrisRackauckas merged 1 commit intoApr 11, 2026
Merged
Conversation
v0.15.35 added `Mooncake.friendly_tangent_cache(x::ComponentArray)` to `ext/ComponentArraysMooncakeExt.jl` (commit 29ddd04 "Add friendly_tangent_cache function to Mooncake"), but the Mooncake compat floor was left at `"0.5"`. `Mooncake.friendly_tangent_cache` / `Mooncake.FriendlyTangentCache` were only introduced in Mooncake 0.5.25 — on 0.5.24 and earlier the extension fails to precompile with `UndefVarError: friendly_tangent_cache not defined in Mooncake` whenever the resolver happens to pick a pre-0.5.25 Mooncake, which has been blocking downstream CI across SciMLSensitivity.jl and other Mooncake consumers. Pin the floor to 0.5.25 so the resolver is forced to pick a Mooncake that has the symbols this extension now references, and bump the package version 0.15.35 → 0.15.36. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
ChrisRackauckas-Claude
pushed a commit
to ChrisRackauckas-Claude/General
that referenced
this pull request
Apr 11, 2026
`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>
ChrisRackauckas-Claude
pushed a commit
to ChrisRackauckas-Claude/General
that referenced
this pull request
Apr 11, 2026
`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>
DilumAluthge
pushed a commit
to JuliaRegistries/General
that referenced
this pull request
Apr 12, 2026
`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 #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: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v0.15.35 added
Mooncake.friendly_tangent_cache(x::ComponentArray)toext/ComponentArraysMooncakeExt.jl(commit 29ddd04 — "Add friendly_tangent_cache function to Mooncake"), but the Mooncake compat floor was left at\"0.5\". `Mooncake.friendly_tangent_cache` / `Mooncake.FriendlyTangentCache` were only introduced in Mooncake 0.5.25 — on 0.5.24 and earlier the extension fails to precompile with:```
ERROR: LoadError: UndefVarError: `friendly_tangent_cache` not defined in `Mooncake`
Failed to precompile ComponentArraysMooncakeExt
```
This has been blocking downstream CI across SciMLSensitivity.jl and other Mooncake consumers whenever the resolver happens to pick a pre-0.5.25 Mooncake — every test job fails at the precompile step before the package under test even loads.
Change
Verification
```
$ grep -l friendly_tangent_cache ~/.julia/packages/Mooncake/*/src -r | xargs -I{} dirname {} | xargs -I{} grep 'version ' {}/../Project.toml
version = "0.5.25"
version = "0.5.26"
```
(0.5.24 and older Mooncakes in `~/.julia/packages/Mooncake/` do not define the symbol.)
Test plan
Co-Authored-By: Chris Rackauckas accounts@chrisrackauckas.com