Unclear where compatibility requirements are coming from

user664303
Thu, 11 May 2023 13:45:08 +0000
New to Julia

I’m trying to develop on a fork of the ForwardDiff.jl package (current master commit). When I try to add the repo to my dependencies I get the following compatibility error:

(@v1.9) pkg> dev /Users/olly/.julia/dev/ForwardDiff.jl
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Zygote [e88e6eb3]:
 Zygote [e88e6eb3] log:
 ├─possible versions are: 0.1.0-0.6.60 or uninstalled
 ├─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: [0.4.21-0.5.1, 0.5.13-0.6.60] or uninstalled, leaving only versions: [0.4.21-0.5.1, 0.5.13-0.6.60]
 │ └─SpecialFunctions [276daf66] log:
 │   ├─possible versions are: 0.7.0-2.2.0 or uninstalled
 │   └─restricted to versions 1-2 by ForwardDiff [f6369f11], leaving only versions: 1.0.0-2.2.0
 │     └─ForwardDiff [f6369f11] log:
 │       ├─possible versions are: 0.11.0 or uninstalled
 │       └─ForwardDiff [f6369f11] is fixed to version 0.11.0-DEV
 ├─restricted by compatibility requirements with NaNMath [77ba4419] to versions: [0.4.21-0.5.1, 0.6.35-0.6.60] or uninstalled, leaving only versions: [0.4.21-0.5.1, 0.6.35-0.6.60]
 │ └─NaNMath [77ba4419] log:
 │   ├─possible versions are: 0.3.2-1.0.2 or uninstalled
 │   └─restricted to versions 1 by ForwardDiff [f6369f11], leaving only versions: 1.0.0-1.0.2
 │     └─ForwardDiff [f6369f11] log: see above
 └─restricted by compatibility requirements with ForwardDiff [f6369f11] to versions: uninstalled — no versions left
   └─ForwardDiff [f6369f11] log: see above

I don’t understand why this error is happening. I do not see any references to compatibility versions for Zygote in the project.toml file.

I get a similar issue for LoopVectorization.jl when trying to use this local version of ForwardDiff.jl in another project. Again, there is no mention of LoopVectorization in the [compat] section of ForwardDiff’s project.toml file.

What is going on here?

8 posts - 3 participants