From 7eb5df979d0207531c7eb683e237046d953759df Mon Sep 17 00:00:00 2001 From: oscarddssmith Date: Tue, 10 Oct 2023 10:33:52 -0400 Subject: [PATCH] remove extension --- Project.toml | 4 +--- ext/RecursiveArrayToolsSymbolicsExt.jl | 8 -------- src/RecursiveArrayTools.jl | 1 - test/downstream/Project.toml | 6 ++---- test/downstream/SymbolicsExt.jl | 4 ---- 5 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 ext/RecursiveArrayToolsSymbolicsExt.jl delete mode 100644 test/downstream/SymbolicsExt.jl diff --git a/Project.toml b/Project.toml index 1c992f27..3a738207 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "RecursiveArrayTools" uuid = "731186ca-8d62-57ce-b412-fbd966d074cd" authors = ["Chris Rackauckas "] -version = "2.38.10" +version = "2.39.0" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" @@ -20,7 +20,6 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" [weakdeps] Measurements = "eff96d63-e80a-5855-80a2-b1b0885c5ab7" MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca" -Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7" Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" @@ -28,7 +27,6 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" RecursiveArrayToolsMeasurementsExt = "Measurements" RecursiveArrayToolsMonteCarloMeasurementsExt = "MonteCarloMeasurements" RecursiveArrayToolsTrackerExt = "Tracker" -RecursiveArrayToolsSymbolicsExt = "Symbolics" RecursiveArrayToolsZygoteExt = "Zygote" [compat] diff --git a/ext/RecursiveArrayToolsSymbolicsExt.jl b/ext/RecursiveArrayToolsSymbolicsExt.jl deleted file mode 100644 index 5904339a..00000000 --- a/ext/RecursiveArrayToolsSymbolicsExt.jl +++ /dev/null @@ -1,8 +0,0 @@ -module RecursiveArrayToolsSymbolicsExt - -import RecursiveArrayTools -isdefined(Base, :get_extension) ? (import Symbolics) : (import ..Symbolics) - -RecursiveArrayTools.issymbollike(::Union{Symbolics.BasicSymbolic,Symbolics.Num}) = true - -end diff --git a/src/RecursiveArrayTools.jl b/src/RecursiveArrayTools.jl index 1740276c..51fa3b0a 100644 --- a/src/RecursiveArrayTools.jl +++ b/src/RecursiveArrayTools.jl @@ -32,7 +32,6 @@ import Requires @static if !isdefined(Base, :get_extension) function __init__() Requires.@require Measurements="eff96d63-e80a-5855-80a2-b1b0885c5ab7" begin include("../ext/RecursiveArrayToolsMeasurementsExt.jl") end - Requires.@require Symbolics="e88e6eb3-aa80-5325-afca-941959d7151f" begin include("../ext/RecursiveArrayToolsSymbolicsExt.jl") end Requires.@require Tracker="9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" begin include("../ext/RecursiveArrayToolsTrackerExt.jl") end Requires.@require Zygote="e88e6eb3-aa80-5325-afca-941959d7151f" begin include("../ext/RecursiveArrayToolsZygoteExt.jl") end end diff --git a/test/downstream/Project.toml b/test/downstream/Project.toml index 975af813..79c99a1c 100644 --- a/test/downstream/Project.toml +++ b/test/downstream/Project.toml @@ -2,14 +2,12 @@ ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78" MonteCarloMeasurements = "0987c9cc-fe09-11e8-30f0-b96dd679fdca" OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed" -RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd" -Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7" -Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" +Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c" [compat] ModelingToolkit = "8.33" MonteCarloMeasurements = "1.1" OrdinaryDiffEq = "6.31" -Tracker = "0.2" Unitful = "1.17" +Tracker = "0.2" \ No newline at end of file diff --git a/test/downstream/SymbolicsExt.jl b/test/downstream/SymbolicsExt.jl deleted file mode 100644 index 46b296f7..00000000 --- a/test/downstream/SymbolicsExt.jl +++ /dev/null @@ -1,4 +0,0 @@ -using RecursiveArrayTools, Symbolics, Test - -@variables x; -@test RecursiveArrayTools.issymbollike(x)