From cd3cce82565a7a292881cd70c4ac4a0945c4b8c9 Mon Sep 17 00:00:00 2001 From: Penelope Yong Date: Wed, 6 Nov 2024 11:17:47 +0000 Subject: [PATCH] Bump Julia compat entry to 1.10 (#342) * Bump minimum Julia version to 1.10 * Use 'min' in CI * Bump versions of GHA (julia-actions needs to be v2 for 'min') * Update Project.toml --------- Co-authored-by: Hong Ge <3279477+yebai@users.noreply.github.com> --- .github/workflows/AD.yml | 13 +++---------- .github/workflows/Interface.yml | 6 +++--- Project.toml | 4 ++-- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/AD.yml b/.github/workflows/AD.yml index 7d0aa4ae..7c894ed5 100644 --- a/.github/workflows/AD.yml +++ b/.github/workflows/AD.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: version: - - '1.6' + - 'min' - '1' os: - ubuntu-latest @@ -27,16 +27,9 @@ jobs: - Tracker - ReverseDiff - Zygote - exclude: - - version: 1.6 - AD: Mooncake - # TODO(mhauru) Hopefully can enable Enzyme on older versions at some point, see - # discussion in https://github.com/TuringLang/Bijectors.jl/pull. - - version: 1.6 - AD: Enzyme steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} diff --git a/.github/workflows/Interface.yml b/.github/workflows/Interface.yml index b305124e..7ca65e56 100644 --- a/.github/workflows/Interface.yml +++ b/.github/workflows/Interface.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: version: - - '1.6' + - 'min' - '1' os: - ubuntu-latest @@ -22,8 +22,8 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} diff --git a/Project.toml b/Project.toml index be4abc12..ba562751 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Bijectors" uuid = "76274a88-744f-5084-9051-94815aaf08c4" -version = "0.14.1" +version = "0.15" [deps] ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197" @@ -69,7 +69,7 @@ Statistics = "1" Mooncake = "0.4.19" Tracker = "0.2" Zygote = "0.6.63" -julia = "1.6" +julia = "1.10" [extras] DistributionsAD = "ced4e74d-a319-5a8a-b0ac-84af2272839c"