From 98f10907bc883c922b686175fccc11e4e0ae55f1 Mon Sep 17 00:00:00 2001 From: Jesse Chan <1156048+jlchan@users.noreply.github.com> Date: Thu, 5 Sep 2024 19:29:23 -0500 Subject: [PATCH] Add Downgrade.yml and relax Julia compat to v1.7 (#183) * relax compat on Julia * relax compat further * add Downgrade.yml * fix master -> main * bump Julia compat to 1.9 for stdlib * revert Julia compat, bump SparseArrays compat * bump RecursiveArrayTools compat * bump * bump triangulate compat * again * bump triangulate compat again (0.8 does not exist) * test bump RecursiveArrayTools to 3 * test one more RecurArrTools * bump Triangulate compat * try adding DocStringExtensions as an explicit dep * Revert "try adding DocStringExtensions as an explicit dep" This reverts commit 4d2f8ef4e7277bb616589670ea8313f13f8b1e2a. * remove Triangulate v1 * bump lower Triangulate boudn * bump lower Plots compat * bump lower Plots compat * bump HDF5 compat * Revert "bump HDF5 compat" This reverts commit 8efb3cde9e65e3ab81b1ff00b6e9ffbd2cb367e8. * try bumping patch versions of HDF5, RecipesBase, Setfield, StaticArrays * bump ConstructionBase compat * bump WriteVTK compat * bump SBP ops * revert HDF5 compat bump * Revert "revert HDF5 compat bump" This reverts commit f6e0940bdf38c9ab3abc24b64a46c8a92fbb63d4. * revert ConstructionBase compat bump * further bump of ConstructionBase compat * Revert "further bump of ConstructionBase compat" This reverts commit 38fe1b7fd9c1336d4472d1cac39bdd1bfdd104df. * Downgrade Plots compat * Revert "Downgrade Plots compat" This reverts commit 59e98415463c493a5a9fc43eb8cb8ac50d20b338. * downgrade Plots to 1.10 * downgrade plots to 1.1 * keep Plots 1.10 for Reexport compat * downgrade RecipesBase compat * downgrade RecipesBase to 1 * downgrade RecursiveArrayTools to 2, 3 * bump RecursiveArrayTools lower compat to 2.8 * bump RecursiveArrayTools lower compat to 2.11 * bump RecurArrTools lower compat to 2.30 * restore lower RecurArrTool compat to 2.38 * downgrade Setfield lower compat to 1 * downgrade SparseArrays lower compat to 1 * Revert "downgrade SparseArrays lower compat to 1" This reverts commit a484c6bb2af9a9d9e31ba4c107999c119c14b44a. * downgrade StaticArrays lower compat 1.9 -> 1.5 * downgrade StaticArrays lower compat 1.5 -> 1 * bump StaticArrays compat 1.5 -> 1 -> 1.2 * bump StaticArrays lower compat to 1.3 * bump StaticArrays lower compat to 1.4 * bump StaticArrays lower compat to 1.5 again * downgrade SBPOps lower compat to 0.5.20 * bump SBPOps compat * downgrade SBPOps compat * bump SBPops compat to 0.5.28 * bump SBPOpsCompat to 0.5.29 * downgrade Triangulate lower compat to 2 * bump Triangulate lower compat to 2.1 * Revert "downgrade Triangulate lower compat to 2" This reverts commit 40fc0e776f231019d6553ca6c30984077bdd682e. * downgrade WriteVTK lower bound to 1.10 * bump WriteVTK lower compat bound to 1.14.1 FillArrays compatibility --- .github/workflows/Downgrade.yml | 29 +++++++++++++++++++++++++++++ Project.toml | 20 ++++++++++---------- 2 files changed, 39 insertions(+), 10 deletions(-) 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..372644a0 --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -0,0 +1,29 @@ +name: Downgrade +on: + pull_request: + branches: + - main + paths-ignore: + - 'docs/**' + push: + branches: + - main + paths-ignore: + - 'docs/**' +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + version: ['1'] + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + - uses: cjdoris/julia-downgrade-compat-action@v1 +# if: ${{ matrix.version == '1.6' }} + with: + skip: Pkg,TOML + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 \ No newline at end of file diff --git a/Project.toml b/Project.toml index c9a0e967..a2907c3e 100644 --- a/Project.toml +++ b/Project.toml @@ -30,20 +30,20 @@ StartUpDGSummationByPartsOperatorsExt = "SummationByPartsOperators" TriangulatePlotsExt = "Plots" [compat] -ConstructionBase = "1" +ConstructionBase = "1.1" FillArrays = "0.13, 1" -HDF5 = "0.16, 0.17" +HDF5 = "0.17" Kronecker = "0.5" NodesAndModes = "1" PathIntersections = "0.1, 0.2" -Plots = "1" +Plots = "1.10" RecipesBase = "1" -RecursiveArrayTools = "2, 3" +RecursiveArrayTools = "2.38, 3" Reexport = "1" Setfield = "1" -SparseArrays = "1" -StaticArrays = "1" -SummationByPartsOperators = "0.5" -Triangulate = "2" -WriteVTK = "1" -julia = "1.10" +SparseArrays = "1.10" +StaticArrays = "1.5" +SummationByPartsOperators = "0.5.29" +Triangulate = "2.2" +WriteVTK = "1.14.1" +julia = "1.7"