From c2d850a6bb715fa2dc13b29a3b7419273ddbd237 Mon Sep 17 00:00:00 2001 From: Andreas Noack Date: Sun, 17 Jun 2018 08:37:30 +0200 Subject: [PATCH] Don't refer to IterativeEigensolvers or SuiteSparse in Compat.jl --- Project.toml | 2 -- README.md | 6 ------ src/Compat.jl | 25 ------------------------- test/runtests.jl | 16 ---------------- 4 files changed, 49 deletions(-) diff --git a/Project.toml b/Project.toml index 407df9eee..bdd385681 100644 --- a/Project.toml +++ b/Project.toml @@ -8,7 +8,6 @@ Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab" Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b" InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" -IterativeEigensolvers = "de555fa4-b82f-55e7-8b71-53f60bbc027d" LibGit2 = "76f85450-5226-5b5a-8eaa-529ad045b433" Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" @@ -22,7 +21,6 @@ Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b" SharedArrays = "1a1011a3-84de-559e-8e89-a11a2f7dc383" Sockets = "6462fe0b-24de-5631-8697-dd941f90decc" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" -SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" diff --git a/README.md b/README.md index 0450f2b85..a1094dd8f 100644 --- a/README.md +++ b/README.md @@ -98,12 +98,6 @@ Currently, the `@compat` macro supports the following syntaxes: * `using Compat.Printf` is provided on versions older than 0.7, where this library is not yet a part of the standard library. ([#25056]) -* `using Compat.IterativeEigensolvers` is provided on versions older than 0.7, where this - library is not yet a part of the standard library. ([#24714]) - -* `using Compat.SuiteSparse` is provided on versions older than 0.7, where this library is - not yet part of the standard library ([#24648]). - * `using Compat.SparseArrays` is provided on versions older than 0.7, where this library is not yet part of the standard library ([#25249]). diff --git a/src/Compat.jl b/src/Compat.jl index 8d018b591..c08512f1b 100644 --- a/src/Compat.jl +++ b/src/Compat.jl @@ -843,20 +843,6 @@ else import Printf end -if VERSION < v"0.7.0-DEV.2655" - @eval module IterativeEigensolvers - using Base: eigs, svds - export eigs, svds - end -elseif VERSION < v"0.7.0-DEV.3019" - @eval module IterativeEigensolvers - using IterativeEigenSolvers: eigs, svds - export eigs, svds - end -else - import IterativeEigensolvers -end - @static if VERSION < v"0.7.0-DEV.3449" const LinearAlgebra = Base.LinAlg else @@ -881,17 +867,6 @@ else import Markdown end -if VERSION < v"0.7.0-DEV.2609" - @eval module SuiteSparse - if Base.USE_GPL_LIBS - using Compat.SparseArrays: CHOLMOD, SPQR, UMFPACK - end - using Compat.SparseArrays: increment, increment!, decrement, decrement! - end -else - import SuiteSparse -end - @static if VERSION < v"0.7.0-DEV.3500" const REPL = Base.REPL else diff --git a/test/runtests.jl b/test/runtests.jl index 7c8aee338..b5c637bdd 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -888,22 +888,6 @@ module Test25056 end # 0.7 -module Test24714 - using Compat - using Compat.Test - using Compat.IterativeEigensolvers - @test isdefined(@__MODULE__, :IterativeEigensolvers) - @test isdefined(@__MODULE__, :eigs) - @test isdefined(@__MODULE__, :svds) -end - -# 0.7 -module Test24648 - using Compat - using Compat.Test - using Compat.SuiteSparse - @test isdefined(@__MODULE__, :SuiteSparse) -end let a = [0,1,2,3,0,1,2,3] # curried isequal