So I just used up Plots which updated it to v1.7.3. When I went to the github page, I saw that the latest release was 1.9.1.
So I used up Plots@v1.9.1 to force installation of the latest release and to see what dependency was incompatible.
I was just thinking that it would be nice to be warned when the latest release can’t be installed. I remember when I started julia, I used Plots 0.1 for a while before noticing it…
Why not mark it in the status command output? That would seem to be a natural place for people to inspect the version of packages (it could even just be changing the color for packages that aren’t on the latest version).
In most cases, it would not actionable by an average user. The resolver already gives you the latest versions that are possible based on your compatibility constraints.
For lots of users, the “constraints” are just whatever packages they happen to ever have installed. As such, knowing “I’m stuck on an old version of CSV because xyz that I tested for 5 minutes 4 months ago doesn’t support the new version” is really useful.
While not recommended, I’m willing to bet that most users have at least one environment that’s their repl experimentation environment where nothing is managed. (honestly that’s probably the only environment for 80% of beginners).
I think so, yes. For example, I think a lot of new users would open issues on package repos where they do not get the latest version, even though that package is not at all to blame.
Well in my case this wasn’t even the problem. The compatibility issue was coming from a GR artifact, for some reason I had to update and build it manually.
This sort of thing can happen even if you maintain a clean environment.
Sure a flag could do it but I’d basically use it every time I update my “utility packages” e.g. those that are not core to my work but that I use to analysis.
Yeah, but now you need to put much more info in there and it is starting to get spammy. This is why I suggest a separate flag to give you all that information, when you want it .
Maybe I underestimate how many people would file bug reports because of this. But in general, I’m not for keeping people uninformed by default, and on the contrary, a lot of bug reports are filed because people have for some reason not been updated to the fixed version, and don’t know.
Given how difficult the UX for something like this is, I don’t see any harm in starting with an opt-in command. Other package managers do this already, see e.g. npm-outdated | npm Docs.
Maybe it would also be nice to have an easier way to force installing the latest update, instead of having to look up the version number and then plugging that in. So if someone wanted to try to update to the latest version, they could do something like
As a relatively new user (~1 yr), I can recall clearly the frustrations I felt when I first discovered that a package was being held back by another. There didn’t seem to be a good way to figure out which package was causing the hold. It would be great to have a package manager command to review all packages in the environment Project.toml and identify 1) which packages are being held behind the current release; & 2) which package is responsible for the hold. The user can then decide what to do.