From d138cd60fd8005fe65dc519240df5b65206fe6f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 07:30:46 +0000 Subject: [PATCH 1/3] Update JET requirement Updates the requirements on [JET](https://github.com/aviatesk/JET.jl) to permit the latest version. Updates `JET` to 0.12.2 - [Release notes](https://github.com/aviatesk/JET.jl/releases) - [Changelog](https://github.com/aviatesk/JET.jl/blob/master/CHANGELOG.md) - [Commits](https://github.com/aviatesk/JET.jl/commits/v0.12.2) --- updated-dependencies: - dependency-name: JET dependency-version: 0.12.2 dependency-type: direct:production dependency-group: all-julia-packages ... Signed-off-by: dependabot[bot] --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index b20e83f0..75cd2375 100644 --- a/Project.toml +++ b/Project.toml @@ -12,7 +12,7 @@ WignerSymbols = "9f57e263-0b3d-5e2e-b1be-24f2bb48858b" [compat] Aqua = "0.8" HalfIntegers = "1" -JET = "0.9, 0.10, 0.11" +JET = "0.9, 0.10, 0.11, 0.12" julia = "1.10" LinearAlgebra = "1" Random = "1" From a5523d42f9ce5a38102c6c958d682c336e310b02 Mon Sep 17 00:00:00 2001 From: lkdvos Date: Thu, 1 Oct 2026 14:15:42 -0400 Subject: [PATCH 2/3] Use `target_modules` and `JET_AVAILABLE` in JET tests `target_defined_modules` was removed in JET v0.12. `target_modules` is supported across all JET versions in compat, and `JET_AVAILABLE` (v0.12+) skips the checks when JET only loads stubs on unsupported Julia versions. Co-Authored-By: Claude Opus 5.5 --- test/runtests.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 0f50aded..f4f0022a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -376,5 +376,8 @@ end @testset "JET" begin using JET: JET - JET.test_package(TensorKitSectors; target_defined_modules = true) + # JET v0.12 loads empty stubs on unsupported (future) Julia versions + if !isdefined(JET, :JET_AVAILABLE) || JET.JET_AVAILABLE + JET.test_package(TensorKitSectors; target_modules = (TensorKitSectors,)) + end end From ad1d92b5dfc6baf52a2331672ac4ac41794107fc Mon Sep 17 00:00:00 2001 From: lkdvos Date: Thu, 1 Oct 2026 14:15:42 -0400 Subject: [PATCH 3/3] Only force latest compatible versions on newest Julia in CI Dependabot/CompatHelper PRs otherwise fail on LTS whenever the newest compat range of a dependency no longer supports it (e.g. JET 0.12 on Julia 1.10). Matches QuantumKitHubActions/TestGroups.yml. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 56035a9c..d3f2cd5f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -36,6 +36,11 @@ jobs: - uses: julia-actions/cache@v3 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 + with: + # `auto` resolves to `true` on Dependabot/CompatHelper PRs, which is unsatisfiable on + # older Julia versions once a dependency's newest range drops support for them, + # so only apply it on the newest Julia (matching QuantumKitHubActions/TestGroups.yml). + force_latest_compatible_version: ${{ matrix.version == '1' && 'auto' || 'false' }} - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v7 with: