Skip to content

Commit d9647f9

Browse files
committed
Mark Compat.SparseArrays from #459 for deprecation
1 parent 46761bc commit d9647f9

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ Currently, the `@compat` macro supports the following syntaxes:
5858
* `using Compat.Unicode` is provided on versions older than 0.7, where this library is not
5959
yet a part of the standard library. ([#25021])
6060

61-
* `using Compat.SparseArrays` is provided on versions older than 0.7, where this library is
62-
not yet part of the standard library ([#25249]).
63-
6461
* `using Compat.Random` is provided on versions older than 0.7, where this library is
6562
not yet part of the standard library ([#24874]).
6663

src/Compat.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,11 @@ import Libdl
2525
const AbstractDateTime = Compat.Dates.AbstractDateTime
2626
import Printf
2727
import LinearAlgebra
28+
import SparseArrays
2829

2930

3031
include("compatmacro.jl")
3132

32-
if VERSION < v"0.7.0-DEV.3389"
33-
const SparseArrays = Base.SparseArrays
34-
else
35-
import SparseArrays
36-
end
37-
38-
3933
# v"0.7.0-beta.234" introduced Random.gentype (formerly Base.eltype)
4034
# v"0.7.0-beta2.171" deprecated Random.srand in favor of Random.seed! (unexported)
4135
# v"0.7.0-DEV.3406" moved Base.Random to stdlib Random

0 commit comments

Comments
 (0)