Downgrade: raise ModelingToolkit (9.7.1) and OrdinaryDiffEq (6.80.0) compat floors#59
Merged
ChrisRackauckas merged 1 commit intoJun 15, 2026
Conversation
…oor to 6.80.0 (old floors unresolvable at downgrade minimum) The downgrade (LTS, strict) job pins every direct dep to its compat floor. The test suite loads MethodOfLines (a [extras] test dep, no compat entry). At the old floor ModelingToolkit = 9 -> MTK pinned to 9.0.0, but no MethodOfLines version supports MTK 9.0.0 (the lowest, MethodOfLines 0.11.0, requires ModelingToolkit 9.7.1-9), so MethodOfLines was uninstallable: Unsatisfiable requirements detected for package MethodOfLines: restricted by compatibility requirements with ModelingToolkit to versions: uninstalled - no versions left (ModelingToolkit restricted to 9.0.0). Raising MTK floor to 9.7.1 lets MethodOfLines 0.11.0 install, but MTK 9.7.1 requires OrdinaryDiffEq 6.73.0+, while the old OrdinaryDiffEq = 6 floor pins 6.0.0. OrdinaryDiffEq 6.73.0 still fails: it needs FastBroadcast 0.2, whereas OrdinaryDiffEqSDIRK (floor 1.2.0) needs FastBroadcast 0.3.5 - no overlap. OrdinaryDiffEq 6.80.0 is the first version admitting FastBroadcast 0.2-0.3, which overlaps SDIRK's 0.3.5, so 6.80.0 is the smallest co-installable floor. OrdinaryDiffEqSDIRK (1.2.0) and SciMLBase (2.69.0) floors are unchanged - they co-install fine once MTK=9.7.1 and OrdinaryDiffEq=6.80.0. Verified: pinning every direct dep to its compat floor (mimicking julia-downgrade-compat) and running julia-downgrade-compat's downgrade.jl on Julia 1.10 (the LTS downgrade floor) now resolves successfully (MTK 9.7.1, MethodOfLines 0.11.0, OrdinaryDiffEq 6.80.0, SDIRK 1.2.0, SciMLBase 2.69.0), where the old floors gave Unsatisfiable. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Problem
The Downgrade job (LTS Julia 1.10, strict
allow_reresolve: false) pins every direct dependency to its declared[compat]lower bound, then builds and tests. The test suite loads MethodOfLines (a[extras]test dependency with no[compat]entry).At the old floors, the downgrade resolve was Unsatisfiable:
The conflicting pins (why the old floors were impossible)
ModelingToolkit = "9, 10, 11"floors MTK at 9.0.0. But no published MethodOfLines version supports MTK 9.0.0 — the lowest, MethodOfLines0.11.0, requiresModelingToolkit = "9.7.1 - 9". So at MTK 9.0.0, MethodOfLines is uninstallable. (Older MethodOfLines only support MTK 8.)0.11.0install, but MTK 9.7.1 requiresOrdinaryDiffEq = "6.73.0 - 6", while the oldOrdinaryDiffEq = "6, 7"floor pins 6.0.0 — too low.OrdinaryDiffEq 6.73.0itself still fails: it requiresFastBroadcast = "0.2", whereasOrdinaryDiffEqSDIRK(floor 1.2.0) requiresFastBroadcast = "0.3.5 - 0.3"— no overlap.OrdinaryDiffEq 6.80.0is the first version that admitsFastBroadcast = "0.2 - 0.3", which overlaps SDIRK's0.3.5. So 6.80.0 is the smallest co-installable OrdinaryDiffEq floor.OrdinaryDiffEqSDIRK(1.2.0) andSciMLBase(2.69.0) floors are left unchanged — they co-install fine once MTK = 9.7.1 and OrdinaryDiffEq = 6.80.0.Fix
Raise two
[compat]lower bounds to the smallest versions that resolve at the downgrade minimum:ModelingToolkit99.7.1OrdinaryDiffEq66.80.0FastBroadcastwith the SDIRK floorThis raises only lower bounds; no upper bound is touched, no test logic or tolerance is changed.
Resolve verification
Reproduced locally on Julia 1.10 (the LTS downgrade floor):
ModelingToolkit = 9,OrdinaryDiffEq = 6): pinning every direct dep to its floor →Unsatisfiable requirements detected for package MethodOfLines(matches CI).julia-downgrade-compat'sdowngrade.jlin the realdeps/LTS configuration, both resolve successfully — manifest pins MTK 9.7.1, MethodOfLines 0.11.0, OrdinaryDiffEq 6.80.0, OrdinaryDiffEqSDIRK 1.2.0, SciMLBase 2.69.0.Master's non-downgrade CI is unaffected (the package already resolves at the top of its compat ranges; the master CI red was only a Codecov upload-auth error, not a test failure).
Ignore until reviewed by @ChrisRackauckas.