Skip to content

Commit ebe1a37

Browse files
authored
Upgradeable Statistics stdlib (#46501)
1 parent 27c24f6 commit ebe1a37

File tree

15 files changed

+14
-11
lines changed

15 files changed

+14
-11
lines changed

NEWS.md

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ Standard library changes
6161

6262
#### Dates
6363

64+
#### Statistics
65+
66+
* Statistics is now an upgradeable standard library.([#46501])
6467

6568
#### Distributed
6669

deps/checksums/Pkg-0b9334a944fbc1ba3c230138ba339bd22d58064f.tar.gz/md5

-1
This file was deleted.

deps/checksums/Pkg-0b9334a944fbc1ba3c230138ba339bd22d58064f.tar.gz/sha512

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2c076e4095bb473af0a0c4d2225bf85a
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
feffd9850f4fd46b431c411162a997b3da6425aba4b59adb54526e5d241e8a688263facea3896c04aa3c24211bd3f416f7eba366dd094bbb6bdba6b479448aad
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1ed739f3d108cfe880fd97fe8b4359e7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f83e44af718c5dbe8346762f869796cf80ca6bb10d97c7855e5ea2863198ae650ba8462b46a92a7f6d0941f52d2739c3e10b0a7cbbc6f28e0ad3adb13a89a874

deps/checksums/Statistics-a3feba2bb63f06b7f40024185e9fa5f6385e2510.tar.gz/md5

-1
This file was deleted.

deps/checksums/Statistics-a3feba2bb63f06b7f40024185e9fa5f6385e2510.tar.gz/sha512

-1
This file was deleted.

doc/src/manual/modules.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ As we will see in the next section `import .NiceStuff` is equivalent to `using .
148148
You can combine multiple `using` and `import` statements of the same kind in a comma-separated expression, e.g.
149149

150150
```jldoctest module_manual
151-
julia> using LinearAlgebra, Statistics
151+
julia> using LinearAlgebra, Random
152152
```
153153

154154
### `using` and `import` with specific identifiers, and adding methods

pkgimage.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ STDLIBS := ArgTools Artifacts Base64 CRC32c FileWatching Libdl NetworkOptions SH
2727
Zlib_jll dSFMT_jll libLLVM_jll libblastrampoline_jll OpenBLAS_jll Printf Random Tar \
2828
LibSSH2_jll MPFR_jll LinearAlgebra Dates Distributed Future LibGit2 Profile SparseArrays UUIDs \
2929
SharedArrays TOML Test LibCURL Downloads Pkg Dates LazyArtifacts Sockets Unicode Markdown \
30-
InteractiveUtils REPL DelimitedFiles
30+
InteractiveUtils REPL DelimitedFiles Statistics
3131

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

133133
$(eval $(call pkgimg_builder,SparseArrays,Libdl LinearAlgebra Random Serialization))
134+
$(eval $(call pkgimg_builder,Statistics,LinearAlgebra SparseArrays))
134135
# SuiteSparse_jll
135-
# Statistics

stdlib/Pkg.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
PKG_BRANCH = master
2-
PKG_SHA1 = 0b9334a944fbc1ba3c230138ba339bd22d58064f
2+
PKG_SHA1 = ff6d645cd8bd18f4d22f6b5a24ff0234cf193fa5
33
PKG_GIT_URL := https://github.com/JuliaLang/Pkg.jl.git
44
PKG_TAR_URL = https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/$1

stdlib/Random/Project.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
99
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1010
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1111
Future = "9fa8497b-333b-5362-9e8d-4d0656e87820"
12-
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1312

1413
[targets]
15-
test = ["Test", "SparseArrays", "LinearAlgebra", "Future", "Statistics"]
14+
test = ["Test", "SparseArrays", "LinearAlgebra", "Future"]

stdlib/Statistics.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
STATISTICS_BRANCH = master
2-
STATISTICS_SHA1 = a3feba2bb63f06b7f40024185e9fa5f6385e2510
2+
STATISTICS_SHA1 = 04e5d8916fae616f5ad328cf6a0b94cf883b8ba6
33
STATISTICS_GIT_URL := https://github.com/JuliaStats/Statistics.jl.git
44
STATISTICS_TAR_URL = https://api.github.com/repos/JuliaStats/Statistics.jl/tarball/$1

test/loading.jl

+1
Original file line numberDiff line numberDiff line change
@@ -1182,4 +1182,5 @@ end
11821182

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

0 commit comments

Comments
 (0)