Skip to content

Commit 6ed7cb6

Browse files
authored
Merge pull request #379 from control-toolbox/compathelper/new_version/2025-10-23-00-36-00-918-03552363963
CompatHelper: bump compat for JET to 0.11 for package test, (drop existing compat)
2 parents 868e355 + 1c1d031 commit 6ed7cb6

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

test/Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
33
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
44
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
5-
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
65
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
76
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
87

98
[compat]
109
Aqua = "0.8"
1110
Documenter = "1"
1211
HTTP = "1"
13-
JET = "0.9, 0.10, 0.11"
1412
JSON = "1"
1513
Test = "1"

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using CTBase
22
using Test
33
using Aqua
4-
using JET
5-
#using JuliaFormatter
4+
# using JET
5+
# using JuliaFormatter
66
using Documenter
77
using HTTP
88
using JSON

test/test_code_quality.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ function test_code_quality()
1212
Aqua.test_ambiguities(CTBase)
1313
end
1414

15-
@testset "JET" begin
16-
JET.test_package(CTBase; target_defined_modules=true)
17-
end
15+
# @testset "JET" begin
16+
# JET.test_package(CTBase; target_defined_modules=true)
17+
# end
1818

1919
# @testset "JuliaFormatter" begin
2020
# @test JuliaFormatter.format(CTBase; verbose=true, overwrite=false)

test/test_description.jl

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ function test_description()
99
@test descriptions[2] == (:b,)
1010
end
1111

12-
# Type stability test for adding descriptions using the is_inferred macro
13-
@testset "Add Descriptions Type Stability" begin
14-
@test_opt CTBase.add((), (:a,))
15-
@test_inferred CTBase.add((), (:a,))
16-
end
12+
# # Type stability test for adding descriptions using the is_inferred macro
13+
# # Needs JET
14+
# @testset "Add Descriptions Type Stability" begin
15+
# @test_opt CTBase.add((), (:a,))
16+
# @test_inferred CTBase.add((), (:a,))
17+
# end
1718

1819
# Test building algorithm descriptions and completing partial descriptions
1920
@testset "Complete Descriptions with Algorithms" begin
@@ -39,19 +40,20 @@ function test_description()
3940
(:descent, :gradient, :fixedstep)
4041
end
4142

42-
# Type stability test for the complete function using the is_inferred macro
43-
@testset "Complete Descriptions Type Stability" begin
44-
algorithms = ()
45-
algorithms = CTBase.add(algorithms, (:descent, :bfgs, :bisection))
46-
algorithms = CTBase.add(algorithms, (:descent, :bfgs, :backtracking))
47-
algorithms = CTBase.add(algorithms, (:descent, :bfgs, :fixedstep))
48-
algorithms = CTBase.add(algorithms, (:descent, :gradient, :bisection))
49-
algorithms = CTBase.add(algorithms, (:descent, :gradient, :backtracking))
50-
algorithms = CTBase.add(algorithms, (:descent, :gradient, :fixedstep))
43+
# # Type stability test for the complete function using the is_inferred macro
44+
# # Needs JET
45+
# @testset "Complete Descriptions Type Stability" begin
46+
# algorithms = ()
47+
# algorithms = CTBase.add(algorithms, (:descent, :bfgs, :bisection))
48+
# algorithms = CTBase.add(algorithms, (:descent, :bfgs, :backtracking))
49+
# algorithms = CTBase.add(algorithms, (:descent, :bfgs, :fixedstep))
50+
# algorithms = CTBase.add(algorithms, (:descent, :gradient, :bisection))
51+
# algorithms = CTBase.add(algorithms, (:descent, :gradient, :backtracking))
52+
# algorithms = CTBase.add(algorithms, (:descent, :gradient, :fixedstep))
5153

52-
@test_opt CTBase.complete((:descent,); descriptions=algorithms)
53-
@test_inferred CTBase.complete((:descent,); descriptions=algorithms)
54-
end
54+
# @test_opt CTBase.complete((:descent,); descriptions=algorithms)
55+
# @test_inferred CTBase.complete((:descent,); descriptions=algorithms)
56+
# end
5557

5658
# Test ambiguous or invalid description completions throw errors
5759
@testset "Ambiguous and Incorrect Description Errors" begin
@@ -88,7 +90,7 @@ function test_description()
8890

8991
# instead of @inferred, check if the type is a subtype of Tuple{Vararg{Symbol}}
9092
@test typeof(result) <: Tuple{Vararg{Symbol}}
91-
@test_opt CTBase.remove(x, y)
93+
# @test_opt CTBase.remove(x, y)
9294
end
9395

9496
# Test completion with descriptions of different sizes and inclusion priority

0 commit comments

Comments
 (0)