diff --git a/src/deps_compat.jl b/src/deps_compat.jl index 591af779..0aa55c3b 100644 --- a/src/deps_compat.jl +++ b/src/deps_compat.jl @@ -62,11 +62,10 @@ function find_missing_deps_compat( deps = get(prj, deps_type, Dict{String,Any}()) compat = get(prj, "compat", Dict{String,Any}()) - stdlibs = get_stdlib_list() missing_compat = sort!( [ d for d in map(d -> PkgId(UUID(last(d)), first(d)), collect(deps)) if - !(d.name in keys(compat)) && !(d in stdlibs) && !(d.name in String.(ignore)) + !(d.name in keys(compat)) && !(d.name in String.(ignore)) ]; by = (pkg -> pkg.name), ) diff --git a/src/utils.jl b/src/utils.jl index 2c143a05..cb4bdd83 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -84,27 +84,6 @@ function checked_repr(obj) return code end - - -function get_stdlib_list() - @static if VERSION >= v"1.4-" - result = Pkg.Types.stdlibs() - elseif VERSION >= v"1.1-" - result = Pkg.Types.stdlib() - else - result = Pkg.Types.gather_stdlib_uuids() - end - - @static if VERSION >= v"1.8-" - # format: Dict{Base.UUID, Tuple{String, Union{Nothing, VersionNumber}}} - libs = [PkgId(first(entry), first(last(entry))) for entry in result] - else - # format Dict{Base.UUID, String} - libs = [PkgId(first(entry), last(entry)) for entry in result] - end - return libs -end - const _project_key_order = [ "name", "uuid",