Skip to content

Commit 8709488

Browse files
authored
Drop support for Julia versions <v1.6 (#239)
* Drop support for Julia versions <v1.6 * update Julia version in CI * drop oneto compat for Julia <v1.6
1 parent 79da383 commit 8709488

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
version:
30-
- '1.5'
30+
- '1.6'
3131
- '1'
3232
os:
3333
- ubuntu-latest

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ LazyArrays = "0.20, 0.21, 0.22"
4444
LowRankApprox = "0.2, 0.3, 0.4, 0.5"
4545
SpecialFunctions = "0.10, 1.0, 2"
4646
StaticArrays = "0.12, 1.0"
47-
julia = "1.5"
47+
julia = "1.6"
4848

4949
[extras]
5050
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"

src/ApproxFunBase.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,7 @@ export pad!, pad, chop!, sample,
9595

9696
export .., Interval, ChebyshevInterval, leftendpoint, rightendpoint, endpoints, cache
9797

98-
99-
if VERSION < v"1.6-"
100-
oneto(n) = Base.OneTo(n)
101-
else
102-
import Base: oneto
103-
end
98+
import Base: oneto
10499

105100
# assert that the conversion succeeds. This helps with inference as well as sanity
106101
strictconvert(T::Type, x) = convert(T, x)::T

0 commit comments

Comments
 (0)