PkgEval failure on Julia 1.15: unreleased JET compat in DIT and hard AllocCheck dependency

Aperta
#1,083 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
julia
Ambito
backend, testing

Direzione di ricerca

Start with DifferentiationInterfaceTest/Project.toml and inspect its registered JET compatibility alongside the compatibility already on main; check DI's test compatibility too. Then read DifferentiationInterfaceTest's dependency and extension setup for AllocCheck, using the existing JET extension as a reference. Done means the released compatibility resolves on Julia 1.15 and DIT can load when AllocCheck's GPUCompiler and LLVM dependency fails to precompile; verify with PkgEval or equivalent Julia 1.15 checks.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

[!NOTE]
This issue was generated by a coding agent on behalf of @gdalle.

Problem

DifferentiationInterface and DifferentiationInterfaceTest both fail PkgEval on Julia 1.15.0-DEV (daily run of 2026-10-26). There are two separate causes.

1. JET compat (DI tests: unknown, DIT: also hit). Julia 1.15.0-DEV.140 requires JET ≥ 0.12, but the registered DifferentiationInterfaceTest v0.11.0 restricts JET to ≤ 0.11.6, so the DI test environment can't be resolved:

Conflict 1: DifferentiationInterfaceTest, JET and julia
  • DifferentiationInterfaceTest constrains JET to ≤0.11.6
  • JET ≤0.11.6 allows no version of julia

main already allows JET = "0.9,0.10,0.11,0.12" in DifferentiationInterfaceTest/Project.toml, but its version is still 0.11.0, so this was never released.

2. AllocCheck → GPUCompiler → LLVM.jl (DIT: precompile). DIT has AllocCheck as a hard dependency. On Julia 1.15 (LLVM 23), LLVM.jl has no LLVMExtra_jll build, so GPUCompiler fails to precompile and DIT is skipped:

Error: LLVM extensions library unavailable for your platform:
  x86_64-linux-gnu-libgfortran5-cxx11-julia_version+1.15.0-llvm_version+23.asserts
ERROR: LoadError: UndefVarError: `libLLVMExtra` not defined in `LLVM.API`
  ✗ GPUCompiler
  ✗ DifferentiationInterfaceTest (skipped, GPUCompiler failed to precompile)

Suggested fixes

  1. Release DIT v0.11.1 with JET = "0.9, 0.10, 0.11, 0.12, 0.13" (JET 0.13.1 is the latest). Bump DI's test compat on DIT if needed. This should fix DI's PkgEval run.
  2. Move AllocCheck from [deps] to [weakdeps] with a DifferentiationInterfaceTestAllocCheckExt extension (like the JET extension), so that DIT can still load when GPUCompiler/LLVM.jl is broken on a new Julia. Otherwise, wait for an upstream LLVMExtra_jll build for LLVM 23.
Lingua principale
Julia
Stelle
316
Fork
38
Merge medio
2g 15h
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di JuliaDiff/DifferentiationInterface.jl

Tutte le issue di JuliaDiff/DifferentiationInterface.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.