First I updated my global julia environment, resulting in the upgraded package list towards the left.
Then I opened the pluto notebook and it needed to recompile differential equations and Plots, propeably because the old versions where deinstalled when I updated the global environment. However ideally this shouldnt happen, so I updated the environment inside of the notebook as well. However, even though both environments are up to date, now the pluto environment still has the old version of Plots.jl. I dont understand why and I would like to avoid this.
Does anyone have an idea?
I believe this might have to do with the fact that Pluto.jl itself is a Julia package with dependencies that may be inhibiting updates. Try the following:
Activate the notebook environment:
import Pluto
Pluto.activate_notebook_environment("notebook.jl")
Check why the versions are not up-to-date:
] st -m --outdated
1 Like
Pluto notebooks themselves don’t depend on Pluto, and are not constrained by its compat at all.
1 Like
Thanks for clarifying it.
Oh I just saw that the package versions are indeed the same. Somehow I read it wrong and missread the line at the bottom Pkg 1.11
and Plots 1.41
and accidentally thought that Plots was out of date.
I learned something new though. Its cool, that you can activate the notebook environment.
1 Like