Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark Statistics as an upgradable stdlib #3587

Merged
merged 6 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,9 @@ const STDLIB = Ref{DictStdLibs}()
function load_stdlib()
stdlib = DictStdLibs()
for name in readdir(stdlib_dir())
# DelimitedFiles is an upgradable stdlib
# DelimitedFiles and Statistics are upgradable stdlibs
# TODO: Store this information of upgradable stdlibs somewhere else
name == "DelimitedFiles" && continue
name in ("DelimitedFiles", "Statistics") && continue
projfile = projectfile_path(stdlib_path(name); strict=true)
nothing === projfile && continue
project = parse_toml(projfile)
Expand Down
2 changes: 1 addition & 1 deletion test/force_latest_compatible_version.jl
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const test_package_parent_dir = joinpath(
# will break this test. Therefore, we intentionally run this
# test using a fixed version of the General registry.
registry_url = "https://github.com/JuliaRegistries/General.git"
registry_commit = "a5a987a4098d6534b1f57fd13589ef982ce0f8d0"
registry_commit = "8129a7701ba2bd95bd83b90178114dd3aa2d3295"
Utils.isolate_and_pin_registry(; registry_url, registry_commit) do
Pkg.activate(test_package)
Pkg.instantiate()
Expand Down
2 changes: 2 additions & 0 deletions test/test_packages/BuildProjectFixedDeps/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[[deps.Statistics]]
deps = ["LinearAlgebra", "SparseArrays"]
git-tree-sha1 = "83850190e0f902ae1673d63ae349fc2a36dc6afb"
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
version = "1.11"

[[deps.TOML]]
deps = ["Dates"]
Expand Down
2 changes: 2 additions & 0 deletions test/test_packages/ShouldPreserveSemver/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"

[[deps.Statistics]]
deps = ["LinearAlgebra", "SparseArrays"]
git-tree-sha1 = "83850190e0f902ae1673d63ae349fc2a36dc6afb"
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
version = "1.11"

[[deps.SuiteSparse_jll]]
deps = ["Artifacts", "Libdl", "Pkg", "libblastrampoline_jll"]
Expand Down