Skip to content

Commit a67ee2f

Browse files
committed
remove Requires
1 parent 2ceba6f commit a67ee2f

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

Project.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
88
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
99
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1010
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
11-
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1211
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1312
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1413
StatsAPI = "82ae8749-77ed-4fe6-ae5f-f523153014b0"
@@ -23,13 +22,12 @@ DistributionFitsOptimExt = "Optim"
2322
[compat]
2423
Distributions = "0.25.102"
2524
FillArrays = "1"
25+
LinearAlgebra = "1.6"
2626
Optim = "1.7"
2727
Reexport = "1.2"
28-
Requires = "1.2"
2928
StaticArrays = "1.2"
30-
Statistics = "1"
29+
Statistics = "1.10"
3130
StatsAPI = "1.6"
32-
LinearAlgebra = "1.6"
3331
StatsFuns = "0.9.15, 1"
3432
julia = "1.10"
3533

src/DistributionFits.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ using StatsFuns: logit, logistic, normcdf
88
using LinearAlgebra
99
#using Infiltrator
1010

11-
if !isdefined(Base, :get_extension)
12-
using Requires
13-
end
14-
1511
# for extension
1612
import Distributions: mean, var, mode
1713
#import StatsBase: fit

test/runtests.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ const GROUP = get(ENV, "GROUP", "All") # defined in in CI.yml
2020
@time @safetestset "test_multivariate" include("multivariate/test_multivariate.jl")
2121
end
2222
if GROUP == "All" || GROUP == "JET"
23-
#@safetestset "Tests" include("test/test_JET.jl")
24-
@time @safetestset "test_JET" include("test_JET.jl")
25-
#@safetestset "Tests" include("test/test_aqua.jl")
26-
@time @safetestset "test_Aqua" include("test_aqua.jl")
23+
if VERSION >= VersionNumber("1.11.2")
24+
#@safetestset "Tests" include("test/test_JET.jl")
25+
@time @safetestset "test_JET" include("test_JET.jl")
26+
#@safetestset "Tests" include("test/test_aqua.jl")
27+
@time @safetestset "test_Aqua" include("test_aqua.jl")
28+
end
2729
end
2830
end
2931

test/test_aqua.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using Aqua
77
Aqua.test_all(
88
DistributionFits;
99
#unbound_args = false, # does not recognize NamedTuple{K, NTuple{N,E}}
10-
stale_deps = (ignore = [:Requires],),
10+
#stale_deps = (ignore = [:Requires],),
1111
ambiguities = false, # ambiguities in StatsBase
1212
piracies = false
1313
)

0 commit comments

Comments
 (0)