Skip to content

Commit 07d900f

Browse files
authored
Add compat bound for stdlibs (#887)
* Add compat bounds for stdlibs * Make `Aqua.test_all` pass
1 parent 466aec3 commit 07d900f

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

Project.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@ LazyArtifacts = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
99
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
1010
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1111
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
12-
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
1312
RelocatableFolders = "05181044-ff0b-4ac5-8273-598c1e38db00"
1413
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
1514
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1615

1716
[compat]
17+
Artifacts = "1"
1818
Glob = "1"
19+
LazyArtifacts = "1"
20+
Libdl = "1"
21+
Pkg = "1"
22+
Printf = "1"
1923
RelocatableFolders = "0.1, 0.3, 1"
24+
TOML = "1"
25+
UUIDs = "1"
2026
julia = "1.6"
2127

2228
[extras]

ext/TerminalSpinners.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module TerminalSpinners
55

66
using Printf
77

8-
export Spinner, autospin, spin!, @spin
8+
export Spinner, @spin
99

1010
const CSI = "\e["
1111

@@ -43,7 +43,7 @@ Base.@kwdef mutable struct Spinner{IO_t <: IO}
4343
frames::Vector{String} = ["", "", "", "", "", "", "", ""]
4444
freq::Float64 = 10.0 # [1/s]
4545
msg::Any = ""
46-
stream::IO_t = stderr
46+
stream::IO_t = stderr
4747
timer::Union{Nothing, Timer} = nothing
4848
hidecursor::Bool = true
4949
silent::Bool=false
@@ -106,7 +106,7 @@ function start!(s::Spinner)
106106
s.frame_idx = 1
107107
s.first = true
108108
s.start = time()
109-
109+
110110
if !s.enabled
111111
println(s.stream, "- ", s.msg)
112112
return
@@ -132,7 +132,7 @@ function stop!(s::Spinner)
132132
if s.timer !== nothing
133133
close(s.timer)
134134
end
135-
if !s.enabled || s.silent
135+
if !s.enabled || s.silent
136136
return
137137
end
138138
s.hidecursor && show_cursor!(s.stream)
@@ -171,4 +171,4 @@ function spin(f, s::Spinner)
171171
end
172172

173173

174-
end # module
174+
end # module

src/PackageCompiler.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module PackageCompiler
22

33
using Base: active_project
4-
using REPL
54
using Libdl: Libdl
65
using Pkg: Pkg
76
using Printf

0 commit comments

Comments
 (0)