Repository navigation
OrdinaryDiffEqDefault: require OrdinaryDiffEqCore 4.17.1 (fixes registry precompile failure) - #4520
Merged
ChrisRackauckas merged 1 commit intoSep 12, 2026
Conversation
`_is_identity_massmatrix` is imported from OrdinaryDiffEqCore but was only added there in 4.17.1 (SciML#4502). The declared bound of "4.11" lets the resolver pick an older Core, and the package then fails to precompile with `UndefVarError: _is_identity_massmatrix`. In-repo CI never sees this because `[sources]` supplies the local Core. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FeJYXni9MkJhPFA9yxYvfn
ChrisRackauckas
marked this pull request as ready for review
September 12, 2026 11:34
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 13, 2026
- qa: allow JET 0.12 in OrdinaryDiffEqCore/BDF/NonlinearSolve QA envs (#4516) - Add regression tests for issues verified fixed in recent releases (#4517) - fix: save all simultaneous events in a VCC (#4129) - Add 4th-order Friedli Exponential Runge-Kutta solver (#4481) - Release DiffEqBase 7.21.1 (#4521) - Fix BDF rejected-step controller for backward (tdir < 0) solves (#4519) - Require OrdinaryDiffEqCore 4.17.1 where its new internals are used (#4525) - OrdinaryDiffEqDefault: require OrdinaryDiffEqCore 4.17.1 (#4520) - Add adaptive step size control to SDC (#4346) - Allow JET 0.12 in every QA test environment (#4513) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 13, 2026
- OrdinaryDiffEqDefault: require OrdinaryDiffEqCore 4.17.1 (#4520) - Add adaptive step size control to SDC (#4346) - Allow JET 0.12 in every QA test environment (#4513) - Resolve OrdinaryDiffEqDefault against the local sublibraries (#4514) - NonlinearSolveAlg: stale-Jacobian retry + rejected-step W reassembly (carries #4282 to current master) (#4505) - Do not seed a retry from the previous-step interpolant (#4473) - Say why the linear path ignores new_W_dt_cutoff (#4527) - Carry the QNDF2 difference array across steps (#4526) - Pass Θ = 0, not the absolute time, to the AN5 startup interpolant (#4534) - Make the stabilized-RK step cap and eigenvalue tolerance direction-agnostic (#4536) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.
What changed and why
lib/OrdinaryDiffEqDefault/src/OrdinaryDiffEqDefault.jl:11imports_is_identity_massmatrixfromOrdinaryDiffEqCore, anddefault_alg.jl:161calls it. That binding was added to OrdinaryDiffEqCore in 4.17.1, by "Make mass-matrix identity/zero/diagonal checks GPU-safe" (#4502,c44595df7). Butlib/OrdinaryDiffEqDefault/Project.tomldeclaresOrdinaryDiffEqCore = "4.11", so the resolver is free to pair OrdinaryDiffEqDefault 2.6.1 with an older Core, and the package then fails to precompile.In-repo CI cannot catch this:
[sources]points OrdinaryDiffEqDefault at../OrdinaryDiffEqCore, so every in-repo run gets the local 4.17.1. Only registry users hit it.OrdinaryDiffEq7.8.1 declaresOrdinaryDiffEqCore = "4.15.1", so a real environment can and does settle on Core 4.17.0 with Default 2.6.1 — that is how I hit it, resolving ModelingToolkitBase's test environment.This raises the declared floor to
4.17.1so the bound matches what the code actually needs, and bumps OrdinaryDiffEqDefault to 2.6.2 so a release carries the corrected bound.Verification
Reproduction on Julia 1.12.7 with the registry as of 2026-09-12 — pin Core to 4.17.0, then add Default 2.6.1. The resolver accepts the pair, because the current bound permits it, and precompilation then fails:
Confirming the version boundary:
_is_identity_massmatrixis absent from the sources of OrdinaryDiffEqCore 4.15.3, 4.16.0, 4.16.1 and 4.17.0, and present in 4.17.1. It is used by OrdinaryDiffEqDefault 2.6.1 and by no earlier Default release.What I did not verify
This is a compat-bound change only, with no code change, so I ran no test group; in-repo tests resolve Core through
[sources]and are unaffected by the bound either way. I also did not construct a registry-side resolution test proving the new bound excludes Core 4.17.0 —Pkg.developof a path package does not exercise registry resolution, so I am asserting the bound's effect from its semantics rather than from an experiment.For the reviewer
The floor could instead be set to whichever Core release you consider the supported minimum, as long as it is ≥ 4.17.1. I picked the exact version that introduced the binding.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FeJYXni9MkJhPFA9yxYvfn