Package version conflict troubleshooting

Hi all,

Not sure if this is a local issue on my machine or something to do with how we’ve put together our [compat] section.

Here’s a MWE Project.toml of my problem:

name = "makie_compat"
uuid = "bacbe515-7035-49b6-9f06-df2441d2345e"
authors = [""]
version = "0.1.0"

[deps]
GLMakie = "e9467ef8-e4e7-5192-8a1a-b1aee30e663a"
InteractiveDynamics = "ec714cd0-5f51-11eb-0b6e-452e7367ff84"

[compat]
GLMakie = "0.4"
InteractiveDynamics = "0.15"

Trying to instantiate this:

    Updating registry at `~/.julia/registries/General`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Makie [ee78f7c6]:
 Makie [ee78f7c6] log:
 ├─possible versions are: 0.9.0-0.14.2 or uninstalled
 ├─restricted by compatibility requirements with GLMakie [e9467ef8] to versions: 0.14.0-0.14.2
 │ └─GLMakie [e9467ef8] log:
 │   ├─possible versions are: 0.0.1-0.4.2 or uninstalled
 │   └─restricted to versions 0.4 by makie_compat [bacbe515], leaving only versions 0.4.0-0.4.2
 │     └─makie_compat [bacbe515] log:
 │       ├─possible versions are: 0.1.0 or uninstalled
 │       └─makie_compat [bacbe515] is fixed to version 0.1.0
 └─restricted by compatibility requirements with InteractiveDynamics [ec714cd0] to versions: 0.13.1-0.13.14 — no versions left
   └─InteractiveDynamics [ec714cd0] log:
     ├─possible versions are: 0.13.0-0.15.1 or uninstalled
     └─restricted to versions 0.15 by makie_compat [bacbe515], leaving only versions 0.15.0-0.15.1
       └─makie_compat [bacbe515] log: see above

There are two things than confuse me here.

First, InteractiveDynamics v0.15.1 has Makie v0.14 set in the [compat] section, so why does Pkg say we’re only looking for 0.13.1-0.13.14?

Second, if I dev InteractiveDynamics, there is no issue:

makie_compat) pkg> st
     Project makie_compat v0.1.0
      Status `/mnt/turtle/scratch/makie_compat/Project.toml`
  [e9467ef8] GLMakie v0.4.2
  [ec714cd0] InteractiveDynamics v0.15.1 `~/.julia/dev/InteractiveDynamics`

Can someone help me understand why this is happening, and if there’s something I can do in IntereractiveDynamics to stop this conflict?

Actually, what you see is on the master branch. In the latest tagged version 0.15.1, Makie v0.14 is not in the compat:

2 Likes

Bah, of course! Thanks. I’ll just push a patch release quickly.