Repository navigation
test: call discretize through SciMLBase - #642
Merged
ChrisRackauckas merged 1 commit intoAug 17, 2026
Merged
ChrisRackauckas merged 1 commit into
ChrisRackauckas merged 1 commit into
Conversation
Co-Authored-By: Chris Rackauckas <[email protected]>
ChrisRackauckas
marked this pull request as ready for review
August 17, 2026 17:25
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.
What changed
Qualify downstream discretization calls through
SciMLBase, the package that owns and exportsdiscretize. This keeps the MethodOfLines tests on public dependency API after ModelingToolkit stopped incidentally exposing the imported name in SciML/ModelingToolkit.jl@03c1307.Please ignore this PR until it has been reviewed by @ChrisRackauckas.
Verification
Failing before the fix
Against a clean ModelingToolkit checkout at
3fe375e19031102e95c7775c4d8a6aac9895767b:JULIA_DEPOT_PATH=../.mtk-methodoflines-depot GROUP=2D_Diffusion timeout 7200 julia +1.12 --startup-file=no --project=downstream -e 'using Pkg; Pkg.develop(PackageSpec(path="./lib/ModelingToolkitBase")); Pkg.develop(PackageSpec(path=".")); Pkg.update(); Pkg.test(coverage=true)'Passing after the fix
The same checkout, depot, and test group with this MethodOfLines branch developed:
JULIA_DEPOT_PATH=../.mtk-methodoflines-depot GROUP=2D_Diffusion timeout 7200 julia +1.12 --startup-file=no --project=../.methodoflines-discretize-fix -e 'using Pkg; Pkg.develop(PackageSpec(path="./lib/ModelingToolkitBase")); Pkg.develop(PackageSpec(path=".")); Pkg.update(); Pkg.test(coverage=true)'Additional local groups against the same clean ModelingToolkit checkout:
GROUP=MOL_Interface1: completed without errors, 0 assertions, 12m21.2s.GROUP=Nonlinear_Diffusion: 10 passed, 2 pre-existing broken, 7m08.9s.GROUP=Nonlinear_Diffusion_NU: 13 passed, 2 pre-existing broken, 6m42.2s.GROUP=QA: 12 passed, 6 pre-existing broken, 7m37.0s.--checkon all four changed files: exit 0.typosover the zero-context diff: exit 0.git diff --check: exit 0.Not verified
GROUP=Everythingwas not run; the affected groups and QA were run individually.masteralready has a separatecartesian_nonlinear_laplacianfailure in2D_Diffusion: https://github.com/SciML/MethodOfLines.jl/actions/runs/32003104117/job/95309268460. This PR does not silence or change that path.