What is going on with this. I assume it is some kind of stdlib shenanigans?
(@v1.10) pkg> add Downloads@1.7
Updating registry at `~/.julia/registries/General.toml`
Resolving package versions...
Updating `~/dotfiles/universal/.julia/environments/v1.10/Project.toml`
[f43a241f] + Downloads v1.6.0
...
I asked for 1.7 and it gave me 1.6.
My reading of the registry is that v1.7 is compatible with Julia 1.10
This was already discussed on Slack, but to answer the question also here: most stdlibs aren’t upgradable, whatever the registry says, so you can only have the single version bundled with your current Julia installation.
IMO this should simply be an error, whether or not stdlibs can be upgraded. “ERROR: You asked for v1.7, but this is not possible because …, the latest available version is …”
Silently installing the wrong version is confusing.