Skip to content

Commit 0108762

Browse files
committed
weakdeps InteractiveUtils
1 parent ee0a5ac commit 0108762

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53"
5050
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
5151

5252
[weakdeps]
53+
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
5354
Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
5455

5556
[extensions]
5657
InterpolationsExt = "Interpolations"
58+
InteractiveUtilsExt = "InteractiveUtils"
5759

5860
[compat]
5961
ApproxManifoldProducts = "0.7"
@@ -95,7 +97,6 @@ julia = "1.8"
9597
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
9698
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
9799
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
98-
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
99100
LineSearches = "d3d80556-e9d4-5f37-9878-2ab0fcc64255"
100101
Manopt = "0fc0a36d-df90-57f3-8f93-d78a9fc72bb5"
101102
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

src/services/RequireInteractiveUtils.jl renamed to ext/InteractiveUtilsExt.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
module InteractiveUtilsExt
12

2-
@info "IncrementalInference.jl is loading tools related to InteractiveUtils.jl."
3+
@info "IncrementalInference.jl is loading extension related to InteractiveUtils.jl."
34

4-
# this requires InteractiveUtils
5+
using InteractiveUtils
6+
using DocStringExtensions
57

68
export getCurrentWorkspaceFactors, getCurrentWorkspaceVariables
79
export listTypeTree
@@ -50,3 +52,5 @@ function listTypeTree(T)
5052
println(T)
5153
return _listTypeTree(T, 0)
5254
end
55+
56+
end #module

ext/WeakDepsPrototypes.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11

2+
# InteractiveUtils.jl
3+
function getCurrentWorkspaceFactors end
4+
function getCurrentWorkspaceVariables end
5+
function listTypeTree end

src/IncrementalInference.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ include("Deprecated.jl")
240240

241241
exportimg(pl) = error("Please do `using Gadfly` to allow image export.")
242242
function __init__()
243-
@require InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" include(
244-
"services/RequireInteractiveUtils.jl",
245-
)
243+
# @require InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" include(
244+
# "services/RequireInteractiveUtils.jl",
245+
# )
246246
@require Gadfly = "c91e804a-d5a3-530f-b6f0-dfbca275c004" include(
247247
"services/EmbeddedPlottingUtils.jl",
248248
)

0 commit comments

Comments
 (0)