Skip to content

ArchGDAL tests on julia 1.6 fail because @kwdef is not defined #160

@felixcremer

Description

@felixcremer

On julia 1.6 the ArchGDAL tests fail with the following.
We would either need to restrict the julia version bound for DiskArrays to 1.9 or higher or we would change the @kwdef to Base.@kwdef.

ERROR: LoadError: LoadError: LoadError: LoadError: UndefVarError: @kwdef not defined
Stacktrace:
  [1] top-level scope
    @ :0
  [2] include(mod::Module, _path::String)
    @ Base ./Base.jl:384
  [3] include(x::String)
    @ DiskArrays ~/.julia/packages/DiskArrays/LD5Gn/src/DiskArrays.jl:1
  [4] top-level scope
    @ ~/.julia/packages/DiskArrays/LD5Gn/src/diskarray.jl:30
  [5] include(mod::Module, _path::String)
    @ Base ./Base.jl:384
  [6] include(x::String)
    @ DiskArrays ~/.julia/packages/DiskArrays/LD5Gn/src/DiskArrays.jl:1
  [7] top-level scope
    @ ~/.julia/packages/DiskArrays/LD5Gn/src/DiskArrays.jl:15
  [8] include
    @ ./Base.jl:384 [inlined]
  [9] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
    @ Base ./loading.jl:1235
 [10] top-level scope
    @ none:1
 [11] eval
    @ ./boot.jl:360 [inlined]
 [12] eval(x::Expr)
    @ Base.MainInclude ./client.jl:446
 [13] top-level scope
    @ none:1
in expression starting at /home/runner/.julia/packages/DiskArrays/LD5Gn/src/batchgetindex.jl:7
in expression starting at /home/runner/.julia/packages/DiskArrays/LD5Gn/src/batchgetindex.jl:7
in expression starting at /home/runner/.julia/packages/DiskArrays/LD5Gn/src/diskarray.jl:30
in expression starting at /home/runner/.julia/packages/DiskArrays/LD5Gn/src/DiskArrays.jl:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions