Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

PkgEval failure: MatrixDepot SuiteSparse downloads error out

Aperta Adatta ai principianti
#356 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
julia
Ambito
testing

Direzione di ricerca

Inizia in test/suitesparse.jl nei tre punti di chiamata indicati nel report (righe 40, 106 e 136), dove matrixdepot(...) viene recuperato prima delle asserzioni. Avvolgi quei recuperi in modo che un MatrixDepot.DataError diventi un @test_skip (oppure salta la suite quando ENV["PKGEVAL"] è true) e rilancia qualsiasi altra cosa, poi esegui la suite con julia --project=test test/suitesparse.jl. Fatto significa che i 35 test in errore diventano skip mentre il resto continua a passare; la separazione opzionale per progetto GPU è lavoro separato.

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

SparseMatrixColorings v0.4.29 fails PkgEval on Julia 1.15.0-DEV. PkgEval labels it precompile, but there are two issues:

1. The real test errors: MatrixDepot downloads. There are 35 errored tests, all in test/suitesparse.jl (lines 40, 106 and 136). MatrixDepot can't find the SuiteSparse matrices in the PkgEval sandbox:

lp_cre_a: Error During Test at test/suitesparse.jl:40
  Got exception outside of a @test
  MatrixDepot.DataError("no matrix according to LPnetlib/lp_cre_a found")
Some tests did not pass: 63265 passed, 0 failed, 35 errored, 2 broken.

2. The precompile label: GPU test deps. CUDA/AMDGPU in the test environment pull in GPUCompiler, which fails to precompile on Julia 1.15 (LLVM 23) because LLVM.jl has no LLVMExtra_jll build yet (UndefVarError: libLLVMExtra not defined in LLVM.API). This is upstream and harmless as long as the GPU tests are skipped, but it makes PkgEval report the wrong failure reason.

Suggested fixes

  1. Make the SuiteSparse tests robust to unavailable data. For example, wrap matrixdepot(...) in try ... catch e; e isa MatrixDepot.DataError || rethrow(); @test_skip ...; continue; end, or skip suitesparse.jl when the download fails (or under PkgEval, get(ENV, "PKGEVAL", "false") == "true").
  2. Optionally, only add CUDA/AMDGPU to the test environment in the GPU CI jobs (for example, a separate test/gpu project activated on demand) so that CPU-only runs don't depend on LLVM.jl.
Lingua principale
Julia
Stelle
46
Fork
14
Merge medio
2g 11h
PR unite (30g)
11

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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/SparseMatrixColorings.jl

Tutte le issue di JuliaDiff/SparseMatrixColorings.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.