Pkg.update does not update RandomNumbers in Julia v1.1.0

On Julia v1.1.0, Pkg.update() does not upgrade the package RandomNumbers to the latest version. There is no error, but RandomNumbers remains at v1.0.3.

On Julia v0.7.0 and v1.0.3, RandomNumbers is successfully upgraded to the latest version v1.2.0.

I note that Pkg.status() shows an indicator character after the version (this from Juno, Windows console cannot display the character)

[e6cf234a] RandomNumbers v1.0.3 ⚲

What does this mean?

Is there a way to determine why a package is not being upgraded?

Reference:
Discourse topic: Diagnostics for Pkg.update() non-latest version

Open issue: Pkg.status() should indicate packages that are downgraded · Issue #688 · JuliaLang/Pkg.jl · GitHub

That symbol means that RandomNumbers is pinned. A pinned package is pinned to its current version, and therefore will not be upgraded.
You can free it via ] free RandomNumbers. Then you can update it.

4 Likes

Oh pinned!!! Thank you.

Notwithstanding the fact that I’m the goose who pinned it, I wonder whether an explicit “pinned” could be used instead / as well as that character.

Although the Unicode character is cute, it doesn’t display correctly on Windows console, and is probably not as explicit as “pinned”. (I probably would have guessed it was pinned had it read “pinned”).

Could I suggest:

[e6cf234a] RandomNumbers v1.0.3 ⚲ pinned

In any case, thanks for your help!