From 24beed604ca6d34aa8cbfd36ad76681b59868e52 Mon Sep 17 00:00:00 2001 From: Allen Hill <allenofthehills@gmail.com> Date: Thu, 14 Nov 2024 13:41:59 -0800 Subject: [PATCH] Remove deprecated functionality --- Project.toml | 2 -- deps/jupyter.jl | 11 ----------- src/WebIO.jl | 9 --------- src/devsetup.jl | 4 ---- 4 files changed, 26 deletions(-) delete mode 100644 deps/jupyter.jl diff --git a/Project.toml b/Project.toml index 67d0b6bb..238495e5 100644 --- a/Project.toml +++ b/Project.toml @@ -13,7 +13,6 @@ Logging = "56ddb016-857b-54e1-b83d-db4d58db5568" Observables = "510215fc-4207-5dde-b226-833fc4488ee2" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" -Requires = "ae029012-a4dd-5104-9daa-d747884805df" Sockets = "6462fe0b-24de-5631-8697-dd941f90decc" UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" Widgets = "cc8bc4a8-27d6-5769-a93b-9d913e69aa62" @@ -35,7 +34,6 @@ IJulia = "1.13" JSON = "0.18, 0.19, 0.20, 0.21" Mux = "1" Observables = "0.5" -Requires = "0.4.4, 0.5, 1.0.0" WebSockets = "1.5.0, 1.6.0" Widgets = "0.6.2" julia = "1.10" diff --git a/deps/jupyter.jl b/deps/jupyter.jl deleted file mode 100644 index 73827031..00000000 --- a/deps/jupyter.jl +++ /dev/null @@ -1,11 +0,0 @@ -_error() = error( - "The WebIO Jupyter extension must be installed using Python or Conda. " * - "See https://juliagizmos.github.io/WebIO.jl/latest/providers/ijulia/ for more information." -) - - -find_jupyter_cmd(args...; kwargs...) = _error() -find_condajl_jupyter_cmd(args...; kwargs...) = _error() -install_jupyter_labextension(args...; kwargs...) = _error() -install_jupyter_nbextension(args...; kwargs...) = _error() -install_jupyter_serverextension(args...; kwargs...) = _error() diff --git a/src/WebIO.jl b/src/WebIO.jl index 575310a6..d09e8c10 100644 --- a/src/WebIO.jl +++ b/src/WebIO.jl @@ -1,7 +1,6 @@ module WebIO using Observables -using Requires using AssetRegistry using Base64: stringmime import Widgets @@ -49,8 +48,6 @@ include("rpc.jl") # Extra "non-core" functionality include("devsetup.jl") -include("../deps/jupyter.jl") - """ setup_provider(s::Union{Symbol, AbstractString}) @@ -88,12 +85,6 @@ function setup(provider::Symbol) end setup(provider::AbstractString) = setup(Symbol(provider)) -function prefetch_provider_file(basename) - filepath = joinpath(@__DIR__, "..", "ext", basename) - code = read(filepath, String) - (file = filepath, code = code) -end - struct WebIOServer{S} server::S serve_task::Task diff --git a/src/devsetup.jl b/src/devsetup.jl index 11297b80..43191425 100644 --- a/src/devsetup.jl +++ b/src/devsetup.jl @@ -1,7 +1,3 @@ -function devsetup() - Base.depwarn("WebIO.devsetup() is no longer required. You can simply run WebIO.bundlejs().", :webio_devesetup) -end - function bundlejs() include(joinpath(@__DIR__, "..", "deps", "_bundlejs.jl")) end