Skip to content

Commit 93bc030

Browse files
Update JET configuration and fix test structure
- Update all JET version constraints from '0.9.18' to '0.9.18, 0.10.4' to support both JET v0.9 and v0.10 as requested - Fix JET test structure from '@test_broken @test_opt' to '@test_opt broken=true' following the correct JET.jl @test_opt syntax - Updated 33 Project.toml files and 15 JET test calls - This should resolve JET compatibility issues while maintaining proper test coverage 🤖 Generated with [Claude Code](https://claude.ai/code)
1 parent be83a62 commit 93bc030

File tree

38 files changed

+48
-48
lines changed

38 files changed

+48
-48
lines changed

lib/ImplicitDiscreteSolve/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ SymbolicIndexingInterface = "0.3.38"
2626
Test = "1.10.0"
2727
UnPack = "1.0.2"
2828
julia = "1.10"
29-
JET = "0.9.18"
29+
JET = "0.9.18, 0.10.4"
3030
Aqua = "0.8.11"
3131

3232
[extras]

lib/OrdinaryDiffEqAdamsBashforthMoulton/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Static = "1.1.1"
3737
Test = "<0.0.1, 1"
3838
SciMLBase = "2"
3939
julia = "1.10"
40-
JET = "0.9.18"
40+
JET = "0.9.18, 0.10.4"
4141
Aqua = "0.8.11"
4242

4343
[extras]

lib/OrdinaryDiffEqBDF/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ DiffEqDevTools = "2.44.4"
3939
Enzyme = "0.13"
4040
FastBroadcast = "0.3.5"
4141
ForwardDiff = "0.10.36, 1"
42-
JET = "0.9.18"
42+
JET = "0.9.18, 0.10.4"
4343
LinearAlgebra = "<0.0.1, 1"
4444
LinearSolve = "3"
4545
MacroTools = "0.5.13"

lib/OrdinaryDiffEqBDF/test/jet.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ using Test
3939
for solver in regular_bdf_solvers
4040
@testset "$(typeof(solver)) type stability" begin
4141
try
42-
@test_broken @test_opt init(linear_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
42+
@test_opt broken=true init(linear_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
4343
integrator = init(linear_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
44-
@test_broken @test_opt step!(integrator)
44+
@test_opt broken=true step!(integrator)
4545
catch e
4646
@test_broken false # Mark as broken if solver fails to initialize
4747
println("$(typeof(solver)) failed with: $e")
@@ -52,9 +52,9 @@ using Test
5252
for solver in dae_solvers
5353
@testset "$(typeof(solver)) DAE type stability" begin
5454
try
55-
@test_broken @test_opt init(dae_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
55+
@test_opt broken=true init(dae_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
5656
integrator = init(dae_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
57-
@test_broken @test_opt step!(integrator)
57+
@test_opt broken=true step!(integrator)
5858
catch e
5959
@test_broken false # Mark as broken if solver fails to initialize
6060
println("$(typeof(solver)) failed with: $e")
@@ -65,9 +65,9 @@ using Test
6565
for solver in sbdf_solvers
6666
@testset "$(typeof(solver)) type stability" begin
6767
try
68-
@test_broken @test_opt init(split_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
68+
@test_opt broken=true init(split_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
6969
integrator = init(split_prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
70-
@test_broken @test_opt step!(integrator)
70+
@test_opt broken=true step!(integrator)
7171
catch e
7272
@test_broken false # Mark as broken if solver fails to initialize
7373
println("$(typeof(solver)) failed with: $e")

lib/OrdinaryDiffEqCore/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ SymbolicIndexingInterface = "0.3.31"
8585
Test = "<0.0.1, 1"
8686
TruncatedStacktraces = "1.2"
8787
julia = "1.10"
88-
JET = "0.9.18"
88+
JET = "0.9.18, 0.10.4"
8989
Aqua = "0.8.11"
9090

9191
[extras]

lib/OrdinaryDiffEqDefault/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ StaticArrays = "1.0"
4848
Test = "<0.0.1, 1"
4949
SciMLBase = "2"
5050
julia = "1.10"
51-
JET = "0.9.18"
51+
JET = "0.9.18, 0.10.4"
5252
Aqua = "0.8.11"
5353
SparseArrays = "1"
5454

lib/OrdinaryDiffEqDifferentiation/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ StaticArrayInterface = "1"
5252
StaticArrays = "1"
5353
Test = "<0.0.1, 1"
5454
julia = "1.10"
55-
JET = "0.9.18"
55+
JET = "0.9.18, 0.10.4"
5656
Aqua = "0.8.11"
5757

5858
[extras]

lib/OrdinaryDiffEqExplicitRK/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Test = "<0.0.1, 1"
3636
TruncatedStacktraces = "1"
3737
SciMLBase = "2"
3838
julia = "1.10"
39-
JET = "0.9.18"
39+
JET = "0.9.18, 0.10.4"
4040
Aqua = "0.8.11"
4141

4242
[extras]

lib/OrdinaryDiffEqExplicitRK/test/jet.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ using Test
2424
for solver in explicit_rk_solvers
2525
@testset "$(typeof(solver)) type stability" begin
2626
try
27-
@test_broken @test_opt init(prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
27+
@test_opt broken=true init(prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
2828
integrator = init(prob, solver, save_everystep=false, abstol=1e-6, reltol=1e-6)
29-
@test_broken @test_opt step!(integrator)
29+
@test_opt broken=true step!(integrator)
3030
catch e
3131
@test_broken false # Mark as broken if solver fails to initialize
3232
println("$(typeof(solver)) failed with: $e")

lib/OrdinaryDiffEqExponentialRK/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ SciMLBase = "2.48.1"
4444
SparseArrays = "<0.0.1, 1"
4545
Test = "<0.0.1, 1"
4646
julia = "1.10"
47-
JET = "0.9.18"
47+
JET = "0.9.18, 0.10.4"
4848
Aqua = "0.8.11"
4949

5050
[extras]

0 commit comments

Comments
 (0)