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

ArchGDAL version dependency error #244

Closed
VLucet opened this issue Jun 10, 2020 · 3 comments
Closed

ArchGDAL version dependency error #244

VLucet opened this issue Jun 10, 2020 · 3 comments

Comments

@VLucet
Copy link
Contributor

VLucet commented Jun 10, 2020

I just tried to install from latest to further test parallelization:

Pkg.add(Pkg.PackageSpec(name="Circuitscape", rev="master"))

Getting dependency error:

Updating git-repo `https://github.com/Circuitscape/Circuitscape.jl.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ArchGDAL [c9ce4bd3]:
 ArchGDAL [c9ce4bd3] log:
 ├─possible versions are: [0.1.0, 0.2.0-0.2.2, 0.3.0-0.3.3, 0.4.0] or uninstalled
 ├─restricted to versions 0.4 by Circuitscape [2b7a1792], leaving only versions 0.4.0
 │ └─Circuitscape [2b7a1792] log:
 │   ├─possible versions are: 5.6.0 or uninstalled
 │   └─Circuitscape [2b7a1792] is fixed to version 5.6.0
 └─restricted by compatibility requirements with GDAL [add2ef01] to versions: 0.3.0-0.3.3 or uninstalled — no versions left
   └─GDAL [add2ef01] log:
     ├─possible versions are: [0.1.0-0.1.2, 0.2.0, 1.0.0-1.0.2, 1.1.0-1.1.2] or uninstalled
     └─restricted to versions 1.1.0 by an explicit requirement, leaving only versions 1.1.0
Stacktrace:
 [1] #propagate_constraints!#61(::Bool, ::typeof(Pkg.GraphType.propagate_constraints!), ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/GraphType.jl:1007
 [2] propagate_constraints! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/GraphType.jl:948 [inlined]
 [3] #simplify_graph!#121(::Bool, ::typeof(Pkg.GraphType.simplify_graph!), ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/GraphType.jl:1462
 [4] simplify_graph! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/GraphType.jl:1462 [inlined] (repeats 2 times)
 [5] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:321
 [6] #add#112(::Bool, ::Pkg.BinaryPlatforms.Linux, ::typeof(Pkg.Operations.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1010
 [7] #add at ./none:0 [inlined]
 [8] #add#25(::Bool, ::Pkg.BinaryPlatforms.Linux, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:102
 [9] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:72
 [10] #add#24 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:69 [inlined]
 [11] add at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:69 [inlined]
 [12] #add#20 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:66 [inlined]
 [13] add(::Pkg.Types.PackageSpec) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:66
 [14] top-level scope at REPL[3]:1

I think this is due to 7434c3b

@vlandau
Copy link
Member

vlandau commented Jun 10, 2020

Hmm, it worked for me. Are you on Julia 1.3 or greater? Running Pkg.update() or Pkg.rm("Circuitscape") and then trying to reinstall from master might help.

@VLucet
Copy link
Contributor Author

VLucet commented Jun 10, 2020

Apologies, forgot to Pkg.update(), thanks!

@VLucet VLucet closed this as completed Jun 10, 2020
@ViralBShah
Copy link
Member

I just pushed a bunch of dependency updates. Should make Circuitscape play nicer with the rest of the ecosystem.

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

3 participants