diff --git a/src/deps_compat.jl b/src/deps_compat.jl index 8cbebc18..9cfe6584 100644 --- a/src/deps_compat.jl +++ b/src/deps_compat.jl @@ -2,7 +2,7 @@ Aqua.test_deps_compat(package) Test that the `Project.toml` of `package` has a `compat` entry for -each package listed under `deps`. +each package listed under `deps` and for `julia`. # Arguments - `packages`: a top-level `Module`, a `Base.PkgId`, or a collection of @@ -86,6 +86,9 @@ function find_missing_deps_compat( ignore::AbstractVector{Symbol} = Symbol[], ) deps = get(prj, deps_type, Dict{String,Any}()) + if deps_type == "deps" + deps["julia"] = "00000000-0000-0000-0000-000000000000" + end compat = get(prj, "compat", Dict{String,Any}()) missing_compat = sort!(