Pluto.jl icon indicating copy to clipboard operation
Pluto.jl copied to clipboard

Packages do not update (Safari/Chrome)

Open tamasgal opened this issue 1 month ago • 3 comments

I am having a hard time updating packages in Pluto.jl notebooks. If I click on the "arrow up" button which shows when hovering over a using ... line, the popup simply disappears and nothing happens.

First I thought it's a browser issue but the same happens also in Chrome.

Then I tried using Pkg; Pkg.update() but nothing gets updated.

I do not fully understand how the magic in Pluto with version pinning (Manifest) is working but I assume something is pinned in the background and I have no idea how to release that. According to the docs, it should be possible by hitting the "arrow up" button when hovering over using lines.

The following screen recording shows that Pluto won't let me update LumenManufaktur.jl from an old version 0.4.1 to the latest 0.5.1. Also not when using Pkg directly.

https://github.com/fonsp/Pluto.jl/assets/1730350/0634032e-1209-426b-9c76-60d416ffbbec

tamasgal avatar May 13 '24 07:05 tamasgal

That’s weird, as I developed and maintain the package on an M1 MBP and haven’t seen that issue.

I’ll leave this open in case someone else encounters it and has an explanation.

reedes avatar Mar 19 '23 21:03 reedes

Anything I could be missing in settings? I believe I have tried everything that would be needed for this?

kostiagather avatar Mar 20 '23 13:03 kostiagather

StackOverflow and Apple Dev forums look to have some posts on error message.

I'm not familiar with those architecture-related settings though.

reedes avatar Mar 20 '23 16:03 reedes

yeah, went through what seems to be all possible variations of settings

kostiagather avatar Mar 20 '23 18:03 kostiagather

If you hadn't tried it, try building package from command line outside of Xcode, to see if same error appears. "swift build" I think is the command.

reedes avatar Mar 21 '23 03:03 reedes