Skip to content

Commit

Permalink
CompatHelper: add new compat entry for Statistics at version 1, (keep…
Browse files Browse the repository at this point in the history
… existing compat) (#51)

* CompatHelper: add new compat entry for Statistics at version 1, (keep existing compat)

* Package updates

* Support StatsBase 0.33 in tests

* Add Distributions compat entry

---------

Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org>
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 2, 2024
1 parent f0de24f commit 7e77dcd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: "Run CompatHelper"
run: |
import CompatHelper
CompatHelper.main()
CompatHelper.main(; subdirs=["", "docs"])
shell: julia --color=yes {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 8 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@ StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"

[compat]
Aqua = "0.8"
CalibrationErrors = "0.6"
ConsistencyResampling = "0.3"
Distributions = "0.25"
HypothesisTests = "0.8, 0.9, 0.10, 0.11"
KernelFunctions = "0.10"
LinearAlgebra = "<0.0.1, 1"
Random = "<0.0.1, 1"
Reexport = "1"
StableRNGs = "1"
Statistics = "<0.0.1, 1"
StatsBase = "0.33, 0.34"
StatsFuns = "0.8, 0.9, 1"
StructArrays = "0.5, 0.6"
Test = "<0.0.1, 1"
julia = "1.3"

[extras]
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "0.27"
Documenter = "1"
1 change: 0 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ makedocs(;
),
pages=["Home" => "index.md", "api.md"],
checkdocs=:exports,
strict=true,
)

deploydocs(;
Expand Down
8 changes: 1 addition & 7 deletions test/aqua.jl
Original file line number Diff line number Diff line change
@@ -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(
CalibrationTests;
ambiguities=false,
project_toml_formatting=VERSION >= v"1.7" || !haskey(ENV, "GITHUB_ACTIONS"),
)
Aqua.test_all(CalibrationTests; ambiguities=false)
Aqua.test_ambiguities([CalibrationTests])
end

0 comments on commit 7e77dcd

Please # to comment.