From 0594a85e5fed3a04f20b743da5a9cdb9bbd92638 Mon Sep 17 00:00:00 2001 From: Steve Kelly Date: Thu, 14 Dec 2023 12:23:01 -0500 Subject: [PATCH 1/6] add Aqua and add compat entries in Project.toml Aqua.jl detected missing compat entries as problematic for registration. --- Project.toml | 15 +++++++++++++-- test/runtests.jl | 3 +++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index e90ac4eb..edeb03fd 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "FileIO" uuid = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" -version = "1.16.1" +version = "1.16.2" [deps] Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" @@ -8,10 +8,21 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df" UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" [compat] +UUIDs = "1" +Pkg = "1" Requires = "1" julia = "0.7, 1" +Aqua = "0.8" +CSVFiles = "1" +CodecZlib = "0.7" +ColorTypes = "0.11" +FilePathsBase = "0.9" +HTTP = "1" +Random = "1" +Test = "1" [extras] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" CSVFiles = "5d742f6a-9f54-50ce-8119-2520741973ca" CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193" ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" @@ -21,4 +32,4 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["ColorTypes", "CodecZlib", "CSVFiles", "FilePathsBase", "HTTP", "Random", "Test"] +test = ["Aqua", "ColorTypes", "CodecZlib", "CSVFiles", "FilePathsBase", "HTTP", "Random", "Test"] diff --git a/test/runtests.jl b/test/runtests.jl index 98129829..f531393b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -25,3 +25,6 @@ end include("test_mimesave.jl") include("integration.jl") end + +using Aqua +Aqua.test_all(FileIO) From d627da3229ce8675a8c6679b94ba73f04373cf55 Mon Sep 17 00:00:00 2001 From: Steve Kelly Date: Fri, 15 Dec 2023 14:52:27 -0500 Subject: [PATCH 2/6] julia 1 compats --- Project.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index edeb03fd..16ce00d6 100644 --- a/Project.toml +++ b/Project.toml @@ -8,8 +8,8 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df" UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" [compat] -UUIDs = "1" -Pkg = "1" +UUIDs = "<0.0.1, 1" +Pkg = "<0.0.1, 1" Requires = "1" julia = "0.7, 1" Aqua = "0.8" @@ -18,8 +18,8 @@ CodecZlib = "0.7" ColorTypes = "0.11" FilePathsBase = "0.9" HTTP = "1" -Random = "1" -Test = "1" +Random = "<0.0.1, 1" +Test = "<0.0.1, 1" [extras] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" From 80d444dadb99f0c60af20966e3ccba46f72a39fd Mon Sep 17 00:00:00 2001 From: Steve Kelly Date: Fri, 15 Dec 2023 14:53:33 -0500 Subject: [PATCH 3/6] [ci] test on 1.6 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47164430..78163306 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - julia-version: ['1.0', '1', 'nightly'] + julia-version: ['1.0', '1.6', '1', 'nightly'] julia-arch: [x64, x86] os: [ubuntu-latest, macOS-latest, windows-latest] exclude: From c48e747561d7da812781a2cc56f6adcb10281a71 Mon Sep 17 00:00:00 2001 From: Steve Kelly Date: Fri, 15 Dec 2023 15:25:45 -0500 Subject: [PATCH 4/6] loosen CodecZLib bounds for tests on old Julias --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 16ce00d6..64068aee 100644 --- a/Project.toml +++ b/Project.toml @@ -14,7 +14,7 @@ Requires = "1" julia = "0.7, 1" Aqua = "0.8" CSVFiles = "1" -CodecZlib = "0.7" +CodecZlib = "0.5, 0.6, 0.7" ColorTypes = "0.11" FilePathsBase = "0.9" HTTP = "1" From 2f587ed319154d67058c8e16916bd0eb762d2cfd Mon Sep 17 00:00:00 2001 From: Steve Kelly Date: Wed, 3 Jan 2024 10:12:11 -0500 Subject: [PATCH 5/6] add std lib compats --- Project.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index 64068aee..66cbe5c2 100644 --- a/Project.toml +++ b/Project.toml @@ -8,9 +8,9 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df" UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" [compat] -UUIDs = "<0.0.1, 1" -Pkg = "<0.0.1, 1" +Pkg = "<0.0.1, 0.7, 1" Requires = "1" +UUIDs = "<0.0.1, 0.7, 1" julia = "0.7, 1" Aqua = "0.8" CSVFiles = "1" @@ -18,8 +18,8 @@ CodecZlib = "0.5, 0.6, 0.7" ColorTypes = "0.11" FilePathsBase = "0.9" HTTP = "1" -Random = "<0.0.1, 1" -Test = "<0.0.1, 1" +Random = "<0.0.1, 0.7, 1" +Test = "<0.0.1, 0.7, 1" [extras] Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" From d3e59322ca5ede84ec39e452c021a30580de1b6a Mon Sep 17 00:00:00 2001 From: Steve Kelly Date: Wed, 3 Jan 2024 10:21:06 -0500 Subject: [PATCH 6/6] HTTP comapt --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 66cbe5c2..3d5ea14b 100644 --- a/Project.toml +++ b/Project.toml @@ -17,7 +17,7 @@ CSVFiles = "1" CodecZlib = "0.5, 0.6, 0.7" ColorTypes = "0.11" FilePathsBase = "0.9" -HTTP = "1" +HTTP = "0.6, 1" Random = "<0.0.1, 0.7, 1" Test = "<0.0.1, 0.7, 1"