In a fresh environment I am trying to install DifferentialEquations
and Gnuplot 1.30
. If I install DifferentialEquations first, I get the latest copy of the package + all the correct dependencies (particular the dependency OrdinaryDiffEq v5.51.2
which includes some critical bug fixes for me).
Then I add Gnuplot by add Gnuplot
, but I am guessing due to dependencies it only installs Gnuplot 1.0 (and keeps all the Diff Eq packages at their current updated versions). However, I would like to use the latest Gnuplot version which is 1.3. I can force 1.30 by add Gnuplot@1.30
but this severely downgrades some of the packages DifferentialEquations
relied on. For example,
(julpack) pkg> add Gnuplot@1.3
Resolving package versions...
Updating `~/julpack/Project.toml`
[dc211083] + Gnuplot v1.3.0
Updating `~/julpack/Manifest.toml`
[c3fe647b] ↓ AbstractAlgebra v0.13.6 ⇒ v0.11.2
[4fba245c] ↓ ArrayInterface v3.1.3 ⇒ v2.14.17
[4c555306] ↓ ArrayLayouts v0.6.2 ⇒ v0.3.8
[aae01518] ↓ BandedMatrices v0.16.5 ⇒ v0.15.15
...
[864edb3b] ↓ DataStructures v0.18.9 ⇒ v0.17.20
[bcd4f6db] ↓ DelayDiffEq v5.29.0 ⇒ v5.24.1
[2b5f629d] ↓ DiffEqBase v6.57.7 ⇒ v6.44.3
[459566f4] ↓ DiffEqCallbacks v2.16.0 ⇒ v2.13.5
[c894b116] ↓ DiffEqJump v6.13.0 ⇒ v6.10.0
[31c24e10] ↓ Distributions v0.24.15 ⇒ v0.23.8
...
[90137ffa] ↓ StaticArrays v1.0.1 ⇒ v0.12.5
In particular, you see the OrdinaryDiffEq
was downgraded all the way to [1dea7af3] ↓ OrdinaryDiffEq v5.51.2 ⇒ v5.39.1
. Some other packages like StaticArrays
are downgraded to very old versions.
How do I solve this issue? Is there a tool that will generate the dependency graph so I can track down which package is forcing a downgrade of the Diff Eq suite? I tried adding the #master
plan but this also causes the same downgrade issue. Evening dev Gnuplot
causes the same issue.
Edit: Solved by tracing the dependencies. See post How to install the latest package given dependency conflicts - #6 by affans