Julia 1.3 and Metalhead

Hello,

just downloaded the fresh 1.3 binary from the website.
First thing done was

   using Pkg
   Pkg.add("Flux")

So far so good.
Then
Pkg.add("Metalhead")

does NOT work, I get the stuff below.
I did nuke the .julia folder before doing anything.
What am I missing?
Any help greatly welcome.

Heinz.

julia> Pkg.add("Metalhead")
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package FFTW [7a1cc6ca]:
 FFTW [7a1cc6ca] log:
 ├─possible versions are: [0.1.0-0.1.2, 0.2.0-0.2.4, 0.3.0, 1.0.0-1.0.1, 1.1.0, 1.2.0] or uninstalled
 ├─restricted by compatibility requirements with ImageFiltering [6a3955dd] to versions: [0.1.0-0.1.2, 0.2.0-0.2.4, 0.3.0]
 │ └─ImageFiltering [6a3955dd] log:
 │   ├─possible versions are: [0.4.0-0.4.1, 0.5.0-0.5.4, 0.6.0-0.6.7] or uninstalled
 │   └─restricted by compatibility requirements with Metalhead [dbeba491] to versions: [0.4.0-0.4.1, 0.5.0-0.5.4]
 │     └─Metalhead [dbeba491] log:
 │       ├─possible versions are: [0.3.0, 0.4.0] or uninstalled
 │       ├─restricted to versions * by an explicit requirement, leaving only versions [0.3.0, 0.4.0]
 │       └─restricted by compatibility requirements with Flux [587475ba] to versions: 0.3.0 or uninstalled, leaving only versions: 0.3.0
 │         └─Flux [587475ba] log:
 │           ├─possible versions are: [0.4.1, 0.5.0-0.5.4, 0.6.0-0.6.10, 0.7.0-0.7.3, 0.8.0-0.8.3, 0.9.0, 0.10.0] or uninstalled
 │           └─restricted to versions 0.10.0 by an explicit requirement, leaving only versions 0.10.0
 └─restricted by compatibility requirements with Zygote [e88e6eb3] to versions: [1.0.0-1.0.1, 1.1.0, 1.2.0] — no versions left
   └─Zygote [e88e6eb3] log:
     ├─possible versions are: [0.1.0, 0.2.0, 0.3.0-0.3.4, 0.4.0-0.4.1] or uninstalled
     └─restricted by compatibility requirements with Flux [587475ba] to versions: 0.4.0-0.4.1
       └─Flux [587475ba] log: see above

Flux recently updated to v0.10 and not all the packages are compatible with it yet.
You can downgrade Flux to v0.9 by ]pin Flux@0.9 and this would allow you to add Metalhead.jl.

2 Likes

Awesome, @Syx_Pek, thank you!