Revise.jl icon indicating copy to clipboard operation
Revise.jl copied to clipboard

Update list of stdlibs

Open eschnett opened this issue 6 months ago • 4 comments

Revise's list of stdlibs is incomplete. This is currently a blocker for https://github.com/JuliaLang/julia/pull/58731: This PR updates LibGit2_jll to a new version, and this version has both PCRE2_jll and Zlib_jll as dependencies. Revise does not know about these two stdlibs, and this makes Julia's CI self tests fail.

I don't know whether to add just these two stdlibs, or whether to generally update Revise's list of stdlibs to include all stdlibs. This PR does the latter. Please advise.

After this PR is merged we will need to update the version of Revise used by Julia's CI tests.

eschnett avatar Jun 15 '25 16:06 eschnett

Does this list need to be version specific? Given some packages have become stdlibs and some stdlibs removed

IanButterworth avatar Jun 15 '25 16:06 IanButterworth

Could Revise ask Julia about this list? Julia should know its dependencies.

eschnett avatar Jun 15 '25 16:06 eschnett

There's is_stdlib in recent julia versions. I'm not sure there's a list. is_stdlib actually parses the stdlib dir for ground truth.

IanButterworth avatar Jun 15 '25 16:06 IanButterworth

(If it's going to be difficult to figure out how to resolve this in general then I can open another PR that just adds PCRE2_jll and Zlib_jll in the mean time. These two have been stdlibs for a long time.)

eschnett avatar Jun 15 '25 17:06 eschnett