-
-
Notifications
You must be signed in to change notification settings - Fork 2
SimpleSDMLayers incompatible with ArchGDAL 0.9 🐛 #143
Comments
That's a good point, I'll look into it! |
I notice that you're working in the global environment (
The tests are running on my machine, and I have the correct ArchGDAL version (0.9.1). Can you try that from within an environment and let me know? |
Oh that's strange - I was first encountering this problem inside my EcoSISTEM environment, so I thought I'd try it in global without all the extra packages and such. But even trying it in a blank environment (here called Test), with only ArchGDAL and SimpleSDMLayers added, I still get this: (Test) pkg> pin ArchGDAL@v0.9.1
Resolving package versions...
Updating `D:\GIT\Test\Project.toml`
[c9ce4bd3] ↑ ArchGDAL v0.7.4 ⇒ v0.9.1 ⚲
Updating `D:\GIT\Test\Manifest.toml`
[c9ce4bd3] ↑ ArchGDAL v0.7.4 ⇒ v0.9.1 ⚲
[3c3547ce] ↑ DiskArrays v0.2.13 ⇒ v0.3.6
[411431e0] + Extents v0.1.1
[68eda718] ↑ GeoFormatTypes v0.3.0 ⇒ v0.4.1
[cf35fbd7] ↑ GeoInterface v0.5.7 ⇒ v1.0.1
[0329782f] + GeoInterfaceRecipes v1.0.0
(Test) pkg> add SimpleSDMLayers@v0.8.3
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ArchGDAL [c9ce4bd3]:
ArchGDAL [c9ce4bd3] log:
├─possible versions are: 0.1.0-0.9.1 or uninstalled
├─restricted to versions * by Test [ffa8e551], leaving only versions 0.1.0-0.9.1
│ └─Test [ffa8e551] log:
│ ├─possible versions are: 0.1.0 or uninstalled
│ └─Test [ffa8e551] is fixed to version 0.1.0
├─restricted to versions 0.9.1 by an explicit requirement, leaving only versions 0.9.1
└─restricted by compatibility requirements with SimpleSDMLayers [2c645270] to versions: 0.7.0-0.7.4 — no versions left
└─SimpleSDMLayers [2c645270] log:
├─possible versions are: 0.0.1-0.8.3 or uninstalled
└─restricted to versions 0.8.3 by an explicit requirement, leaving only versions 0.8.3 It keeps wanting to downgrade ArchGDAL to 0.7.4 whenever I add it. |
That's very weird - can you send me your session info and OS? |
Can you also try without the explicit version number, and see what gets installed? |
Yes I'm on julia 1.8 on a Windows 10 machine (although it also seems to happen on 1.6) |
Adding without the version numbers gives me: (Test) pkg> add ArchGDAL
Updating registry at `C:\Users\charris\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `D:\GIT\Test\Project.toml`
[c9ce4bd3] + ArchGDAL v0.9.1
Updating `D:\GIT\Test\Manifest.toml`
[621f4979] + AbstractFFTs v1.2.1
[79e6a3ab] + Adapt v3.4.0
[c9ce4bd3] + ArchGDAL v0.9.1
[fa961155] + CEnum v0.4.2
[d360d2e6] + ChainRulesCore v1.15.4
[9e997f8a] + ChangesOfVariables v0.1.4
[3da002f7] + ColorTypes v0.11.4
[c3611d14] + ColorVectorSpace v0.9.9
[5ae59095] + Colors v0.12.8
[34da2185] + Compat v4.2.0
[9a962f9c] + DataAPI v1.10.0
[e2d170a0] + DataValueInterfaces v1.0.0
[3c3547ce] + DiskArrays v0.3.6
[ffbed154] + DocStringExtensions v0.9.1
[411431e0] + Extents v0.1.1
[53c48c17] + FixedPointNumbers v0.8.4
[add2ef01] + GDAL v1.4.0
[68eda718] + GeoFormatTypes v0.4.1
[cf35fbd7] + GeoInterface v1.0.1
[0329782f] + GeoInterfaceRecipes v1.0.0
[a2bd30eb] + Graphics v1.1.2
[a09fc81d] + ImageCore v0.9.4
[3587e190] + InverseFunctions v0.1.7
[92d709cd] + IrrationalConstants v0.1.1
[82899510] + IteratorInterfaceExtensions v1.0.0
[692b3bcd] + JLLWrappers v1.4.1
[2ab3a3ac] + LogExpFunctions v0.3.18
[dbb5928d] + MappedArrays v0.4.1
[e94cdb99] + MosaicViews v0.3.3
[77ba4419] + NaNMath v1.0.1
[6fe1bfb0] + OffsetArrays v1.12.7
[bac558e1] + OrderedCollections v1.4.1
[5432bcbf] + PaddedViews v0.5.11
[21216c6a] + Preferences v1.3.0
[3cdcf5f2] + RecipesBase v1.2.1
[189a3867] + Reexport v1.2.2
[276daf66] + SpecialFunctions v2.1.7
[cae243ae] + StackViews v0.1.1
[3783bdb8] + TableTraits v1.0.1
[bd369af6] + Tables v1.7.0
[62fd8b95] + TensorCore v0.1.1
[2e619515] + Expat_jll v2.4.8+0
[a7073274] + GDAL_jll v300.500.101+0
[d604d12d] + GEOS_jll v3.11.0+0
[aacddb02] + JpegTurbo_jll v2.1.2+0
[88015f11] + LERC_jll v3.0.0+1
[89763e89] + Libtiff_jll v4.4.0+0
[d3a379c0] + LittleCMS_jll v2.12.0+0
[643b3616] + OpenJpeg_jll v2.4.0+0
[efe28fd5] + OpenSpecFun_jll v0.5.5+0
[58948b4f] + PROJ_jll v900.100.0+0
[76ed43ae] + SQLite_jll v3.39.2+0
[3161d3a3] + Zstd_jll v1.5.2+0
[06c338fa] + libgeotiff_jll v100.700.100+0
[b53b4c65] + libpng_jll v1.6.38+0
[0dad84c5] + ArgTools v1.1.1
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[f43a241f] + Downloads v1.6.0
[7b1f6079] + FileWatching
[b77e0a4c] + InteractiveUtils
[b27032c2] + LibCURL v0.6.3
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[ca575930] + NetworkOptions v1.2.0
[44cfe95a] + Pkg v1.8.0
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA v0.7.0
[9e88b42a] + Serialization
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[fa267f1f] + TOML v1.0.0
[a4e569a6] + Tar v1.10.0
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
[e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
[deac9b47] + LibCURL_jll v7.84.0+0
[29816b5a] + LibSSH2_jll v1.10.2+0
[c8ffd9c3] + MbedTLS_jll v2.28.0+0
[14a3606d] + MozillaCACerts_jll v2022.2.1
[4536629a] + OpenBLAS_jll v0.3.20+0
[05823500] + OpenLibm_jll v0.8.1+0
[83775a58] + Zlib_jll v1.2.12+3
[8e850b90] + libblastrampoline_jll v5.1.1+0
[8e850ede] + nghttp2_jll v1.48.0+0
[3f19e933] + p7zip_jll v17.4.0+0
(Test) pkg> add SimpleSDMLayers
Resolving package versions...
Updating `D:\GIT\Test\Project.toml`
⌃ [2c645270] + SimpleSDMLayers v0.2.2
Updating `D:\GIT\Test\Manifest.toml`
⌅ [cd3eb016] + HTTP v0.8.19
[83e8ac13] + IniFile v0.5.1
[739be429] + MbedTLS v1.1.5
[ae029012] + Requires v1.3.0
⌃ [2c645270] + SimpleSDMLayers v0.2.2
⌅ [a5390f91] + ZipFile v0.9.4
Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ cannot be upgraded. To see why use `status --outdated -m`
(Test) pkg> st
Project Test v0.1.0
Status `D:\GIT\Test\Project.toml`
[c9ce4bd3] ArchGDAL v0.9.1
⌃ [2c645270] SimpleSDMLayers v0.2.2
Info Packages marked with ⌃ have new versions available |
This is very, very strange. It looks like the tests on windows are passing, do you have any of these dependencies that are pinned? |
I installed it on my windows tablet using 1.8 - installing SimpleSDMLayers works, although it gets a different ArchGDAL version. There's probably a dependency version conflict in one share dependency? I'll try on 1.6 and 1.7 but it might take a while to install them on my tablet... |
Hi @tpoisot, sorry have been off on holiday! No I don't have any pinned dependencies, but yes I guess it must be some shared dependency blocking it - let me know if you have any breakthroughs |
Can you try adding SimpleSDMLayers first? Instead of ArchGDAL? |
Oh, and run status --outdated -m in pkg mode? |
Contact Details
[email protected]
What happened?
For some reason Julia 1.8 won't let me have the latest versions of ArchGDAL and SimpleSDMLayers at the same time. I can't tell what the problem is from looking at the Project.toml's and the stack trace doesn't give many clues! Any help would be much appreciated.
Stacktrace
The text was updated successfully, but these errors were encountered: