Skip to content

Commit 0941fd1

Browse files
Merge pull request #366 from Zentrik/patch-3
Raise minimum Julia version to 1.6
2 parents e86ce45 + 0dc89eb commit 0941fd1

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
version:
19-
- '1.0'
2019
- '1.6'
2120
- '1'
2221
- 'nightly'
@@ -25,9 +24,6 @@ jobs:
2524
os:
2625
- ubuntu-latest
2726
include:
28-
- version: '1.5'
29-
arch: x64
30-
os: ubuntu-20.04
3127
- version: '1.7'
3228
arch: x64
3329
os: ubuntu-20.04

Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name = "BenchmarkTools"
22
uuid = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
3-
version = "1.5.0"
3+
version = "1.6.0"
44

55
[deps]
6+
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
67
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
78
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
89
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
@@ -12,6 +13,7 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
1213

1314
[compat]
1415
Aqua = "0.8"
16+
Compat = ">= 4.11.0"
1517
JSON = "0.18, 0.19, 0.20, 0.21"
1618
JuliaFormatter = "1"
1719
Logging = "<0.0.1, 1"
@@ -20,7 +22,7 @@ Profile = "<0.0.1, 1"
2022
Statistics = "<0.0.1, 1"
2123
Test = "<0.0.1, 1"
2224
UUIDs = "<0.0.1, 1"
23-
julia = "1"
25+
julia = "1.6"
2426

2527
[extras]
2628
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"

src/BenchmarkTools.jl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ using Statistics
88
using UUIDs: uuid4
99
using Printf
1010
using Profile
11-
12-
const BENCHMARKTOOLS_VERSION = if VERSION >= v"1.9"
13-
pkgversion(BenchmarkTools)
14-
else
15-
v"1.4.0"
16-
end
11+
using Compat
1712

1813
##############
1914
# Parameters #

src/serialization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const VERSIONS = Dict(
2-
"Julia" => string(VERSION), "BenchmarkTools" => string(BENCHMARKTOOLS_VERSION)
2+
"Julia" => string(VERSION), "BenchmarkTools" => pkgversion(BenchmarkTools)
33
)
44

55
# TODO: Add any new types as they're added

0 commit comments

Comments
 (0)