Skip to content

Commit b38df50

Browse files
committed
deps: remove Compat.jl dependencies
1 parent 8338ea7 commit b38df50

File tree

7 files changed

+0
-14
lines changed

7 files changed

+0
-14
lines changed

Project.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ version = "1.1.0"
55

66
[deps]
77
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
8-
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
98
DispatchDoctor = "8d63f2c5-f18a-4cf2-ba9d-b3f60fc568c8"
109
Interfaces = "85a1e053-f937-4924-92a5-1367d23b7b87"
1110
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
12-
PackageExtensionCompat = "65ce6f38-6b18-4e1d-a461-8949797d7930"
1311
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
1412
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1513
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
@@ -32,13 +30,11 @@ DynamicExpressionsZygoteExt = "Zygote"
3230
[compat]
3331
Bumper = "0.6"
3432
ChainRulesCore = "1"
35-
Compat = "3.37, 4"
3633
DispatchDoctor = "0.4"
3734
Interfaces = "0.3"
3835
LoopVectorization = "0.12"
3936
MacroTools = "0.4, 0.5"
4037
Optim = "0.19, 1"
41-
PackageExtensionCompat = "1"
4238
PrecompileTools = "1"
4339
Reexport = "1"
4440
SymbolicUtils = "0.19, ^1.0.5, 2, 3"

ext/DynamicExpressionsOptimExt.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ using DynamicExpressions:
88
get_scalar_constants,
99
set_scalar_constants!,
1010
get_number_type
11-
using Compat: @inline
1211

1312
import Optim: Optim, OptimizationResults, NLSolversBase
1413

src/DynamicExpressions.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ using DispatchDoctor: @stable, @unstable
2424
include("StructuredExpression.jl")
2525
end
2626

27-
import PackageExtensionCompat: @require_extensions
2827
import Reexport: @reexport
2928
macro ignore(args...) end
3029

@@ -104,10 +103,6 @@ end
104103
import .InterfacesModule:
105104
ExpressionInterface, NodeInterface, all_ei_methods_except, all_ni_methods_except
106105

107-
function __init__()
108-
@require_extensions
109-
end
110-
111106
include("deprecated.jl")
112107

113108
import TOML: parsefile

src/NodeUtils.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module NodeUtilsModule
22

3-
import Compat: Returns
43
import ..NodeModule:
54
AbstractNode,
65
AbstractExpressionNode,

src/Random.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module RandomModule
22

3-
using Compat: Returns, @inline
43
using Random: AbstractRNG
54
using ..NodeModule: AbstractNode, tree_mapreduce, filter_map
65
using ..ExpressionModule: AbstractExpression, get_tree

src/base.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import Base:
2424
sum
2525

2626
using DispatchDoctor: @unstable
27-
using Compat: @inline, Returns
2827
using ..UtilsModule: Undefined
2928

3029
"""

test/test_print.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Test
22
using DynamicExpressions
33
import DynamicExpressions as DE
4-
import Compat: Returns
54

65
include("test_params.jl")
76

0 commit comments

Comments
 (0)