From 290db7cbbaca22512216406cdf25ace95bc223cb Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 30 May 2022 10:41:36 +1200 Subject: [PATCH 1/2] relax a loggin test that new version of MLJBase has invalidated --- test/interface/fitpredict.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/interface/fitpredict.jl b/test/interface/fitpredict.jl index 138c29d..3e15c55 100644 --- a/test/interface/fitpredict.jl +++ b/test/interface/fitpredict.jl @@ -89,5 +89,9 @@ end mdl = LogisticClassifier() X, y = MLJBase.@load_iris mach = MLJBase.machine(mdl, X, y) - @test_logs (:info,"Training Machine{LogisticClassifier,…}.") (:info,"Solver: LBFGS()") MLJBase.fit!(mach; verbosity=1) + @test_logs( + (:info, r"LogisticClassifier"), + (:info, r"Solver: LBFGS()"), + MLJBase.fit!(mach; verbosity=1), + ) end From 843a3ba9b584ca9dd355333d293ed30208ef294e Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 30 May 2022 10:42:20 +1200 Subject: [PATCH 2/2] extend compat DocStringExtensions = "0.8, 0.9" --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 675551c..bc5f71b 100644 --- a/Project.toml +++ b/Project.toml @@ -13,7 +13,7 @@ Optim = "429524aa-4258-5aef-a3af-852621145aeb" Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a" [compat] -DocStringExtensions = "0.8" +DocStringExtensions = "0.8, 0.9" IterativeSolvers = "0.8, 0.9" LinearMaps = "2.6, 3.2" MLJModelInterface = "0.3, 0.4, 1.0"