From 098a0a254f44fea7fae35899473ab07ad0b290bd Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 09:36:12 +0200 Subject: [PATCH 01/10] Create Downgrade.yml --- .github/workflows/Downgrade.yml | 49 +++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/Downgrade.yml diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml new file mode 100644 index 00000000..928abf06 --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -0,0 +1,49 @@ +name: Downgrade + +on: + pull_request: + workflow_dispatch: + +# Cancel redundant CI tests automatically +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + downgrade_test: + if: "!contains(github.event.head_commit.message, 'skip ci')" + name: Downgrade ${{ matrix.os }} - Julia ${{ matrix.version }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1' + - '1.9' + os: + - ubuntu-latest + arch: + - x64 + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - run: julia -e 'using InteractiveUtils; versioninfo(verbose=true)' + - uses: julia-actions/cache@v2 + - uses: julia-actions/julia-downgrade-compat@v1 + with: + skip: LinearAlgebra,SparseArrays + projects: ., test + - uses: julia-actions/julia-buildpkg@v1 + env: + PYTHON: "" + GKSwstype: "100" # for Plots/GR + - name: Run tests without coverage + uses: julia-actions/julia-runtest@v1 + with: + coverage: false + env: + PYTHON: "" + GKSwstype: "100" # for Plots/GR From d562474b4e5f4958f2301002e28892c85a233e12 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 09:40:05 +0200 Subject: [PATCH 02/10] bump minimum version of MuladdMacro for compatibility with OrdinaryDiffEq --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 2bc1a5ce..c8ccc670 100644 --- a/Project.toml +++ b/Project.toml @@ -20,7 +20,7 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" FastBroadcast = "0.2" LinearAlgebra = "1.7" LinearSolve = "2" -MuladdMacro = "0.2" +MuladdMacro = "0.2.1" OrdinaryDiffEq = "6" Reexport = "1" SciMLBase = "2" From d3ca7d4e01a1b1fdf01c0d88ecedc5311afc3311 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 09:45:25 +0200 Subject: [PATCH 03/10] bump minimum compat of OrdinaryDiffEq.jl --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index c8ccc670..b88bc2b2 100644 --- a/Project.toml +++ b/Project.toml @@ -21,7 +21,7 @@ FastBroadcast = "0.2" LinearAlgebra = "1.7" LinearSolve = "2" MuladdMacro = "0.2.1" -OrdinaryDiffEq = "6" +OrdinaryDiffEq = "6.59" Reexport = "1" SciMLBase = "2" SimpleUnPack = "1" From f97db5a6faf8aa9572da465bb428f82a7739de04 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 09:46:51 +0200 Subject: [PATCH 04/10] bump minimum version of LinearSolve for compat with SciMLBase --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index b88bc2b2..8798a1d6 100644 --- a/Project.toml +++ b/Project.toml @@ -19,7 +19,7 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" [compat] FastBroadcast = "0.2" LinearAlgebra = "1.7" -LinearSolve = "2" +LinearSolve = "2.7" MuladdMacro = "0.2.1" OrdinaryDiffEq = "6.59" Reexport = "1" From c157c8b8d895d31b5a1e153cccd7504fa584363d Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 09:48:08 +0200 Subject: [PATCH 05/10] Cancel redundant CI tests automatically --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5710757a..381337f5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -8,6 +8,11 @@ on: branches: - main +# Cancel redundant CI tests automatically +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ${{ matrix.os }} From 47a1df63f0982a330ca21e7afff27f94c84f5a80 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 09:52:45 +0200 Subject: [PATCH 06/10] bump version of FastBroadcast for ArrayInterface compat --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 8798a1d6..792aedb2 100644 --- a/Project.toml +++ b/Project.toml @@ -17,7 +17,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" [compat] -FastBroadcast = "0.2" +FastBroadcast = "0.2.5" LinearAlgebra = "1.7" LinearSolve = "2.7" MuladdMacro = "0.2.1" From 2d79d4a0b40618965e80556fa2d3f06c1ea067ff Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 09:58:33 +0200 Subject: [PATCH 07/10] adapt test compat settings --- test/Project.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Project.toml b/test/Project.toml index 34f0cfb5..7bff8878 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -10,7 +10,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] Aqua = "0.7, 0.8" -LinearSolve = "2" -OrdinaryDiffEq = "6" +LinearSolve = "2.7" +OrdinaryDiffEq = "6.59" StaticArrays = "1.5" Statistics = "1" From 5a40c928e5be816fc7a9d948ae5e9b5448e29ebb Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 12:18:06 +0200 Subject: [PATCH 08/10] bump compat for LinearSolve to include StaticArrays bugfixes --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index c2c89ee1..48a5c756 100644 --- a/Project.toml +++ b/Project.toml @@ -19,7 +19,7 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" [compat] FastBroadcast = "0.2.5, 0.3" LinearAlgebra = "1.7" -LinearSolve = "2.7" +LinearSolve = "2.20.1" MuladdMacro = "0.2.1" OrdinaryDiffEq = "6.59" Reexport = "1" From 2a4c0bce9de82aa87a8a6c503dade851c616874a Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 12:32:32 +0200 Subject: [PATCH 09/10] same for tests --- test/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Project.toml b/test/Project.toml index 7bff8878..c526229a 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -10,7 +10,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] Aqua = "0.7, 0.8" -LinearSolve = "2.7" +LinearSolve = "2.20.1" OrdinaryDiffEq = "6.59" StaticArrays = "1.5" Statistics = "1" From 4c1ccf3157a405c4d224401a0916c32d8e66a9f8 Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Tue, 9 Jul 2024 12:52:28 +0200 Subject: [PATCH 10/10] update LinearSolve again to fix StaticArray issues --- Project.toml | 2 +- test/Project.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 48a5c756..5bb53446 100644 --- a/Project.toml +++ b/Project.toml @@ -19,7 +19,7 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" [compat] FastBroadcast = "0.2.5, 0.3" LinearAlgebra = "1.7" -LinearSolve = "2.20.1" +LinearSolve = "2.21" MuladdMacro = "0.2.1" OrdinaryDiffEq = "6.59" Reexport = "1" diff --git a/test/Project.toml b/test/Project.toml index c526229a..47c99d38 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -10,7 +10,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] Aqua = "0.7, 0.8" -LinearSolve = "2.20.1" +LinearSolve = "2.21" OrdinaryDiffEq = "6.59" StaticArrays = "1.5" Statistics = "1"