From 2c34557a47cfb8b4ee504fe72a2fdb9fe4e91384 Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Tue, 17 Dec 2024 17:19:41 +0000 Subject: [PATCH 1/4] Require Julia v1.10 (LTS) --- .github/workflows/CI.yml | 2 +- Project.toml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index aeeb874..7adef01 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: version: - - '1.0' + - 'lts' - '1' - 'nightly' os: diff --git a/Project.toml b/Project.toml index 86ce0d0..efcaef3 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "AbstractFFTs" uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c" -version = "1.5.0" +version = "1.6.0-dev" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" @@ -20,11 +20,11 @@ Aqua = "0.8" ChainRulesCore = "1" ChainRulesTestUtils = "1" FiniteDifferences = "0.12" -LinearAlgebra = "<0.0.1, 1" -Random = "<0.0.1, 1" -Test = "<0.0.1, 1" +LinearAlgebra = "1" +Random = "1" +Test = "1" Unitful = "1" -julia = "^1.0" +julia = "1.10" [extras] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" From 98fdfb39c2788dbc2479586e543d66c81ac4e4de Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Tue, 17 Dec 2024 22:24:25 +0000 Subject: [PATCH 2/4] Remove old code --- src/AbstractFFTs.jl | 5 ----- test/runtests.jl | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/AbstractFFTs.jl b/src/AbstractFFTs.jl index 3225916..b9571e9 100644 --- a/src/AbstractFFTs.jl +++ b/src/AbstractFFTs.jl @@ -8,9 +8,4 @@ export fft, ifft, bfft, fft!, ifft!, bfft!, include("definitions.jl") include("TestUtils.jl") -if !isdefined(Base, :get_extension) - include("../ext/AbstractFFTsChainRulesCoreExt.jl") - include("../ext/AbstractFFTsTestExt.jl") -end - end # module diff --git a/test/runtests.jl b/test/runtests.jl index 0560174..22c55a3 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -202,7 +202,7 @@ end # type inference checks of `rrule` fail on old Julia versions # for higher-dimensional arrays: # https://github.com/JuliaMath/AbstractFFTs.jl/pull/58#issuecomment-916530016 - check_inferred = ndims(x) < 3 || VERSION >= v"1.6" + check_inferred = ndims(x) < 3 test_frule(AbstractFFTs.fftshift, x, dims) test_rrule(AbstractFFTs.fftshift, x, dims; check_inferred=check_inferred) From dd03f6a06bd6e8b63ed3534462d5051dfe197411 Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Wed, 18 Dec 2024 10:11:55 +0000 Subject: [PATCH 3/4] Update .github/workflows/CI.yml Co-authored-by: David Widmann --- .github/workflows/CI.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7adef01..4594acb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,7 +15,6 @@ jobs: version: - 'lts' - '1' - - 'nightly' os: - ubuntu-latest - macOS-latest From ca20c4f057a5e179e167bee304a6bc989aecee75 Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Wed, 18 Dec 2024 11:06:02 +0000 Subject: [PATCH 4/4] Update .github/workflows/CI.yml Co-authored-by: David Widmann --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4594acb..3a23847 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -13,6 +13,7 @@ jobs: fail-fast: false matrix: version: + - 'min' - 'lts' - '1' os: