On a clean install of Julia 1.7.3, I cannot install a version of JuMP greater than 0.22.3.
If I use ] add JuMP
Julia will install version 0.22.3. If I try to force it to install 1.0 or 1.1, e.g.:
] add JuMP@1.1.0
It gives the following message.
ERROR: Unsatisfiable requirements detected for package JuMP [4076af6c]:
JuMP [4076af6c] log:
├─possible versions are: 0.18.3-0.22.3 or uninstalled
└─restricted to versions 1.1.0 by an explicit requirement - no versions left
However, if I try to add JuMP from Github using:
add https://github.com/jump-dev/JuMP.jl.git
I’m told that there’s a issue with the MathOptInterface requirement.
ERROR: Unsatisfiable requirements detected for package MathOptInterface [b8f27783]:
MathOptInterface [b8f27783] log:
├─possible versions are: 0.5.0-0.10.8 or uninstalled
└─restricted to versions 1.1.1-1 by JuMP [4076af6c] - no versions left
└─JuMP [4076af6c] log:
├─possible versions are: 1.1.0 or uninstalled
└─JuMP [4076af6c] is fixed to version 1.1.0
If I then try to install MathOptInterface 1.3 from Github, I’m unable to do so due to an incompatibility with MutableArithmetics. I then add this from Github, and then can install MathOptInterface. However, when I go to install JuMP 1.1, I get this error:
ERROR: Unsatisfiable requirements detected for package ReverseDiffSparse [89212889]:
ReverseDiffSparse [89212889] log:
├─possible versions are: 0.8.2-0.8.6 or uninstalled
├─restricted by compatibility requirements with JuMP [4076af6c] to versions: 0.
8.2-0.8.6
│ └─JuMP [4076af6c] log:
│ ├─possible versions are: 0.18.3-0.22.3 or uninstalled
│ ├─restricted to versions * by an explicit requirement, leaving only version
s 0.18.3-0.22.3
│ ├─restricted by compatibility requirements with MathOptInterface [b8f27783]
to versions: 0.18.3-0.18.6 or uninstalled, leaving only versions: 0.18.3-0.18.6
│ │ └─MathOptInterface [b8f27783] log:
│ │ ├─possible versions are: 1.3.0 or uninstalled
│ │ └─MathOptInterface [b8f27783] is fixed to version 1.3.0
│ └─restricted by compatibility requirements with Compat [34da2185] to versio
ns: 0.18.6-0.22.3 or uninstalled, leaving only versions: 0.18.6
│ └─Compat [34da2185] log:
│ ├─possible versions are: 1.0.0-3.41.0 or uninstalled
│ ├─restricted by compatibility requirements with JuMP [4076af6c] to vers
ions: 1.0.0-3.41.0
│ │ └─JuMP [4076af6c] log: see above
│ └─restricted by compatibility requirements with DataStructures [864edb3
b] to versions: 3.0.0-3.41.0
│ └─DataStructures [864edb3b] log:
│ ├─possible versions are: 0.9.0-0.18.11 or uninstalled
│ └─restricted to versions 0.18 by MathOptInterface [b8f27783], leavi
ng only versions 0.18.0-0.18.11
│ └─MathOptInterface [b8f27783] log: see above
└─restricted by compatibility requirements with Compat [34da2185] to versions:
uninstalled - no versions left
└─Compat [34da2185] log: see above
Here are the only Packages installed in this instance of Julia:
Dict{String, VersionNumber} with 2 entries:
"MathOptInterface" => v"1.3.0"
"MutableArithmetics" => v"1.0.2"
Is something broken with the package registry or have I done something wrong?
Thanks.