Align operator downgrade compatibility floors - #3918
Align operator downgrade compatibility floors#3918ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
|
Superseded by the focused package fix in #3917 and the shared path-source resolver fix in SciML/.github#118. This draft encoded transitive source-package requirements in four unrelated consumer projects and raised the umbrella NonlinearSolve floor. That appeared necessary only because the deployed downgrade action removed local With #118's reconciler, the exact action sees those source constraints directly. Applying only #3917 then selects the coherent minimum stack ( |
Summary
This draft depends on SciML/NonlinearSolve.jl#1079 publishing NonlinearSolve 4.21.1. Public CI cannot resolve that version until the prerequisite is merged and registered.
Ignore this PR until it has been reviewed by @ChrisRackauckas.
Root cause
The #3885 implementation uses a SciMLOperator as the nonlinear solve Jacobian. Its source package correctly requires SciMLOperators 1.24.3, but several source-tree consumers still advertised 1.23. The deployed downgrade action resolves registry packages before restoring path sources, so those consumer lanes could lock SciMLOperators 1.23 and only discover the incompatible path-source requirement later.
OrdinaryDiffEqNonlinearSolve also allowed NonlinearSolve 4.20.3. That permits a NonlinearSolveBase version without the operator-capable Jacobian cache path, producing
MethodError: similar(::SciMLOperators.MatrixOperator)in the implicit solver tests. NonlinearSolve 4.21.1 from SciML/NonlinearSolve.jl#1079 requires NonlinearSolveBase 2.35 while retaining the tested LinearSolve 4.3/5 range.The exact adjacent bisect identified #3885 (
9a2f7e7b79141951df24a0f2191a8aa20e94f49a) as the first bad commit; its parent (3b799e583) passes the full OrdinaryDiffEqNonlinearSolve package tests.Investigation process
julia-downgrade-compataction for every consumer whose old floor caused resolution to stop at SciMLOperators 1.23.Validation
Affected CI evidence
The original failures appeared in: