From 42fa2ce5fa560c676b2dd8280090dc35ad924a27 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Tue, 12 Nov 2024 15:01:38 +0100 Subject: [PATCH] PlutoDependencyExplorer 1.2 --- Project.toml | 2 +- src/packages/Packages.jl | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Project.toml b/Project.toml index 028b4a62c..6e24eccad 100644 --- a/Project.toml +++ b/Project.toml @@ -53,7 +53,7 @@ Malt = "1.1" Markdown = "1" MsgPack = "1.1" Pkg = "1" -PlutoDependencyExplorer = "~1.0, ~1.1" +PlutoDependencyExplorer = "~1.2" PrecompileSignatures = "3" PrecompileTools = "=1.2.1" REPL = "1" diff --git a/src/packages/Packages.jl b/src/packages/Packages.jl index 9b0a64944..76ceeadba 100644 --- a/src/packages/Packages.jl +++ b/src/packages/Packages.jl @@ -35,11 +35,6 @@ function use_plutopkg(topology::NotebookTopology) end end -function external_package_names(topology::NotebookTopology)::Set{Symbol} - union!(Set{Symbol}(), external_package_names.(c.module_usings_imports for c in values(topology.codes))...) -end - - PkgCompat.project_file(notebook::Notebook) = PkgCompat.project_file(PkgCompat.env_dir(notebook.nbpkg_ctx)) PkgCompat.manifest_file(notebook::Notebook) = PkgCompat.manifest_file(PkgCompat.env_dir(notebook.nbpkg_ctx)) @@ -283,7 +278,7 @@ function sync_nbpkg_core( stoplistening(iolistener) Status.report_business_finished!(pkg_status) - return ( + return (; did_something=👺 || ( should_instantiate_initially || should_instantiate_again || (use_plutopkg_old != use_plutopkg_new) ),