-
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package manager loads past version of recently updated package #2940
Comments
After a brief investigation, I found that Pluto chooses to set However, removing the Output from the Terminal after removing
Output from the "Package management" step in the status window, after restarting Pluto:
Output from
|
Removing all packages from the notebook, then re-adding them seems to work. |
Hey! This is most likely caused by #2902 . You should be able to get the latest version by clicking the "update" button after the package is installed. The reasoning here is that most people care much more about fast launch times than getting the very latest versions. We get a lot of feedback about slow launches with recent Julia versions. |
I had absolutely no idea I could click on that check mark. It makes sense that most people would prefer faster load times -- problem solved. Thanks! |
Did clicking the update button solve your problem? Maybe we should improve the GUI (because the text "vx.y.z will be installed" is wrong)? I only recently added this to our documentation: https://plutojl.org/en/docs/packages/#pre-installed-versions-are-preferred Do you have suggestions for how this can be made more clear? |
The update button did solve the problem. Updating the mouseover text to show the correct version that will be installed, or perhaps "vX.Y.Z" is already installed on this system" would make it more clear what's going on. Adding a visual cue to the check mark after |
More confusion in #2947 |
Thanks. Just to clarify my comment in #2947, it doesn't work for me to press the update button. Pluto goes through the motions to update all packages, but doesn't update my package unless I remove the Sorry, I know it's not helpful, I'll try to dig into this some on the weekend maybe. |
If I want to load a package that has been recently updated, Pluto often loads a less-recent version of the package.
The mouseover before running the notebook displays "Euler2D (v0.2.1) will be installed while running this notebook" on mouseover, but the version that's actually installed is a previous version (v0.1.2).
I'm not sure how to demonstrate this, but I'm able to reliably reproduce the issue by updating a package that I develop, updating the registry the package is in (this also works with the General registry), and running a Pluto notebook that
use
s the newly updated package.The text was updated successfully, but these errors were encountered: