Skip to content

Commit 341e55c

Browse files
committed
update Compat for rename of Pkg to OldPkg
also temporarily disable the Project file while things are in flux
1 parent c5527e9 commit 341e55c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
File renamed without changes.

src/Compat.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,9 +1452,9 @@ else
14521452
end
14531453

14541454
@static if VERSION < v"0.7.0-DEV.3656"
1455-
const Pkg = Base.Pkg
1455+
const OldPkg = Base.Pkg
14561456
else
1457-
import Pkg
1457+
import OldPkg
14581458
end
14591459

14601460
@static if VERSION < v"0.7.0-DEV.3630"

src/deprecated.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ else
5252
import Base.LinAlg.BLAS.@blasfunc
5353
end
5454

55+
Base.@deprecate_binding Pkg OldPkg
56+
5557
if VERSION < v"0.7.0-DEV.2915"
5658
const textwidth = Compat.Unicode.textwidth
5759
export textwidth

0 commit comments

Comments
 (0)