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

Upgradeable Statistics stdlib #46501

Merged
merged 21 commits into from
Sep 16, 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
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ Standard library changes

#### Dates

#### Statistics

* Statistics is now an upgradeable standard library.([#46501])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Statistics is now an upgradeable standard library.([#46501])
* Statistics is now an upgradeable standard library ([#46501]).


#### Distributed

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2c076e4095bb473af0a0c4d2225bf85a
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feffd9850f4fd46b431c411162a997b3da6425aba4b59adb54526e5d241e8a688263facea3896c04aa3c24211bd3f416f7eba366dd094bbb6bdba6b479448aad
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1ed739f3d108cfe880fd97fe8b4359e7
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f83e44af718c5dbe8346762f869796cf80ca6bb10d97c7855e5ea2863198ae650ba8462b46a92a7f6d0941f52d2739c3e10b0a7cbbc6f28e0ad3adb13a89a874

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion doc/src/manual/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ As we will see in the next section `import .NiceStuff` is equivalent to `using .
You can combine multiple `using` and `import` statements of the same kind in a comma-separated expression, e.g.

```jldoctest module_manual
julia> using LinearAlgebra, Statistics
julia> using LinearAlgebra, Random
```

### `using` and `import` with specific identifiers, and adding methods
Expand Down
4 changes: 2 additions & 2 deletions pkgimage.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ STDLIBS := ArgTools Artifacts Base64 CRC32c FileWatching Libdl NetworkOptions SH
Zlib_jll dSFMT_jll libLLVM_jll libblastrampoline_jll OpenBLAS_jll Printf Random Tar \
LibSSH2_jll MPFR_jll LinearAlgebra Dates Distributed Future LibGit2 Profile SparseArrays UUIDs \
SharedArrays TOML Test LibCURL Downloads Pkg Dates LazyArtifacts Sockets Unicode Markdown \
InteractiveUtils REPL DelimitedFiles
InteractiveUtils REPL DelimitedFiles Statistics

all-release: $(addprefix cache-release-, $(STDLIBS))
all-debug: $(addprefix cache-debug-, $(STDLIBS))
Expand Down Expand Up @@ -131,5 +131,5 @@ $(eval $(call sysimg_builder,Pkg,Dates LibGit2 Libdl Logging Printf Random SHA U
$(eval $(call pkgimg_builder,LazyArtifacts,Artifacts Pkg))

$(eval $(call pkgimg_builder,SparseArrays,Libdl LinearAlgebra Random Serialization))
$(eval $(call pkgimg_builder,Statistics,LinearAlgebra SparseArrays))
# SuiteSparse_jll
# Statistics
2 changes: 1 addition & 1 deletion stdlib/Pkg.version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PKG_BRANCH = master
PKG_SHA1 = 0b9334a944fbc1ba3c230138ba339bd22d58064f
PKG_SHA1 = ff6d645cd8bd18f4d22f6b5a24ff0234cf193fa5
PKG_GIT_URL := https://github.com/JuliaLang/Pkg.jl.git
PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1
3 changes: 1 addition & 2 deletions stdlib/Random/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Future = "9fa8497b-333b-5362-9e8d-4d0656e87820"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[targets]
test = ["Test", "SparseArrays", "LinearAlgebra", "Future", "Statistics"]
test = ["Test", "SparseArrays", "LinearAlgebra", "Future"]
2 changes: 1 addition & 1 deletion stdlib/Statistics.version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
STATISTICS_BRANCH = master
STATISTICS_SHA1 = a3feba2bb63f06b7f40024185e9fa5f6385e2510
STATISTICS_SHA1 = 04e5d8916fae616f5ad328cf6a0b94cf883b8ba6
STATISTICS_GIT_URL := https://github.com/JuliaStats/Statistics.jl.git
STATISTICS_TAR_URL = https://api.github.com/repos/JuliaStats/Statistics.jl/tarball/$1
1 change: 1 addition & 0 deletions test/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1182,4 +1182,5 @@ end

@testset "Upgradable stdlibs" begin
@test success(`$(Base.julia_cmd()) --startup-file=no -e 'using DelimitedFiles'`)
@test success(`$(Base.julia_cmd()) --startup-file=no -e 'using Statistics'`)
end