Skip to content

Commit 4b5c209

Browse files
committed
Set Julia compat to 1.10
1 parent 7e9c3ed commit 4b5c209

File tree

5 files changed

+27
-25
lines changed

5 files changed

+27
-25
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
version:
14-
- '1.9'
14+
- '1.10'
1515
- '1'
1616
- 'nightly'
1717
os:

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ CRlibm = "1.0.2"
3030
DiffRules = "1"
3131
ForwardDiff = "0.10, 1"
3232
IntervalSets = "0.7"
33-
LinearAlgebra = "1.9"
33+
LinearAlgebra = "1.10"
3434
MacroTools = "0.5"
3535
OpenBLASConsistentFPCSR_jll = "0.3.29"
3636
RecipesBase = "1"
3737
RoundingEmulator = "0.2"
38-
SparseArrays = "1.9.0"
39-
julia = "1.9"
38+
SparseArrays = "1.10"
39+
julia = "1.10"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The official documentation is available online: https://juliaintervals.github.io
1919

2020
## Installation
2121

22-
The IntervalArithmetic.jl package requires to [install Julia](https://julialang.org/downloads/) (v1.9 or above).
22+
The IntervalArithmetic.jl package requires to [install Julia](https://julialang.org/downloads/) (v1.10 or above).
2323

2424
Then, start Julia and execute the following command in the REPL:
2525

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ IntervalArithmetic.jl is a Julia package for validated numerics in Julia. All ca
77
## Installation
88

99
```@repl
10-
using Pkg # Julia v1.9 or above
10+
using Pkg # Julia v1.10 or above
1111
redirect_stderr(devnull) do # hide
1212
Pkg.add("IntervalArithmetic")
1313
end # hide

test/aqua.jl

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,29 @@ using Test
22
using IntervalArithmetic
33
using Aqua
44

5-
if VERSION v"1.10"
6-
@testset "Aqua tests (performance)" begin
7-
# This tests that we don't accidentally run into
8-
# https://github.com/JuliaLang/julia/issues/29393
9-
# Aqua.test_unbound_args(IntervalArithmetic)
10-
ua = Aqua.detect_unbound_args_recursively(IntervalArithmetic)
11-
@test length(ua) == 0
5+
@testset "Aqua tests (performance)" begin
6+
# This tests that we don't accidentally run into
7+
# https://github.com/JuliaLang/julia/issues/29393
8+
# Aqua.test_unbound_args(IntervalArithmetic)
9+
ua = Aqua.detect_unbound_args_recursively(IntervalArithmetic)
10+
@test length(ua) == 0
1211

13-
# See: https://github.com/SciML/OrdinaryDiffEq.jl/issues/1750
14-
# Test that we're not introducing method ambiguities across deps
15-
ambs = Aqua.detect_ambiguities(IntervalArithmetic; recursive = true)
16-
pkg_match(pkgname, pkdir::Nothing) = false
17-
pkg_match(pkgname, pkdir::AbstractString) = occursin(pkgname, pkdir)
18-
filter!(x -> pkg_match("IntervalArithmetic", pkgdir(last(x).module)), ambs)
19-
for method_ambiguity ambs
20-
@show method_ambiguity
21-
end
12+
# See: https://github.com/SciML/OrdinaryDiffEq.jl/issues/1750
13+
# Test that we're not introducing method ambiguities across deps
14+
ambs = Aqua.detect_ambiguities(IntervalArithmetic; recursive = true)
15+
pkg_match(pkgname, pkdir::Nothing) = false
16+
pkg_match(pkgname, pkdir::AbstractString) = occursin(pkgname, pkdir)
17+
filter!(x -> pkg_match("IntervalArithmetic", pkgdir(last(x).module)), ambs)
18+
for method_ambiguity ambs
19+
@show method_ambiguity
20+
end
21+
if VERSION v"1.11"
2222
@test length(ambs) == 0
23+
else # version 1.10
24+
@test_broken length(ambs) == 0
2325
end
26+
end
2427

25-
@testset "Aqua tests (additional)" begin
26-
Aqua.test_all(IntervalArithmetic)
27-
end
28+
@testset "Aqua tests (additional)" begin
29+
Aqua.test_all(IntervalArithmetic; ambiguities = VERSION v"1.11")
2830
end

0 commit comments

Comments
 (0)