Blocked Updates/ Upgrades while adding "DifferentialEquations" package

When i attempt to add DifferentialEquations package, some dependencies do not install, what could be the cause? Should i reinstall Julia with different version?

julia> Pkg.add("DifferentialEquations")
   Resolving package versions...
    Updating `~/.julia/environments/v1.10/Project.toml`
  [0c46a032] + DifferentialEquations v7.15.0
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [fa961155] + CEnum v0.5.0
  [bcd4f6db] + DelayDiffEq v5.48.1
  [459566f4] + DiffEqCallbacks v4.1.0
  [77a26b50] + DiffEqNoiseProcess v5.23.0
  [0c46a032] + DifferentialEquations v7.15.0
βŒ… [d9f16b24] + Functors v0.4.12
  [ccbc3e58] + JumpProcesses v9.14.0
  [2d8b4e74] + LevyArea v1.0.0
  [2774e3e8] + NLsolve v4.5.1
  [429524aa] + Optim v1.9.4
  [e409e4f3] + PoissonRandom v0.4.4
  [85a6dd25] + PositiveFactorizations v0.2.4
  [74087812] + Random123 v1.7.0
  [e6cf234a] + RandomNumbers v1.6.0
  [ae5879a3] + ResettableStacks v1.1.1
  [9672c7b4] + SteadyStateDiffEq v2.4.1
  [789caeaf] + StochasticDiffEq v6.70.0
  [c3572dad] + Sundials v4.26.1
βŒ… [fb77eaff] + Sundials_jll v5.2.2+0
3f19e933] + p7zip_jll v17.4.0+2
        Info Packages marked with βŒ… have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  Progress [========================================>]  128/130
  βœ— BoundaryValueDiffEqFIRK
  β—“ BoundaryValueDiffEq

What is the output of:

versioninfo()

?
What is the output of:

using Pkg
Pkg.status()

?

1 Like

Welcome @Ziad_ishere!

What you see is not an issue with Julia itself. It is caused by certain (upstream) packages in your environment having newer versions whose compatibility with other (downstream) packages has not been ensured yet.

For instance, Functors.jl released a breaking version v0.5.0 last week. Packages which depend on Functors.jl must specify which versions of Functors.jl they can work with, and when a breaking version arrives, it must be added to the compatibility specification. This process is partially automated but still requires manual approval at best and manual adaptation at worst. So it is normal for it to take a few days (or weeks, depending on how breaking the update is).

If you want more detailed information on which packages are blocking the update, you can try to force the version of Functors.jl and see what happens:

pkg> add Functors@0.5
1 Like

Hi gdalle,
thank you for your response.

i have already solved the issue and it turned out to be related to compatibility of DifferentialEquations.jl as you mentioned.
i solved it by using an older version of DifferentialEquations.jl
using this line in Julia

pkg> add DifferentialEquations@6.15.0

Whenever possible, you probablw want to use the latest version of packages, especially packages as important as DifferentialEquations.jl. On the other hand, Functors.jl being stuck to v0.4 is not a very big deal, and picking an older version for DiffEq won’t let you update it either. Did you have any trouble with the environment described in your initial post? At first glance, it looks about as good as can be right now?

The problem occurred while installing FLOWUnsteady software, i had to install some dependencies for it which looks like they are incompatible with newer versions of DifferentialEquations.jl . I am new to Julia environment, and I had been trying different versions of python and Julia. But currently everything looks fine and working after installing older version of DifferentialEquations.jl