Skip to content

Commit 2444ffd

Browse files
move OrdinaryDiffEqTsit5 to downstream test group
OrdinaryDiffEqCore still requires FunctionWrappersWrappers 0.1, which conflicts with NonlinearSolveBase requiring FWW v1. Move the shooting test that uses OrdinaryDiffEqTsit5 to the downstream group and add it via dynamic Pkg.add so it doesn't block resolution for other test groups. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent c0abd50 commit 2444ffd

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Project.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ NonlinearSolveBase = "2.2"
108108
NonlinearSolveFirstOrder = "2"
109109
NonlinearSolveQuasiNewton = "1.12"
110110
NonlinearSolveSpectralMethods = "1.6"
111-
OrdinaryDiffEqTsit5 = "1.5"
112111
PETSc = "0.4.2"
113112
Pkg = "1.10"
114113
PolyesterForwardDiff = "0.1.3"
@@ -153,7 +152,6 @@ NLSolvers = "337daf1e-9722-11e9-073e-8b9effe078ba"
153152
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
154153
NaNMath = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
155154
NonlinearProblemLibrary = "b7050fa9-e91f-4b37-bcee-a89a063da141"
156-
OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a"
157155
PETSc = "ace2c81b-2b5f-4b1e-a30d-d662738edfe0"
158156
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
159157
PolyesterForwardDiff = "98d1487c-24ca-40b6-b7ab-df2af84e126b"
@@ -175,4 +173,4 @@ Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
175173
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
176174

177175
[targets]
178-
test = ["Aqua", "BandedMatrices", "BenchmarkTools", "ExplicitImports", "FastLevenbergMarquardt", "FixedPointAcceleration", "Hwloc", "InteractiveUtils", "LeastSquaresOptim", "LineSearches", "MINPACK", "MPI", "NLSolvers", "NLsolve", "NaNMath", "NonlinearProblemLibrary", "OrdinaryDiffEqTsit5", "PETSc", "Pkg", "PolyesterForwardDiff", "PreallocationTools", "Random", "ReTestItems", "SafeTestsets", "SIAMFANLEquations", "SparseConnectivityTracer", "SparseMatrixColorings", "SpeedMapping", "StableRNGs", "StaticArrays", "Sundials", "Test", "Zygote", "ReverseDiff", "Tracker", "SciMLLogging"]
176+
test = ["Aqua", "BandedMatrices", "BenchmarkTools", "ExplicitImports", "FastLevenbergMarquardt", "FixedPointAcceleration", "Hwloc", "InteractiveUtils", "LeastSquaresOptim", "LineSearches", "MINPACK", "MPI", "NLSolvers", "NLsolve", "NaNMath", "NonlinearProblemLibrary", "PETSc", "Pkg", "PolyesterForwardDiff", "PreallocationTools", "Random", "ReTestItems", "SafeTestsets", "SIAMFANLEquations", "SparseConnectivityTracer", "SparseMatrixColorings", "SpeedMapping", "StableRNGs", "StaticArrays", "Sundials", "Test", "Zygote", "ReverseDiff", "Tracker", "SciMLLogging"]

test/core_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ end
253253
# algorithms which dont support those.
254254
# Note: ForwardDiff doesn't support complex numbers, so we use FiniteDiff instead.
255255
# Trust region methods also don't work with complex numbers (they use extrema internally).
256-
@testitem "Complex Valued Problems: Single-Shooting" tags = [:core] begin
256+
@testitem "Complex Valued Problems: Single-Shooting" tags = [:downstream] begin
257257
using OrdinaryDiffEqTsit5
258258

259259
function ode_func!(du, u, p, t)

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if GROUP != "trim"
3535
if GROUP == "all" || GROUP == "downstream"
3636
push!(EXTRA_PKGS, Pkg.PackageSpec("ModelingToolkit"))
3737
push!(EXTRA_PKGS, Pkg.PackageSpec("SymbolicIndexingInterface"))
38+
push!(EXTRA_PKGS, Pkg.PackageSpec("OrdinaryDiffEqTsit5"))
3839
end
3940
if GROUP in ("all", "nopre", "bounds")
4041
# Only add Enzyme for specific groups if not on prerelease Julia and if enabled

0 commit comments

Comments
 (0)