Repository navigation
Require OrdinaryDiffEqCore 4.17.1 where its new internals are used - #4525
Merged
Merged
Conversation
#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
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]>
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.
Fixes a load failure in the currently-published releases:
Cause
#4502 added
_is_identity_massmatrix,_is_zero_massmatrixand_diff_alg_varsto 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.OrdinaryDiffEqDefault4.11_is_identity_massmatrixOrdinaryDiffEqFIRK4.15.1_is_identity_massmatrixOrdinaryDiffEqRosenbrock4.11_diff_alg_varsStochasticDiffEqCore4_is_identity_massmatrix_is_zero_massmatrixis 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.tomlfiles 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.tomledit 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.tomlfiles was re-parsed withTOML.parsefileafter 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