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 18 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 @@ -57,6 +57,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
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
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"]
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