SPGBox, the package that was to be updated, has only “Julia 1” as a dependency.
The thing is that for this kind of thing I am getting very frequent updates precompilations of CUDA, Flux and Plots, and particularly the first two are packages I do not use often. And these precompilations take too long to be ok in the middle of another work.
I know that I could be obsessive and work with different environments to avoid that, but that is quite annoying for daily use.
Pkg.update allows some control over what is updated — see its docs.
That said, from 1.6 onwards working with different (and even temporary) environments as necessary may be the best solution; I would not call is obsessive, just convenient.
It is a little bit messy for me. I would have to remember which was the environment where I had installed DelimitedFiles, or Flux, or whatever, or reinstall it in the temporary module each time.
I also experienced this. Why would the default behavior be to update everything if that particular package has only one dependency? I find it unrelated to environments.
I’ve wondered about this too. It’s even been faster for me to update and then just immediately restart the REPL, especially when using packages with longer compile times.
We run into the same problem.
We have a package MyPackage that has a dependency to package MyDependency.
Package MyPackage has a Manifest.toml.
Package MyDependency has no Manifest.toml.
We want to upgrade the version of B in MyPackage from version 0.7.0 to 0.7.1 by running (MyPackage) pkg > update MyDependency
Package MyDependency has no difference between version 0.7.0 and 0.7.1 in terms of dependency.