From bc15470da06047c7fbb043c0cea7118b5e0fa2fc Mon Sep 17 00:00:00 2001 From: ChrisRackauckas-Claude Date: Sat, 6 Jun 2026 16:39:08 -0400 Subject: [PATCH] Fix OrdinaryDiffEq 7 solver re-export breakage: import KenCarp4 from sub-package OrdinaryDiffEq 7.0.0 intentionally dropped blanket solver re-exports to cut TTFS (deps 30 -> 6). KenCarp4 now lives in OrdinaryDiffEqSDIRK and is no longer exported by `using OrdinaryDiffEq`, so examples/heat_equation.jl hit `UndefVarError: KenCarp4 not defined` under ODE 7. Import KenCarp4 explicitly from OrdinaryDiffEqSDIRK in the example and add the sub-package to the test [extras]/target and [compat]. The compat `1, 2` keeps the existing `OrdinaryDiffEq = "6, 7"` downgrade space intact. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- Project.toml | 4 +++- examples/heat_equation.jl | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 4ae5e89..b13eb0c 100644 --- a/Project.toml +++ b/Project.toml @@ -13,6 +13,7 @@ SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b" ADTypes = "1" ExplicitImports = "1" OrdinaryDiffEq = "6, 7" +OrdinaryDiffEqSDIRK = "1, 2" ProgressMeter = "1.2" PyCall = "1.90" Requires = "0.5, 1.0" @@ -23,7 +24,8 @@ julia = "1.6" ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7" OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed" +OrdinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["ADTypes", "ExplicitImports", "Test", "OrdinaryDiffEq"] +test = ["ADTypes", "ExplicitImports", "Test", "OrdinaryDiffEq", "OrdinaryDiffEqSDIRK"] diff --git a/examples/heat_equation.jl b/examples/heat_equation.jl index 919b661..ab5d66c 100644 --- a/examples/heat_equation.jl +++ b/examples/heat_equation.jl @@ -10,6 +10,7 @@ module HeatEquationExample using Test using OrdinaryDiffEq +using OrdinaryDiffEqSDIRK: KenCarp4 using ADTypes: AutoFiniteDiff using FEniCS