Julia 1.8: How do I upgrade packages with new versions available?

Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ cannot be upgraded. To see why use `status --outdated`

⌃ [13f3f980] CairoMakie v0.7.5 (<v0.8.10)

(@v1.8) pkg> up CairoMakie
    Updating registry at `D:\.julia\registries\General.toml`
  No Changes to `D:\.julia\environments\v1.8\Project.toml`
  No Changes to `D:\.julia\environments\v1.8\Manifest.toml`

How do I upgrade a package without upper bound?

If update doesn’t do anything, like in your example, you can try adding the package by version.

pkg> add CairoMakie@0.8.10

When you do that, you’ll likely see some packages downgrade.

update will by default take a balanced approach, prioritizing keeping as many packages as up to date as possible, roughly speaking.

2 Likes