SciML / SciML/LineSearch.jl

Tests fail on Julia 1.13-alpha due to ReTestItems incompatibility

Open
#47 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
5
Forks
7
Avg merge
1h 51m
Merged PRs (30d)
12

Description

Description

Tests fail on Julia 1.13-alpha (pre) due to an incompatibility in ReTestItems.jl with Julia 1.13's changes to ScopedValues.

Error

ERROR: LoadError: MethodError: no method matching setindex!(::Base.ScopedValues.ScopedValue{Bool}, ::Bool)

Full stack trace from CI:

MethodError: no method matching setindex!(::Base.ScopedValues.ScopedValue{Bool}, ::Bool)
  [6] runtests(shouldrun::Returns{Bool}, paths::String; ...)
     @ ReTestItems ~/.julia/packages/ReTestItems/5fo5Q/src/ReTestItems.jl:347
caused by: TaskFailedException
    nested task error: MethodError: no method matching setindex!(::Base.ScopedValues.ScopedValue{Bool}, ::Bool)

Workaround

Tests on Julia pre have been temporarily skipped in the CI workflow (PR #46).

Upstream Issue

This should be reported/tracked upstream at https://github.com/JuliaTesting/ReTestItems.jl

The issue is that Julia 1.13 changed the ScopedValues API, and ReTestItems.jl needs to be updated for compatibility.

Environment

  • Julia version: 1.13.0-alpha2
  • ReTestItems version: (from CI cache)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the CI workflow and PR #46 to understand how Julia pre tests were skipped. Then inspect the ReTestItems.jl failure around src/ReTestItems.jl:347 and the linked upstream project’s compatibility work. Done means the Julia 1.13-alpha test failure is resolved and the temporary CI skip can be reconsidered.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.