Skip to content

Commit 7b140ee

Browse files
authored
delete OldPkg (JuliaLang#27930)
1 parent cae40f2 commit 7b140ee

33 files changed

+10
-8211
lines changed

Diff for: .circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
pushd /tmp/julia/share/julia/test &&
6060
if [ $(echo "$FILES_CHANGED" | grep -cv '^doc/') -gt 0 ]; then
6161
/tmp/julia/bin/julia --check-bounds=yes runtests.jl all --skip Sockets | bar -i 30 &&
62-
/tmp/julia/bin/julia --check-bounds=yes runtests.jl LibGit2/online OldPkg/pkg Pkg/pkg download;
62+
/tmp/julia/bin/julia --check-bounds=yes runtests.jl LibGit2/online Pkg/pkg download;
6363
fi &&
6464
popd &&
6565
mkdir /tmp/embedding-test &&

Diff for: .freebsdci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runtests(){
4545

4646
./usr/bin/julia --check-bounds=yes test/runtests.jl all
4747
./usr/bin/julia --check-bounds=yes test/runtests.jl \
48-
LibGit2/online OldPkg/pkg Pkg/pkg download
48+
LibGit2/online Pkg/pkg download
4949
}
5050

5151
test-embedding(){

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ script:
134134
# skip tests if only files within the "doc" dir have changed
135135
- if [ $(echo "$FILES_CHANGED" | grep -cv '^doc/') -gt 0 ]; then
136136
/tmp/julia/bin/julia --check-bounds=yes runtests.jl $TESTSTORUN &&
137-
/tmp/julia/bin/julia --check-bounds=yes runtests.jl LibGit2/online OldPkg/pkg Pkg/pkg download; fi
137+
/tmp/julia/bin/julia --check-bounds=yes runtests.jl LibGit2/online Pkg/pkg download; fi
138138
- popd
139139
# test that the embedding code works on our installation
140140
- mkdir /tmp/embedding-test &&

Diff for: appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ test_script:
6363
- usr\bin\julia -e "Base.require(Main, :InteractiveUtils).versioninfo()"
6464
- usr\bin\julia --sysimage-native-code=no -e "true"
6565
- cd julia-* && .\bin\julia.exe --check-bounds=yes share\julia\test\runtests.jl all &&
66-
.\bin\julia.exe --check-bounds=yes share\julia\test\runtests.jl LibGit2/online OldPkg/pkg Pkg/pkg download
66+
.\bin\julia.exe --check-bounds=yes share\julia\test\runtests.jl LibGit2/online Pkg/pkg download
6767
- cd ..
6868
- usr\bin\julia usr\share\julia\test\embedding\embedding-test.jl test\embedding\embedding.exe

Diff for: base/sysimg.jl

-1
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,6 @@ let
515515
:Random,
516516
:UUIDs,
517517
:Future,
518-
:OldPkg,
519518
:LinearAlgebra,
520519
:SparseArrays,
521520
:SuiteSparse,

Diff for: contrib/precompile_explicit.jl

-2
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,6 @@ precompile(Tuple{typeof(Base.show), Base.GenericIOBuffer{Array{UInt8, 1}}, UInt6
451451
precompile(Tuple{typeof(Base.show), Base.IOContext{Base.GenericIOBuffer{Array{UInt8, 1}}}, Array{Any, 1}})
452452
precompile(Tuple{typeof(Base.show), Base.IOContext{Base.GenericIOBuffer{Array{UInt8, 1}}}, Int64})
453453
precompile(Tuple{typeof(Base.show), Base.IOContext{Base.GenericIOBuffer{Array{UInt8, 1}}}, String})
454-
precompile(Tuple{typeof(Base.show), Base.IOContext{Base.GenericIOBuffer{Array{UInt8, 1}}}, typeof(OldPkg.dir)})
455454
precompile(Tuple{typeof(Base.show), Base.IOContext{REPL.Terminals.TTYTerminal}, Base.MIME{Symbol("text/plain")}, Array{Float64, 1}})
456455
precompile(Tuple{typeof(Base.show), Base.IOContext{REPL.Terminals.TTYTerminal}, Base.MIME{Symbol("text/plain")}, Array{Float64, 2}})
457456
precompile(Tuple{typeof(Base.show), Base.IOContext{REPL.Terminals.TTYTerminal}, Base.MIME{Symbol("text/plain")}, Array{Int64, 1}})
@@ -606,7 +605,6 @@ precompile(Tuple{typeof(Markdown.terminline), Base.IOContext{Base.GenericIOBuffe
606605
precompile(Tuple{typeof(Markdown.terminline), Base.IOContext{Base.GenericIOBuffer{Array{UInt8, 1}}}, String})
607606
precompile(Tuple{typeof(Markdown.terminline_string), Base.IOContext{Base.GenericIOBuffer{Array{UInt8, 1}}}, Array{Any, 1}})
608607
precompile(Tuple{typeof(Markdown.terminline_string), Base.IOContext{REPL.Terminals.TTYTerminal}, Array{Any, 1}})
609-
precompile(Tuple{typeof(OldPkg.dir)})
610608
precompile(Tuple{typeof(Pkg.REPLMode.create_mode), REPL.LineEditREPL, REPL.LineEdit.Prompt})
611609
precompile(Tuple{typeof(Pkg.REPLMode.repl_init), REPL.LineEditREPL})
612610
precompile(Tuple{typeof(REPL.LineEdit.accept_result), REPL.LineEdit.MIState, REPL.LineEdit.PrefixHistoryPrompt})

Diff for: doc/src/manual/environment-variables.md

-5
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ over `$EDITOR`. If none of these environment variables is set, then the editor
121121
is taken to be `open` on Windows and OS X, or `/etc/alternatives/editor` if it
122122
exists, or `emacs` otherwise.
123123

124-
!!! note
125-
126-
`$JULIA_EDITOR` is *not* used in the determination of the editor for
127-
`OldPkg.edit`: this function checks `$VISUAL` and `$EDITOR` alone.
128-
129124
## Parallelization
130125

131126
### `JULIA_CPU_THREADS`

Diff for: stdlib/InteractiveUtils/test/runtests.jl

+5-9
Original file line numberDiff line numberDiff line change
@@ -175,16 +175,12 @@ end
175175
# PR #23075
176176
@testset "versioninfo" begin
177177
# check that versioninfo(io; verbose=true) doesn't error, produces some output
178-
# and doesn't invoke OldPkg.status which will error if JULIA_PKGDIR is set
179178
mktempdir() do dir
180-
withenv("JULIA_PKGDIR" => dir) do
181-
buf = PipeBuffer()
182-
versioninfo(buf, verbose=true)
183-
ver = read(buf, String)
184-
@test startswith(ver, "Julia Version $VERSION")
185-
@test occursin("Environment:", ver)
186-
@test isempty(readdir(dir))
187-
end
179+
buf = PipeBuffer()
180+
versioninfo(buf, verbose=true)
181+
ver = read(buf, String)
182+
@test startswith(ver, "Julia Version $VERSION")
183+
@test occursin("Environment:", ver)
188184
end
189185
let exename = `$(Base.julia_cmd()) --startup-file=no`
190186
@test !occursin("Environment:", read(setenv(`$exename -e 'using InteractiveUtils; versioninfo()'`,

Diff for: stdlib/OldPkg/Project.toml

-12
This file was deleted.

0 commit comments

Comments
 (0)