Skip to content

Commit 0c0b971

Browse files
Remove Julia v1.9 get_extension compatibility code
Since all SciML packages now require Julia v1.10+, we can remove the compatibility checks for `isdefined(Base, :get_extension)` as package extensions are available in all supported Julia versions. This removes unnecessary version checks in extension loading code.
1 parent 7046832 commit 0c0b971

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ext/LinearSolveIterativeSolversExt.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ using LinearSolve, LinearAlgebra
44
using LinearSolve: LinearCache, DEFAULT_PRECS
55
import LinearSolve: IterativeSolversJL
66

7-
if isdefined(Base, :get_extension)
87
using IterativeSolvers
98
else
109
using ..IterativeSolvers

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const LONGER_TESTS = false
44

55
const GROUP = get(ENV, "GROUP", "All")
66

7-
const HAS_EXTENSIONS = isdefined(Base, :get_extension)
7+
const HAS_EXTENSIONS = true
88

99
if GROUP == "All" || GROUP == "Core"
1010
@time @safetestset "Basic Tests" include("basictests.jl")

0 commit comments

Comments
 (0)