Prevent Juno startup from triggering package updates

I noticed that after staring atom and initially attaching to a (remote) Julia,
some package upgrades are triggered.

Before printing the julia logo we see

Updating registry at ~/.julia/registries/General
Resolving package versions...
...
Downloading artifacts
     # OpenBLAS,  ZeroMQ, others
Updating ~/.julia/environments/v1.4/Project.toml
+Atom v0.12.10
Updating ~/.julia/environments/v1.4/Manifest.toml
OpenBLAS_jll v0.3.9+1 -> v0.3.9+2

In particular, note that OpenBLAS has been updated (among a couple others)

Updating to the latest version is a good thing in general,
however my program needs to be exactly reproducable,
so I want to be in control of when packages change versions.

How can I prevent these version upgrades when launching julia from juno?

1 Like

Juno only does Pkg operations when it can’t find it’s dependencies (Atom.jl and Juno.jl, specifically). If you manually install those then we won’t do anything to your global env.

Note that you should probably be using a local environment if you need exact reproducability.

1 Like