Skip to content

Resolver does not seem to take into account ´+´ in version #4104

Closed
@jaakkor2

Description

@jaakkor2
using Pkg; Pkg.activate(; temp=true); Pkg.add("HDF5_jll"); Pkg.pin("HDF5_jll"); Pkg.add(name="OpenMPI_jll", version="5")

gives

(jl_wE3iLq) pkg> pin HDF5_jll
   Resolving package versions...
    Updating `C:\Users\jaakkor2\AppData\Local\Temp\jl_wE3iLq\Project.toml`
  [0234f1f7] ~ HDF5_jll v1.14.3+3 ⇒ v1.14.3+3 ⚲
    Updating `C:\Users\jaakkor2\AppData\Local\Temp\jl_wE3iLq\Manifest.toml`
  [0234f1f7] ~ HDF5_jll v1.14.3+3 ⇒ v1.14.3+3 ⚲

(jl_wE3iLq) pkg> add OpenMPI_jll@5
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package HDF5_jll [0234f1f7]:
 HDF5_jll [0234f1f7] log:
 ├─possible versions are: 1.10.5-1.14.3 or uninstalled
 ├─restricted to versions * by project [784c4d88], leaving only versions: 1.10.5-1.14.3
 │ └─project [784c4d88] log:
 │   ├─possible versions are: 0.0.0 or uninstalled
 │   └─project [784c4d88] is fixed to version 0.0.0
 ├─restricted to versions 1.14.3 by an explicit requirement, leaving only versions: 1.14.3
 └─restricted by compatibility requirements with OpenMPI_jll [fe0851c0] to versions: 1.10.5-1.14.2 or uninstalled — no versions left
   └─OpenMPI_jll [fe0851c0] log:
     ├─possible versions are: 4.0.2-5.0.6 or uninstalled
     └─restricted to versions 5 by an explicit requirement, leaving only versions: 5.0.0-5.0.6

Compat https://github.com/JuliaBinaryWrappers/HDF5_jll.jl/blob/HDF5-v1.14.3%2B3/Project.toml#L33 is

OpenMPI_jll = "4.1.6, 5"

Older version https://github.com/JuliaBinaryWrappers/HDF5_jll.jl/blob/HDF5-v1.14.3%2B0/Project.toml#L32 has

OpenMPI_jll = "4.1.6"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions