From a85f02013011698b36c00c13de90ff1467e9684c Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Wed, 29 Oct 2025 08:56:30 +0100 Subject: [PATCH 1/2] chore: update JET & JLArrays compat, create workspaces --- .github/workflows/CompatHelper.yml | 15 +++++++++++---- DifferentiationInterface/Project.toml | 3 +++ DifferentiationInterface/test/Project.toml | 4 ++-- DifferentiationInterfaceTest/Project.toml | 14 +++++++++++--- 4 files changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index bd9a98157..1d7ef129f 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -20,13 +20,13 @@ jobs: version: '1' arch: ${{ runner.arch }} if: steps.julia_in_path.outcome != 'success' - - name: "Add the General registry via Git" + - name: 'Add the General registry via Git' run: | import Pkg ENV["JULIA_PKG_SERVER"] = "" Pkg.Registry.add("General") shell: julia --color=yes {0} - - name: "Install CompatHelper" + - name: 'Install CompatHelper' run: | import Pkg name = "CompatHelper" @@ -34,10 +34,17 @@ jobs: version = "3" Pkg.add(; name, uuid, version) shell: julia --color=yes {0} - - name: "Run CompatHelper" + - name: 'Run CompatHelper' run: | import CompatHelper - CompatHelper.main(subdirs=["DifferentiationInterface", "DifferentiationInterfaceTest"]) + CompatHelper.main(subdirs=[ + "DifferentiationInterface", + "DifferentiationInterface/test", + "DifferentiationInterface/docs", + "DifferentiationInterfaceTest", + "DifferentiationInterfaceTest/test", + "DifferentiationInterfaceTest/docs", + ]) shell: julia --color=yes {0} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/DifferentiationInterface/Project.toml b/DifferentiationInterface/Project.toml index 8336f7adf..27e0ad4b8 100644 --- a/DifferentiationInterface/Project.toml +++ b/DifferentiationInterface/Project.toml @@ -80,3 +80,6 @@ Symbolics = "5.27.1, 6" Tracker = "0.2.33" Zygote = "0.6.69, 0.7" julia = "1.10" + +[workspace] +projects = ["test", "docs"] diff --git a/DifferentiationInterface/test/Project.toml b/DifferentiationInterface/test/Project.toml index 20d7f55af..4120a7c81 100644 --- a/DifferentiationInterface/test/Project.toml +++ b/DifferentiationInterface/test/Project.toml @@ -25,8 +25,8 @@ DataFrames = "1.7.0" Dates = "1" ExplicitImports = "1.10.1" InteractiveUtils = "1" -JET = "0.9,0.10" -JLArrays = "0.2.0" +JET = "0.9,0.10,0.11" +JLArrays = "0.2,0.3" Pkg = "1" Random = "1" StableRNGs = "1.0.1" diff --git a/DifferentiationInterfaceTest/Project.toml b/DifferentiationInterfaceTest/Project.toml index f40e7d571..ba1a22aa1 100644 --- a/DifferentiationInterfaceTest/Project.toml +++ b/DifferentiationInterfaceTest/Project.toml @@ -35,7 +35,12 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" DifferentiationInterfaceTestComponentArraysExt = "ComponentArrays" DifferentiationInterfaceTestFluxExt = ["FiniteDifferences", "Flux", "Functors"] DifferentiationInterfaceTestJLArraysExt = "JLArrays" -DifferentiationInterfaceTestLuxExt = ["ComponentArrays", "ForwardDiff", "Lux", "LuxTestUtils"] +DifferentiationInterfaceTestLuxExt = [ + "ComponentArrays", + "ForwardDiff", + "Lux", + "LuxTestUtils", +] DifferentiationInterfaceTestStaticArraysExt = "StaticArrays" [compat] @@ -50,8 +55,8 @@ FiniteDifferences = "0.12" Flux = "0.16" ForwardDiff = "0.10.36,1" Functors = "0.4, 0.5" -JET = "0.9,0.10" -JLArrays = "0.1, 0.2" +JET = "0.9,0.10,0.11" +JLArrays = "0.1,0.2,0.3" LinearAlgebra = "1" Lux = "1.1.0" LuxTestUtils = "1.3.1, 2" @@ -64,3 +69,6 @@ Statistics = "1" Test = "1" Zygote = "0.6, 0.7" julia = "1.10" + +[workspace] +projects = ["test", "docs"] From d588c923cbf9078563d35c576de6d9be28687921 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Wed, 29 Oct 2025 09:09:44 +0100 Subject: [PATCH 2/2] Remove workspaces for now --- DifferentiationInterface/Project.toml | 3 --- DifferentiationInterfaceTest/Project.toml | 3 --- 2 files changed, 6 deletions(-) diff --git a/DifferentiationInterface/Project.toml b/DifferentiationInterface/Project.toml index 27e0ad4b8..8336f7adf 100644 --- a/DifferentiationInterface/Project.toml +++ b/DifferentiationInterface/Project.toml @@ -80,6 +80,3 @@ Symbolics = "5.27.1, 6" Tracker = "0.2.33" Zygote = "0.6.69, 0.7" julia = "1.10" - -[workspace] -projects = ["test", "docs"] diff --git a/DifferentiationInterfaceTest/Project.toml b/DifferentiationInterfaceTest/Project.toml index ba1a22aa1..92cce4174 100644 --- a/DifferentiationInterfaceTest/Project.toml +++ b/DifferentiationInterfaceTest/Project.toml @@ -69,6 +69,3 @@ Statistics = "1" Test = "1" Zygote = "0.6, 0.7" julia = "1.10" - -[workspace] -projects = ["test", "docs"]