NonlinearProblemLibrary: support SciMLBase v3#183
Merged
ChrisRackauckas merged 1 commit intoSciML:masterfrom May 4, 2026
Merged
Conversation
Widens SciMLBase compat from "2" to "2, 3" so the library can be used under the OrdinaryDiffEq v7 / DiffEqBase v7 stack, which requires SciMLBase v3. The library only constructs NonlinearProblem instances and stores reference solutions, so no code changes are needed for v3. Bumps NonlinearProblemLibrary from 0.1.4 to 0.1.5. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
4 tasks
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
NonlinearProblemLibrarySciMLBase compat from"2"to"2, 3"so the subpackage can resolve under the OrdinaryDiffEq v7 / DiffEqBase v7 stack (which requires SciMLBase v3).NonlinearProblemLibraryversion from0.1.4to0.1.5.NonlinearProbleminstances and stores reference solutions; none of the SciMLBase v2→v3 breaking APIs (destats, symbolretcodecomparison,DEAlgorithm/DEProblem/DESolution,IntegralProblemnout/batch, etc.) are used.Why
SciMLBenchmarks.jl's
NonlinearProblembenchmark folder cannot resolve under the OrdinaryDiffEq v7 stack becauseNonlinearProblemLibrary v0.1.4caps SciMLBase at1.0.0 - 2.155.1. The v7 stack (DiffEqBase v7, OrdinaryDiffEq v7, RecursiveArrayTools v4) requires SciMLBase v3. Bumping NonlinearProblemLibrary's SciMLBase compat is the only thing in this repo blocking the benchmark from resolving. See https://github.com/SciML/OrdinaryDiffEq.jl/blob/master/NEWS.md for the SciMLBase v3 migration notes.Scope
Only
lib/NonlinearProblemLibrary/Project.tomlis touched. Sibling subpackages were checked:SDEProblemLibraryalready declaresSciMLBase = "2.0.1, 3"(no change needed).BVProblemLibrary,DAEProblemLibrary,DDEProblemLibrary,JumpProblemLibrary,ODEProblemLibrarydo not pin SciMLBase directly in their[compat]. They could potentially benefit from explicit v3 compat declarations (and audits of their indirect SciMLBase usage), but that is out of scope for unblocking the SciMLBenchmarks NonlinearProblem benchmark and should be handled in follow-up PRs.Test plan
Pkg.test()passes locally on Julia 1.11 with SciMLBase 3.7.1 resolved (Aqua + AllocCheck suites all pass).Local test output (Julia 1.11, SciMLBase 3.7.1)
🤖 Generated with Claude Code