Skip to content

Commit 19ec432

Browse files
authored
Remove version numbers from UNREGISTERED_STDLIBS, and re-generate the list of historical stdlibs (#2853)
1 parent b5fa3ce commit 19ec432

File tree

2 files changed

+64
-2
lines changed

2 files changed

+64
-2
lines changed

ext/HistoricaStdlibGenerator/generate_historical_stdlibs.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,13 @@ for (julia_ver, stdlibs) in versions_dict
220220
end
221221

222222
registries = Pkg.Registry.reachable_registries()
223-
unregistered_stdlibs = filter(all_stdlibs) do (uuid, name)
223+
_unregistered_stdlibs_with_vers = filter(all_stdlibs) do (uuid, name)
224224
return !any(haskey(reg.pkgs, uuid) for reg in registries)
225225
end
226226

227+
# For each entry in `UNREGISTERED_STDLIBS`, set the version number to `nothing`
228+
unregistered_stdlibs = Dict((k, (v[1], nothing)) for (k, v) in pairs(_unregistered_stdlibs_with_vers))
229+
227230
# Helper function for getting these printed out in a nicely-sorted order
228231
function print_sorted(io::IO, d::Dict; indent::Int=0)
229232
println(io, "Dict{UUID,Tuple{String,Union{VersionNumber,Nothing}}}(")

src/HistoricalStdlibs.jl

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,65 @@ const STDLIBS_BY_VERSION = [
613613
UUID("8e850ede-7688-5339-a07c-302acd2aaf8d") => ("nghttp2_jll", v"1.41.0+0"),
614614
UUID("3f19e933-33d8-53b3-aaab-bd5110c3b7a0") => ("p7zip_jll", v"16.2.1+0"),
615615
),
616+
v"1.6.4" => Dict{UUID,Tuple{String,Union{VersionNumber,Nothing}}}(
617+
UUID("0dad84c5-d112-42e6-8d28-ef12dabb789f") => ("ArgTools", v"1.1.1"),
618+
UUID("56f22d72-fd6d-98f1-02f0-08ddc0907c33") => ("Artifacts", nothing),
619+
UUID("2a0f44e3-6c83-55bd-87e4-b1978d98bd5f") => ("Base64", nothing),
620+
UUID("8bf52ea8-c179-5cab-976a-9e18b702a9bc") => ("CRC32c", nothing),
621+
UUID("e66e0078-7015-5450-92f7-15fbd957f2ae") => ("CompilerSupportLibraries_jll", v"0.5.0+0"),
622+
UUID("ade2ca70-3891-5945-98fb-dc099432e06a") => ("Dates", nothing),
623+
UUID("8bb1440f-4735-579b-a4ab-409b98df4dab") => ("DelimitedFiles", nothing),
624+
UUID("8ba89e20-285c-5b6f-9357-94700520ee1b") => ("Distributed", nothing),
625+
UUID("f43a241f-c20a-4ad4-852c-f6b1247861c6") => ("Downloads", v"1.4.3"),
626+
UUID("7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee") => ("FileWatching", nothing),
627+
UUID("9fa8497b-333b-5362-9e8d-4d0656e87820") => ("Future", nothing),
628+
UUID("781609d7-10c4-51f6-84f2-b8444358ff6d") => ("GMP_jll", v"6.2.0+5"),
629+
UUID("b77e0a4c-d291-57a0-90e8-8db25a27a240") => ("InteractiveUtils", nothing),
630+
UUID("4af54fe1-eca0-43a8-85a7-787d91b784e3") => ("LazyArtifacts", nothing),
631+
UUID("b27032c2-a3e7-50c8-80cd-2d36dbcbfd21") => ("LibCURL", v"0.6.2"),
632+
UUID("deac9b47-8bc7-5906-a0fe-35ac56dc84c0") => ("LibCURL_jll", v"7.73.0+3"),
633+
UUID("76f85450-5226-5b5a-8eaa-529ad045b433") => ("LibGit2", nothing),
634+
UUID("e37daf67-58a4-590a-8e99-b0245dd2ffc5") => ("LibGit2_jll", v"1.2.3+0"),
635+
UUID("a83860b7-747b-57cf-bf1f-3e79990d037f") => ("LibOSXUnwind_jll", v"0.0.6+1"),
636+
UUID("29816b5a-b9ab-546f-933c-edad1886dfa8") => ("LibSSH2_jll", v"1.9.1+0"),
637+
UUID("183b4373-6708-53ba-ad28-60e28bb38547") => ("LibUV_jll", v"2.0.1+4"),
638+
UUID("745a5e78-f969-53e9-954f-d19f2f74f4e3") => ("LibUnwind_jll", v"1.3.2+0"),
639+
UUID("8f399da3-3557-5675-b5ff-fb832c97cbdb") => ("Libdl", nothing),
640+
UUID("37e2e46d-f89d-539d-b4ee-838fcccc9c8e") => ("LinearAlgebra", nothing),
641+
UUID("56ddb016-857b-54e1-b83d-db4d58db5568") => ("Logging", nothing),
642+
UUID("3a97d323-0669-5f0c-9066-3539efd106a3") => ("MPFR_jll", v"4.1.1+0"),
643+
UUID("d6f4376e-aef5-505a-96c1-9c027394607a") => ("Markdown", nothing),
644+
UUID("c8ffd9c3-330d-5841-b78e-0817d7145fa1") => ("MbedTLS_jll", v"2.24.0+1"),
645+
UUID("a63ad114-7e13-5084-954f-fe012c677804") => ("Mmap", nothing),
646+
UUID("14a3606d-f60d-562e-9121-12d972cd8159") => ("MozillaCACerts_jll", v"2020.7.22"),
647+
UUID("ca575930-c2e3-43a9-ace4-1e988b2c1908") => ("NetworkOptions", v"1.2.0"),
648+
UUID("4536629a-c528-5b80-bd46-f80d51c5b363") => ("OpenBLAS_jll", v"0.3.10+9"),
649+
UUID("05823500-19ac-5b8b-9628-191a04bc5112") => ("OpenLibm_jll", v"0.7.4+0"),
650+
UUID("efcefdf7-47ab-520b-bdef-62a2eaa19f15") => ("PCRE2_jll", v"10.36.0+0"),
651+
UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f") => ("Pkg", v"1.6.2"),
652+
UUID("de0858da-6303-5e67-8744-51eddeeeb8d7") => ("Printf", nothing),
653+
UUID("9abbd945-dff8-562f-b5e8-e1ebf5ef1b79") => ("Profile", nothing),
654+
UUID("3fa0cd96-eef1-5676-8a61-b3b8758bbffb") => ("REPL", nothing),
655+
UUID("9a3f8284-a2c9-5f02-9a11-845980a1fd5c") => ("Random", nothing),
656+
UUID("ea8e919c-243c-51af-8825-aaa63cd721ce") => ("SHA", nothing),
657+
UUID("9e88b42a-f829-5b0c-bbe9-9e923198166b") => ("Serialization", nothing),
658+
UUID("1a1011a3-84de-559e-8e89-a11a2f7dc383") => ("SharedArrays", nothing),
659+
UUID("6462fe0b-24de-5631-8697-dd941f90decc") => ("Sockets", nothing),
660+
UUID("2f01184e-e22b-5df5-ae63-d93ebab69eaf") => ("SparseArrays", nothing),
661+
UUID("10745b16-79ce-11e8-11f9-7d13ad32a3b2") => ("Statistics", nothing),
662+
UUID("4607b0f0-06f3-5cda-b6b1-a6196a1729e9") => ("SuiteSparse", nothing),
663+
UUID("bea87d4a-7f5b-5778-9afe-8cc45184846c") => ("SuiteSparse_jll", v"5.4.1+1"),
664+
UUID("fa267f1f-6049-4f14-aa54-33bafae1ed76") => ("TOML", v"1.0.0"),
665+
UUID("a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e") => ("Tar", v"1.9.3"),
666+
UUID("8dfed614-e22c-5e08-85e1-65c5234f0b40") => ("Test", nothing),
667+
UUID("cf7118a7-6976-5b1a-9a39-7adc72f591a4") => ("UUIDs", nothing),
668+
UUID("4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5") => ("Unicode", nothing),
669+
UUID("83775a58-1f1d-513f-b197-d71354ab007a") => ("Zlib_jll", v"1.2.12+0"),
670+
UUID("05ff407c-b0c1-5878-9df8-858cc2e60c36") => ("dSFMT_jll", v"2.2.4+0"),
671+
UUID("8f36deef-c2a5-5394-99ed-8e07531fb29a") => ("libLLVM_jll", v"11.0.1+3"),
672+
UUID("8e850ede-7688-5339-a07c-302acd2aaf8d") => ("nghttp2_jll", v"1.41.0+0"),
673+
UUID("3f19e933-33d8-53b3-aaab-bd5110c3b7a0") => ("p7zip_jll", v"16.2.1+0"),
674+
),
616675
v"1.7.0" => Dict{UUID,Tuple{String,Union{VersionNumber,Nothing}}}(
617676
UUID("0dad84c5-d112-42e6-8d28-ef12dabb789f") => ("ArgTools", v"1.1.1"),
618677
UUID("56f22d72-fd6d-98f1-02f0-08ddc0907c33") => ("Artifacts", nothing),
@@ -752,7 +811,7 @@ const UNREGISTERED_STDLIBS = Dict{UUID,Tuple{String,Union{VersionNumber,Nothing}
752811
UUID("56ddb016-857b-54e1-b83d-db4d58db5568") => ("Logging", nothing),
753812
UUID("d6f4376e-aef5-505a-96c1-9c027394607a") => ("Markdown", nothing),
754813
UUID("a63ad114-7e13-5084-954f-fe012c677804") => ("Mmap", nothing),
755-
UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f") => ("Pkg", v"1.7.0"),
814+
UUID("44cfe95a-1eb2-52ea-b672-e2afdf69b78f") => ("Pkg", nothing),
756815
UUID("de0858da-6303-5e67-8744-51eddeeeb8d7") => ("Printf", nothing),
757816
UUID("9abbd945-dff8-562f-b5e8-e1ebf5ef1b79") => ("Profile", nothing),
758817
UUID("3fa0cd96-eef1-5676-8a61-b3b8758bbffb") => ("REPL", nothing),

0 commit comments

Comments
 (0)