Skip to content

Commit

Permalink
Mark Statistics as an upgradable stdlib (#3587)
Browse files Browse the repository at this point in the history
* Mark Statistics as an upgradable stdlib


Co-authored-by: Kristoffer Carlsson <[email protected]>
  • Loading branch information
nalimilan and KristofferC authored Sep 14, 2023
1 parent 0b9334a commit ff6d645
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
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

0 comments on commit ff6d645

Please sign in to comment.