I can't make sense of these unsatisfiable requirements

moble
Fri, 16 Aug 2024 14:31:34 +0000
General Usage

CompatHelper submitted a PR to my package to allow the latest version of Symbolics, but the build is failing for reasons that I just don’t understand.

With the PR my package (PostNewtonian) lists in its compat section

DataInterpolations = "5.1, 6"
Symbolics = "5.25, 6"

(among others). DataInterpolations v6.1.0 lists

Symbolics = "5.29, 6"

(among others), and Symbolics v6.0.0 doesn’t list either of these. So it seems like there shouldn’t be any conflict just installing the latest versions of each. But I’m getting this error, which seems to be suggesting that Symbolics restricts DataInterpolations to “0.1.0-3.6.1 or uninstalled”. Where is that coming from?!

[ Info: This is a Dependabot/CompatHelper job, so `force_latest_compatible_version` has been set to `true`
     Testing PostNewtonian
┌ Warning: Could not use exact versions of packages in manifest, re-resolving
└ @ Pkg.Operations /opt/hostedtoolcache/julia/1.10.4/x64/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1814
ERROR: LoadError: Unsatisfiable requirements detected for package DataInterpolations [82cc6244]:
 DataInterpolations [82cc6244] log:
 ├─possible versions are: 0.1.0-6.1.0 or uninstalled
 ├─restricted to versions 5.1.0-6 by PostNewtonian [377afc40], leaving only versions: 5.1.0-6.1.0
 │ └─PostNewtonian [377afc40] log:
 │   ├─possible versions are: 0.10.2 or uninstalled
 │   └─PostNewtonian [377afc40] is fixed to version 0.10.2
 ├─restricted to versions 6 by an explicit requirement, leaving only versions: 6.0.0-6.1.0
 └─restricted by compatibility requirements with Symbolics [0c5d862f] to versions: 0.1.0-3.6.1 or uninstalled — no versions left
   └─Symbolics [0c5d862f] log:
     ├─possible versions are: 0.1.0-6.0.0 or uninstalled
     ├─restricted to versions 5.25.0-6 by PostNewtonian [377afc40], leaving only versions: 5.25.0-6.0.0 or uninstalled
     │ └─PostNewtonian [377afc40] log: see above
     └─restricted to versions 6 by an explicit requirement, leaving only versions: 6.0.0

3 posts - 2 participants