Skip to content

Require OrdinaryDiffEqCore 4.17.1 where its new internals are used - #4525

Merged
ChrisRackauckas merged 1 commit into
masterfrom
core-lower-bounds
Sep 12, 2026
Merged

ChrisRackauckas merged 1 commit into
masterfrom
core-lower-bounds

Conversation

@ChrisRackauckas

Copy link
Copy Markdown
Member

Fixes a load failure in the currently-published releases:

WARNING: Imported binding OrdinaryDiffEqCore._is_identity_massmatrix was undeclared
at import time during import to OrdinaryDiffEqDefault.
ERROR: LoadError: UndefVarError: `_is_identity_massmatrix` not defined in `OrdinaryDiffEqDefault`

Cause

#4502 added _is_identity_massmatrix, _is_zero_massmatrix and _diff_alg_vars to OrdinaryDiffEqCore's internal surface and began using them from four sublibraries in the same commit. Those sublibraries were then released without raising their OrdinaryDiffEqCore floor, so the resolver is free to pair a new sublibrary with an old Core that does not define the symbols. The three names first exist in OrdinaryDiffEqCore 4.17.1.

package released old floor internal used
OrdinaryDiffEqDefault 2.6.1 4.11 _is_identity_massmatrix
OrdinaryDiffEqFIRK 2.8.5 4.15.1 _is_identity_massmatrix
OrdinaryDiffEqRosenbrock 2.7.2 4.11 _diff_alg_vars
StochasticDiffEqCore 2.2.2 4 _is_identity_massmatrix

_is_zero_massmatrix is used only inside Core itself, so it needs no bound.

This PR

Raises all four floors to OrdinaryDiffEqCore = "4.17.1" and gives each a patch bump: 2.6.2, 2.8.6, 2.7.3, 2.2.3. Raising a compat floor is non-breaking.

Only Project.toml files change; no source is touched.

Still needed after this

The four versions in the table above remain broken for anyone who resolves them. Fixing those requires a retroactive Compat.toml edit in the General registry, which is a separate pull request there and needs a registry maintainer. This PR only makes the next releases correct.

Verification

Each of the four Project.toml files was re-parsed with TOML.parsefile after editing, confirming it is valid and that the [deps] UUID entry is intact and only the [compat] entry moved. No test suite was run; no code changed.

🤖 Generated with Claude Code (model: claude-opus-5[1m])

https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

#4502 added `_is_identity_massmatrix`, `_is_zero_massmatrix` and
`_diff_alg_vars` to OrdinaryDiffEqCore's internal surface and started using
them from four sublibraries. Those sublibraries were released without raising
their OrdinaryDiffEqCore floor, so a resolver is free to pair them with an
older Core that lacks the symbols:

    WARNING: Imported binding OrdinaryDiffEqCore._is_identity_massmatrix was
    undeclared at import time during import to OrdinaryDiffEqDefault.
    ERROR: LoadError: UndefVarError: `_is_identity_massmatrix` not defined in
    `OrdinaryDiffEqDefault`

The symbols first exist in OrdinaryDiffEqCore 4.17.1.

| package | released | old floor | uses |
|---|---|---|---|
| OrdinaryDiffEqDefault | 2.6.1 | 4.11 | _is_identity_massmatrix |
| OrdinaryDiffEqFIRK | 2.8.5 | 4.15.1 | _is_identity_massmatrix |
| OrdinaryDiffEqRosenbrock | 2.7.2 | 4.11 | _diff_alg_vars |
| StochasticDiffEqCore | 2.2.2 | 4 | _is_identity_massmatrix |

All four now require OrdinaryDiffEqCore 4.17.1 and get a patch bump. Raising a
compat floor is non-breaking.

The already-published versions in the table stay broken for anyone who
resolves them; those need a retroactive Compat.toml fix in the General
registry, which is a separate pull request there.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R
@ChrisRackauckas
ChrisRackauckas merged commit 986400e into master Sep 12, 2026
17 of 22 checks passed
@ChrisRackauckas
ChrisRackauckas deleted the core-lower-bounds branch September 12, 2026 09:22
ChrisRackauckas added a commit to ChrisRackauckas-Claude/OrdinaryDiffEq.jl that referenced this pull request Sep 12, 2026
lib/OrdinaryDiffEqDefault/Project.toml has no [sources] block, unlike 44 of
the 59 sublibraries. Its CI therefore resolves OrdinaryDiffEqCore and the
other lib/ dependencies from the registry rather than from the checkout, so a
change to local Core is never exercised against Default before merge.

That is how SciML#4502 shipped broken: it added _is_identity_massmatrix to Core and
used it from Default in one commit, and the lane that should have caught it
was testing Default against an already-released Core.

The entries cover every dependency that lives in lib/: the six runtime deps
plus the DiffEqDevTools test extra, matching the pattern the sibling
sublibraries use.

The load failure itself is already fixed: Core 4.17.1 is registered with the
new helpers and SciML#4525 raised the four consumers' floors to it. This change is
only about closing the CI gap that let it through.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R
ChrisRackauckas added a commit that referenced this pull request Sep 12, 2026
lib/OrdinaryDiffEqDefault/Project.toml has no [sources] block, unlike 44 of
the 59 sublibraries. Its CI therefore resolves OrdinaryDiffEqCore and the
other lib/ dependencies from the registry rather than from the checkout, so a
change to local Core is never exercised against Default before merge.

That is how #4502 shipped broken: it added _is_identity_massmatrix to Core and
used it from Default in one commit, and the lane that should have caught it
was testing Default against an already-released Core.

The entries cover every dependency that lives in lib/: the six runtime deps
plus the DiffEqDevTools test extra, matching the pattern the sibling
sublibraries use.

The load failure itself is already fixed: Core 4.17.1 is registered with the
new helpers and #4525 raised the four consumers' floors to it. This change is
only about closing the CI gap that let it through.



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: ChrisRackauckas <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant