Skip to content

Commit e548dc7

Browse files
committed
Roots.jl require julia 1.6+
1 parent 2346d07 commit e548dc7

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
version:
26-
- '1.3'
26+
- '1.6'
2727
- '1'
2828
- pre
2929
os:
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
version: ${{ matrix.version }}
3838
# ARM64 on macos-latest is neither supported by older Julia versions nor setup-julia
39-
arch: ${{ matrix.os == 'macos-latest' && matrix.version != '1.3' && 'aarch64' || 'x64' }}
39+
arch: ${{ matrix.os == 'macos-latest' && matrix.version >= '1.8' && 'aarch64' || 'x64' }}
4040
show-versioninfo: true
4141
- uses: julia-actions/cache@v2
4242
- uses: julia-actions/julia-buildpkg@v1

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ StatsAPI = "1.6"
5959
StatsBase = "0.32, 0.33, 0.34"
6060
StatsFuns = "0.9.15, 1"
6161
Test = "<0.0.1, 1"
62-
julia = "1.3"
62+
julia = "1.6"
6363

6464
[extras]
6565
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"

test/aqua.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ import Aqua
99
Aqua.test_all(
1010
Distributions;
1111
ambiguities = false,
12-
# On older Julia versions, installed dependencies are quite old
13-
# Thus unbound type parameters show up that are fixed in newer versions
14-
unbound_args = VERSION >= v"1.6",
1512
)
1613
# Tests are not reliable on older Julia versions and
1714
# show ambiguities in loaded packages

test/testutils.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ function test_cgf(dist, ts)
5050
d(f) = Base.Fix1(ForwardDiff.derivative, f)
5151
κ₁ = d(Base.Fix1(cgf, dist))(0)
5252
@test κ₁ mean(dist)
53-
if VERSION >= v"1.4"
54-
κ₂ = d(d(Base.Fix1(cgf, dist)))(0)
55-
@test κ₂ var(dist)
56-
end
53+
κ₂ = d(d(Base.Fix1(cgf, dist)))(0)
54+
@test κ₂ var(dist)
5755
for t in ts
5856
val = @inferred cgf(dist, t)
5957
@test isfinite(val)

0 commit comments

Comments
 (0)