Repository navigation
Raise OrdinaryDiffEqCore floor to 4.4 in disco/CommonControllerOptions importers - #3774
Merged
ChrisRackauckas merged 1 commit intoJun 24, 2026
Conversation
…erOptions importers The fresh-disco merge (SciML#3121) added `set_discontinuity` (disco.jl) and a second type parameter to `CommonControllerOptions{T, NLPType}` to OrdinaryDiffEqCore, and SciML#3773 released those changes as OrdinaryDiffEqCore v4.4.0. But the sublibraries that import those new symbols still carried `OrdinaryDiffEqCore = "4.1"`, so the resolver is free to pick a registered OrdinaryDiffEqCore in [4.1, 4.4) (e.g. 4.3.0, which predates the disco merge) that lacks `set_discontinuity` and has the old one-parameter `CommonControllerOptions`. That mis-resolution makes the dependents fail to precompile: WARNING: could not import OrdinaryDiffEqCore.set_discontinuity into OrdinaryDiffEqBDF ERROR: LoadError: too many parameters for type @ .../OrdinaryDiffEqBDF/src/controllers.jl This is the root cause of the master CI AD (julia lts) and ODEInterfaceRegression (julia lts) failures (OrdinaryDiffEqBDF precompile error). Reproduced locally on Julia 1.10 with path-OrdinaryDiffEqBDF + registered OrdinaryDiffEqCore 4.3.0, producing the identical error; after raising the floor to "4.4", the resolver correctly rejects OrdinaryDiffEqCore < 4.4.0 ("restricted to versions 4.4.0-4 ... no versions left") and the full root env precompiles and solves FBDF cleanly. Affected importers (all bumped to floor 4.4 + patch version bump): - OrdinaryDiffEqBDF (set_discontinuity + 2-param CommonControllerOptions) - OrdinaryDiffEqFIRK (set_discontinuity) - OrdinaryDiffEqNordsieck (2-param CommonControllerOptions) - OrdinaryDiffEqExtrapolation (2-param CommonControllerOptions) - ImplicitDiscreteSolve (2-param CommonControllerOptions) Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
ChrisRackauckas
marked this pull request as ready for review
June 24, 2026 11:55
This was referenced Jun 24, 2026
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.
Please ignore until reviewed by @ChrisRackauckas. Draft.
Problem
The
fresh-discomerge (#3121) addedset_discontinuity(OrdinaryDiffEqCore/src/disco.jl) and a second type parameter toCommonControllerOptions{T, NLPType}in OrdinaryDiffEqCore, and #3773 released those as OrdinaryDiffEqCore v4.4.0. However, the sublibraries that import those new symbols still carriedOrdinaryDiffEqCore = "4.1"in[compat]. That lets the resolver pick a registered OrdinaryDiffEqCore in[4.1, 4.4)— e.g. 4.3.0, which predates the disco merge — that lacksset_discontinuityand has the old one-parameterCommonControllerOptions. The dependents then fail to precompile:This is the root cause of the master CI AD (julia lts) and ODEInterfaceRegression (julia lts) failures (both an
OrdinaryDiffEqBDFprecompile error).Fix
Raise the
OrdinaryDiffEqCorefloor to"4.4"(the version that introduced the imported symbols) in every sublib that imports them, plus a patch version bump:set_discontinuity+ 2-paramCommonControllerOptionsset_discontinuityCommonControllerOptionsCommonControllerOptionsCommonControllerOptionsVerification (local, Julia 1.10 / lts)
OrdinaryDiffEqBDF(current master) + registeredOrdinaryDiffEqCore 4.3.0(allowed by the old4.1floor) gives the identicalcould not import set_discontinuity/too many parameters for typeprecompile failure.4.4, the resolver rejects the bad Core —Unsatisfiable requirements detected for package OrdinaryDiffEqCore: restricted to versions 4.4.0-4 by OrdinaryDiffEqBDF — no versions left.solve(prob, FBDF())returnsretcode=Success.🤖 Generated with Claude Code