Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jaakkor2 opened this issue Dec 3, 2024 · 1 comment
Open

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

jaakkor2 opened this issue Dec 3, 2024 · 1 comment

Comments

@jaakkor2
Copy link

jaakkor2 commented Dec 3, 2024

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"
@DilumAluthge
Copy link
Member

Yeah, Pkg doesn't support build numbers currently.

Duplicate of #1568

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants