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

Unsatisfiable requirements detected for package HDF5 [f67ccb44]: #360

Closed
hafez-ahmad opened this issue Dec 30, 2022 · 1 comment
Closed

Comments

@hafez-ahmad
Copy link

I am trying to install this package in the latest (Julia 1.8.3) and getting the following errors.

mwe_here

Resolving package versions...
Unsatisfiable requirements detected for package HDF5 [f67ccb44]:
HDF5 [f67ccb44] log:
├─possible versions are: 0.9.4-0.16.13 or uninstalled
├─restricted by compatibility requirements with Rasters [a3a2b9e3] to versions: 0.14.0-0.16.13
│ └─Rasters [a3a2b9e3] log:
│ ├─possible versions are: 0.1.0-0.5.0 or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.5.0
└─restricted by compatibility requirements with Compat [34da2185] to versions: 0.9.4-0.13.7 or uninstalled — no versions left
└─Compat [34da2185] log:
├─possible versions are: 1.0.0-4.5.0 or uninstalled
├─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 1.0.0-3.46.0
│ └─DataFrames [a93c6f00] log:
│ ├─possible versions are: 0.11.7-1.4.4 or uninstalled
│ ├─restricted to versions * by an explicit requirement, leaving only versions 0.11.7-1.4.4
│ ├─restricted by compatibility requirements with ANOVA [0825541b] to versions: 0.11.7-0.21.8
│ │ └─ANOVA [0825541b] log:
│ │ ├─possible versions are: 0.1.0 or uninstalled
│ │ └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0
│ └─restricted by compatibility requirements with RDatasets [ce6b1742] to versions: 0.13.0-1.4.4, leaving only versions: 0.13.0-0.21.8
│ └─RDatasets [ce6b1742] log:
│ ├─possible versions are: 0.5.0-0.7.7 or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions 0.5.0-0.7.7
└─restricted by compatibility requirements with StatsModels [3eaba693] to versions: 1.0.0-2.2.1
└─StatsModels [3eaba693] log:
├─possible versions are: 0.3.0-0.6.33 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions 0.3.0-0.6.33
└─restricted by compatibility requirements with ANOVA [0825541b] to versions: 0.3.0-0.5.0
└─ANOVA [0825541b] log: see above

Stacktrace:
[1] propagate_constraints!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; log_events::Bool)
@ Pkg.Resolve C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Resolve\graphtype.jl:1072
[2] propagate_constraints! (repeats 2 times)
@ C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Resolve\graphtype.jl:1008 [inlined]
[3] simplify_graph!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; clean_graph::Bool)
@ Pkg.Resolve C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Resolve\graphtype.jl:1533
[4] simplify_graph! (repeats 2 times)
@ C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Resolve\graphtype.jl:1532 [inlined]
[5] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber)
@ Pkg.Operations C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:352
[6] targeted_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
@ Pkg.Operations C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:1254
[7] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, julia_version::VersionNumber)
@ Pkg.Operations C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:1239
[8] _resolve(io::IJulia.IJuliaStdio{Base.PipeEndpoint}, env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
@ Pkg.Operations C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:1260
[9] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\Operations.jl:1276
[10] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, IJulia.IJuliaStdio{Base.PipeEndpoint}, Tuple{Symbol}, NamedTuple{(:io,), Tuple{IJulia.IJuliaStdio{Base.PipeEndpoint}}}})
@ Pkg.API C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\API.jl:275
[11] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::IJulia.IJuliaStdio{Base.PipeEndpoint}, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\API.jl:156
[12] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\API.jl:145
[13] #add#27
@ C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\API.jl:144 [inlined]
[14] add
@ C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\API.jl:144 [inlined]
[15] #add#26
@ C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\API.jl:143 [inlined]
[16] add(pkg::String)
@ Pkg.API C:\Users\antho\AppData\Local\Programs\Julia-1.8.3\share\julia\stdlib\v1.8\Pkg\src\API.jl:143
[17] top-level scope
@ In[366]:1
[18] eval
@ .\boot.jl:368 [inlined]
[19] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1428

error here
@rafaqz
Copy link
Owner

rafaqz commented Dec 30, 2022

This isn't a Rasters.jl problem, as Rasters is fine with the most recent few versions of HDF5.jl

It's a problem with whatever is holding your system back to those old packages. It looks like ANOVA.jl is at fault there.

Make sure you have updated ANOVA and if not get them to update their package compatability.

@rafaqz rafaqz closed this as completed Dec 30, 2022
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