Skip to content

Commit 69a7655

Browse files
authored
Drop support for julia 1.0-1.3 (#221)
* Drop support for julia 1.0-1.3 * Remove no longer needed workarounds * Remove Compat as dep * Bump Aqua version * Add changelog * Remove `Versions` submodule * Extend CI job timeout for windows
1 parent 7f18f15 commit 69a7655

File tree

11 files changed

+43
-533
lines changed

11 files changed

+43
-533
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
test:
1313
runs-on: ${{ matrix.os }}
14-
timeout-minutes: 10
14+
timeout-minutes: ${{ matrix.os == 'windows-latest' && 20 || 10 }}
1515
strategy:
1616
matrix:
1717
os: ["ubuntu-latest"]
@@ -23,22 +23,18 @@ jobs:
2323
- '1.6'
2424
- '1.5'
2525
- '1.4'
26-
- '1.3'
27-
- '1.2'
28-
- '1.1'
29-
- '1.0'
3026
- 'nightly'
3127
include:
3228
- os: windows-latest
3329
julia-version: '1'
3430
- os: windows-latest
35-
julia-version: '1.0'
31+
julia-version: '1.4'
3632
- os: windows-latest
3733
julia-version: 'nightly'
3834
- os: macOS-latest
3935
julia-version: '1'
4036
- os: macOS-latest
41-
julia-version: '1.0'
37+
julia-version: '1.4'
4238
- os: macOS-latest
4339
julia-version: 'nightly'
4440
fail-fast: false
@@ -49,15 +45,6 @@ jobs:
4945
uses: julia-actions/setup-julia@v1
5046
with:
5147
version: ${{ matrix.julia-version }}
52-
- name: Remove compat entry for old julia versions
53-
# This is needed for julia 1.0-1.3, see https://julialang.slack.com/archives/C67910KEH/p1697548190422019?thread_ts=1697546952.011759&cid=C67910KEH
54-
if: matrix.julia-version == '1.0' || matrix.julia-version == '1.1' || matrix.julia-version == '1.2' || matrix.julia-version == '1.3'
55-
shell: julia --project=. --color=yes {0}
56-
run: |
57-
using Pkg.TOML
58-
prj = TOML.parsefile("Project.toml")
59-
delete!(prj["compat"], "Test")
60-
open(io -> TOML.print(io, prj), "Project.toml", "w")
6148
- uses: julia-actions/julia-runtest@v1
6249
- uses: julia-actions/julia-processcoverage@v1
6350
- uses: codecov/codecov-action@v3

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- The minimum requirement for julia was raised from `1.0` to `1.4`. ([#221](https://github.com/JuliaTesting/Aqua.jl/pull/221))
13+
14+
1015
## [0.7.4] - 2023-10-24
1116

1217
### Added

Project.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
name = "Aqua"
22
uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
33
authors = ["Takafumi Arakaki <[email protected]> and contributors"]
4-
version = "0.7.4"
4+
version = "0.8.0-DEV"
55

66
[deps]
7-
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
87
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
98
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
109

1110
[compat]
12-
Compat = "3.12, 4"
13-
Pkg = "1.0"
14-
Test = "1.0"
15-
julia = "1.0"
11+
Pkg = "1.4"
12+
Test = "1.4"
13+
julia = "1.4"
1614

1715
[extras]
1816
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

src/Aqua.jl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ using Base: PkgId, UUID
44
using Pkg: Pkg, TOML
55
using Test
66

7-
@static if VERSION < v"1.3.0-DEV.349"
8-
using Compat: findfirst
7+
@static if VERSION >= v"1.7-"
8+
const VersionSpec = Pkg.Versions.VersionSpec
9+
const semver_spec = Pkg.Versions.semver_spec
10+
else
11+
const VersionSpec = Pkg.Types.VersionSpec
12+
const semver_spec = Pkg.Types.semver_spec
913
end
1014

11-
include("pkg/Versions.jl")
12-
using .Versions: VersionSpec, semver_spec
13-
1415
include("utils.jl")
1516
include("ambiguities.jl")
1617
include("unbound_args.jl")

src/pkg/LICENSE.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)