From 3048ebcdf3d211300d1122317a5e8453f38043b3 Mon Sep 17 00:00:00 2001 From: David Widmann Date: Sun, 4 Feb 2024 03:35:20 +0100 Subject: [PATCH] Update compat entries (#163) * Update compat entries * Update MLJ compat entry * Fix link * Fix? * Use Documenter syntax --- Project.toml | 6 +++++- docs/Project.toml | 2 +- docs/make.jl | 1 - docs/src/introduction.md | 2 +- examples/classification/Project.toml | 4 ++-- examples/distribution/Project.toml | 2 +- test/aqua.jl | 10 ++-------- 7 files changed, 12 insertions(+), 15 deletions(-) diff --git a/Project.toml b/Project.toml index 837b53a4..b65424cc 100644 --- a/Project.toml +++ b/Project.toml @@ -18,16 +18,20 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" Tulip = "6dd1b50a-3aae-11e9-10b5-ef983d2400fa" [compat] -Aqua = "0.6.5" +Aqua = "0.8" DataStructures = "0.17, 0.18" Distances = "0.10.1" Distributions = "0.23, 0.24, 0.25" ExactOptimalTransport = "0.1, 0.2" KernelFunctions = "0.10" +LinearAlgebra = "<0.0.1, 1" PDMats = "0.10, 0.11" +Random = "<0.0.1, 1" Reexport = "0.2, 1.0" SimpleUnPack = "1" +Statistics = "<0.0.1, 1" StatsBase = "0.32, 0.33, 0.34" +Test = "<0.0.1, 1" Tulip = "0.7.5, 0.8, 0.9" julia = "1.3" diff --git a/docs/Project.toml b/docs/Project.toml index e993ce7d..92d7f195 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -5,6 +5,6 @@ Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306" [compat] CalibrationErrors = "0.6" -Documenter = "0.27" +Documenter = "1" Literate = "2.12.1" julia = "1.5" diff --git a/docs/make.jl b/docs/make.jl index ddf3adbd..545563c0 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -123,7 +123,6 @@ makedocs(; return joinpath("examples", basename(x), "index.md") end, ], - strict=true, checkdocs=:exports, ) diff --git a/docs/src/introduction.md b/docs/src/introduction.md index 724603d7..88c6feb4 100644 --- a/docs/src/introduction.md +++ b/docs/src/introduction.md @@ -10,7 +10,7 @@ target with absolute certainty) or caused by insufficient knowledge of the underlying relation between feature and target (e.g., if only a small number of observations of features and corresponding targets are available).[^1] -In the [classification example](../examples/classification) we study the +In the [classification example](@ref "Classification of penguin species") we study the [Palmer penguins dataset](https://github.com/allisonhorst/palmerpenguins) with measurements of three different penguin species and consider the task of predicting the probability of a penguin species (*target*) given the bill and flipper length diff --git a/examples/classification/Project.toml b/examples/classification/Project.toml index 053ec4f3..70ee0988 100644 --- a/examples/classification/Project.toml +++ b/examples/classification/Project.toml @@ -10,11 +10,11 @@ PalmerPenguins = "8b842266-38fa-440a-9b57-31493939ab85" [compat] AlgebraOfGraphics = "0.6" -CairoMakie = "0.8, 0.9, 0.10" +CairoMakie = "0.8, 0.9, 0.10, 0.11" CalibrationErrors = "0.6" DataFrames = "1" Distributions = "0.25" -MLJ = "0.17, 0.18, 0.19" +MLJ = "0.17, 0.18, 0.19, 0.20" MLJNaiveBayesInterface = "0.1.5" PalmerPenguins = "0.1.2" julia = "1.3" diff --git a/examples/distribution/Project.toml b/examples/distribution/Project.toml index c08ebf45..98c1f62a 100644 --- a/examples/distribution/Project.toml +++ b/examples/distribution/Project.toml @@ -5,7 +5,7 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" [compat] -CairoMakie = "0.8, 0.9, 0.10" +CairoMakie = "0.8, 0.9, 0.10, 0.11" CalibrationErrors = "0.6" Distributions = "0.25" StatsBase = "0.33, 0.34" diff --git a/test/aqua.jl b/test/aqua.jl index 1906456a..0ca99c15 100644 --- a/test/aqua.jl +++ b/test/aqua.jl @@ -1,12 +1,6 @@ @testset "Aqua" begin # Test ambiguities separately without Base and Core # Ref: https://github.com/JuliaTesting/Aqua.jl/issues/77 - # Only test Project.toml formatting on Julia > 1.6 when running Github action - # Ref: https://github.com/JuliaTesting/Aqua.jl/issues/105 - Aqua.test_all( - CalibrationErrors; - ambiguities=false, - project_toml_formatting=VERSION >= v"1.7" || !haskey(ENV, "GITHUB_ACTIONS"), - ) - Aqua.test_ambiguities([CalibrationErrors]) + Aqua.test_all(CalibrationErrors; ambiguities=false) + Aqua.test_ambiguities(CalibrationErrors) end