You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a test failure for PkgDeps when using Julia 1.8. It seems that the Pkg API changed a little bit, and the method used here to get a list of stdlib names no longer works.
In Julia 1.7, I get:
julia> Pkg.Types.stdlibs()
Dict{Base.UUID, String} with 58 entries:UUID("efcefdf7-47ab-520b-bdef-62a2eaa19f15") =>"PCRE2_jll"UUID("745a5e78-f969-53e9-954f-d19f2f74f4e3") =>"LibUnwind_jll"# etc.
And in Julia 1.8, I get:
Dict{Base.UUID, Tuple{String, Union{Nothing, VersionNumber}}} with 58 entries:UUID("efcefdf7-47ab-520b-bdef… => ("PCRE2_jll", v"10.40.0+0") UUID("745a5e78-f969-53e9-954f…=> ("LibUnwind_jll", v"1.5.0+0")
# etc.
The text was updated successfully, but these errors were encountered:
danielmatz
added a commit
to danielmatz/PkgDeps.jl
that referenced
this issue
Dec 20, 2022
With Julia v1.8, there were Pkg API changes that caused this package
to break. In particular, our method of determining whether a package
is part of the standard library now fails.
With older versions of Julia, `Pkg.Types.stdlibs()` returns a
dictionary mapping `UUID`s to `String`s, which are just the package
names. As of Julia v1.8, `Pkg.Types.stdlibs()` returns a dictionary
mapping `UUID`s to `Tuple{String, Union{Nothing, VersionNumber}}`.
This commit reworks the dictionary returned by `Pkg.Types.stdlibs()`
for Julia v1.8 and later, so that the rest of the existing code in
this package will work without modification.
FixesJuliaEcosystem#41.
There's a test failure for PkgDeps when using Julia 1.8. It seems that the Pkg API changed a little bit, and the method used here to get a list of stdlib names no longer works.
In Julia 1.7, I get:
And in Julia 1.8, I get:
The text was updated successfully, but these errors were encountered: