Support DiffEqBase v7 / SciMLBase v3 breaking update (completes #188)#190
Merged
ChrisRackauckas merged 2 commits intoJun 14, 2026
Merged
Conversation
DiffEqBase 7.5 (OrdinaryDiffEq v7 / DifferentialEquations v8) removes the deprecated DEProblem and DEAlgorithm aliases. Switch the abstract supertypes to AbstractDEProblem and AbstractDEAlgorithm, which are available across both the old (DiffEqBase 6.210, SciMLBase 2.153) and new (DiffEqBase 7.5, SciMLBase 3) compat bounds, and widen the DiffEqBase compat to 7.5. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Downgrade CI pins every dependency to its compat lower bound. With DiffEqBase pinned to its floor 6.210.1, the old Enzyme floor 0.13.0 is unsatisfiable: DiffEqBase 6.210.1 requires Enzyme >= 0.13.100 (via its DiffEqBaseEnzymeExt compat). Additionally, EnzymeTestUtils 0.2.0 is runtime -incompatible with Enzyme 0.13.100 — it calls guaranteed_const_nongen(T, nothing) where the newer Enzyme expects a world-age UInt64, erroring in the sensitivity_interface test. EnzymeTestUtils 0.2.4 (the version that raised its own Enzyme floor to 0.13.78) fixes this. Verified locally on Julia 1.10 with all deps pinned to their floors (DiffEqBase 6.210.1, SciMLBase 2.153.0, Enzyme 0.13.100, EnzymeTestUtils 0.2.4): full GROUP=Core suite passes (147 testsets). Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Added a commit bumping the test-only Enzyme floors so the Downgrade CI resolves and passes:
Verified locally on Julia 1.10 with every dependency pinned to its compat floor (DiffEqBase 6.210.1, SciMLBase 2.153.0, Enzyme 0.13.100, EnzymeTestUtils 0.2.4, …): full |
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
Makes the source changes required for the DiffEqBase v7.5 / SciMLBase v3 breaking update (the OrdinaryDiffEq v7 / DifferentialEquations v8 release), and widens the
DiffEqBasecompat accordingly. This is the working counterpart to the compat-only Dependabot PR #188 — that PR bumps the compat bound but, on its own, would fail to load against DiffEqBase 7.5 because of removed API.What broke
DiffEqBase 7.5 / SciMLBase 3 remove the deprecated
DEProblemandDEAlgorithmaliases. This package used both as abstract supertypes, so loading against the new versions fails.Changes
AbstractStateSpaceProblem <: DEProblem→<: AbstractDEProblemAbstractDifferenceEquationAlgorithm <: DEAlgorithm→<: AbstractDEAlgorithmusingimport updatesDiffEqBasecompat widened to"6.210.1, 7.5"inProject.tomlandtest/Project.tomlAbstractDEProblem/AbstractDEAlgorithmexist in both compat bounds (verified: DiffEqBase 6.210.1 / SciMLBase 2.153.1 and DiffEqBase 7.5.5 / SciMLBase 3.20.0), so the dual-version compat range is preserved and the Downgrade CI stays green.No behavioral change —
DEProblem/DEAlgorithmwere always just deprecated aliases for theAbstract*types.Testing
Ran locally on Julia 1.10 against DiffEqBase 7.5.5 / SciMLBase 3.20.0:
GROUP=Coresuite (CI=true): 147 testsets, all pass, exit 0.Also confirmed lower-bound symbol availability under DiffEqBase 6.210.1 / SciMLBase 2.153.1.
🚧 Draft — please ignore until reviewed by @ChrisRackauckas. Supersedes / completes #188 (which can be closed once this merges).
🤖 Generated with Claude Code