compat ranges of NetCDF_jll
I am debugging an issue where an ancient NetCDF_jll library gets installed on a current julia version in [CI](https://github.com/gher-uliege/DIVAnd.jl/actions/runs/16670748104/job/47186278037).
This error can be reproduced with for example:
```
julia +1.11 --startup-file=no --project=/tmp/julia-env-1.11 --eval 'using Pkg; Pkg.add(name="NetCDF_jll",version = "400.702.400"); using NetCDF_jll'
[...]
ERROR: InitError: could not load library "/home/abarth/.julia/artifacts/0a7f440ba143b238cc3dd0def2956d34d76755f3/lib/libnetcdf.so"
libmbedtls.so.13: cannot open shared object file: No such file or directory
```
In my tests, Julia 1.7 is the last version that can use NetCDF_jll@400.702.400
I am wondering if the [compat ranges here](https://github.com/JuliaRegistries/General/blob/3b28cba1403da9b983f96c95aba0db1657868740/jll/N/NetCDF_jll/Compat.toml#L16)
```
["400.702-400.802.101"]
julia = "1.6.0-1.11"
```
need to be changed into:
```
["400.702"]
julia = "1.6.0-1.7"
["400.802.101"]
julia = "1.6.0-1.11"
```
Version NetCDF_jll@400.802.102 actually loads fine with julia 1.11.
I can make a PR if you agree.
关闭于 2025-10-06 4 条评论